[slime-devel] Daily ChangeLog diff

Helmut Eller heller at common-lisp.net
Thu Oct 29 09:21:13 UTC 2009


* Tobias C. Rittweiler [2009-10-29 10:17+0100] writes:

> Regarding indentation, I long wanted to make slime-setup set the
> lisp-*-loop-indentation variables to saner default values.
>
> The default values that Emacs ships with are made for inserting a
> newline after the LOOP symbol, i.e.
>
>   (loop
>     for x from ...
>     for y from ...)
>
> Reading code, most people (including me) are more fond of beginning the
> first loop clause following the LOOP symbol, i.e.
>
>   (loop for x from ...
>         for y from ...)
>
> To get that indentation, one have to use
>
>   (setq lisp-simple-loop-indentation 2
>         lisp-loop-keyword-indentation 6
>         lisp-loop-forms-indentation 6)
>
> How controversial is it to make that the default values for slime-mode?

It would be better to discuss this with the maintainers of lisp-mode.
Slime isn't the place to fix lisp-mode.

Helmut





More information about the slime-devel mailing list