» AUTO-INDENTATION WITH SMIE «
votes: 17
Writing auto-indentation code in Emacs has always been a black art. With Emacs-23.4 came a new package smie.el which attempts to make it easier and more structured by splitting the work into writing a lexer, a parser, and some indentation rules. I would present the motivation behind the design, the benefits and limits, as well as some examples of how to make use of it in your own major mode.
Vote up |
Vote down |
Home
dotemacs: This sounds great!
Vedang: yes, please!
Stephen Leake: I won't be there, but you could mention that ada-mode 5.0 is using SMIE successfully; http://stephe-leake.org/emacs/ada-mode/emacs-ada-mode.html It might even be released by March.
xfq: Great!
Contribute with your opinion: by signing in or signing up