Jason (jcreed) wrote,
Jason
jcreed

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.
Tags: emacs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 3 comments