[slime-devel] Automatic "semantic" indentation

Luke Gorrie luke at bluetail.com
Mon Apr 5 06:21:26 UTC 2004


Ahoy,

I added a hopefully nice feature: Lisp teaches Emacs how to indent
macros. I found a way to do it without hacking Emacs's indentation
code at all.

>From now on when you have a macro like:

  (defmacro foo (a b &body body)
    ...)

anywhere in your Lisp image, Emacs should know to indent calls as:

  (foo ((x y))
       (bar)
    (baz)
    (beer))

i.e. it groks &body.

Details and caveats are in the manual (and I put fresh versions in my
~/misc/lisp web directory). Feedback / tweak-suggestions appreciated.

-Luke






More information about the slime-devel mailing list