June 14th, 2016

beartato phd

(no subject)

The way per-language auto-indentation works in emacs is really no small amount of black magic, apparently. Either you're lucky and you have a C-like language and you can sorta reuse c-mode, or else you write it all yourself (I think julialang did this from what I can tell) or else you use SMIE, which can do a lot for you, but it feels like giving well-intentioned vague suggestions to a feral indentation-djinn.