[slime-devel] Indenting macro bodies

Arthur Lemmens alemmens at xs4all.nl
Wed Oct 6 07:35:56 UTC 2004


Hi,

I'm a happy new user of SLIME (using it with ACL 7.0 beta), but
I have one question.

After defining and compiling macro with a &body parameter, like

(defmacro test ((x) &body body)
  `(progn (list ,x) , at body))

I would like all use of such a macro to be indented as follows:

(test (1)
  (do 'a)
  (do 'b))

but SLIME does it this way:

(test (1)
      (do 'a)
      (do 'b))

Is there some way to get the indentation I want? It would be even
better if this would also work for macros that weren't defined by
me but that I just loaded into the system.

A better indentation for the bodies of flet and labels-functions
would also be nice, by the way.

Thanks,

Arthur






More information about the slime-devel mailing list