[slime-devel] Re: question on auto-indenting

Luke Gorrie luke at bluetail.com
Fri Jul 30 03:47:13 UTC 2004


rif <rif at MIT.EDU> writes:

> I'm having trouble with auto-indenting in the slime-1.0alpha tarball
> release.  For instance, I have a macro fixfor, which takes an &body
> argument, and I'd want this to be indented just 2 spaces.

What's your `lisp-indent-function' variable set to in Lisp buffers?

You might need this in your lisp-mode-hook:

  (set (make-local-variable 'lisp-indent-function)
       'common-lisp-indent-function)

In the CVS version of SLIME you can call (slime-setup) to configure
lisp-mode-hook to enable slime, cl indentation, and (optionally) slime
autodoc mode.






More information about the slime-devel mailing list