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

  • (no subject)

    Played some board games at the fb office with newly-arrived-to-nyc dan blandford and some friends-of-friends of his. Codenames and…

  • (no subject)

    This morning I suddenly had a memory of a game I used to play in the mid-late 90s over email. In it you "designed" animals by giving them, like, 4…

  • (no subject)

    Played some more Shenzhen I/O. The later puzzles are getting straight up hard. Had some fun optimizing the earlier ones, though.

  • 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