[slime-devel] indentation of LOOP

If there's not a major outcry, I'll make `slime-setup' do the following (setq lisp-simple-loop-indentation 1 lisp-loop-keyword-indentation 6 lisp-loop-forms-indentation 6) so LOOP gets indented like (loop for x ... for y ... collect (cons x y)) instead of (loop for x ... for y ... collect (cons x y)) -T.

"Tobias C. Rittweiler" <tcr@freebits.de> writes:
If there's not a major outcry, I'll make `slime-setup' do the following
(setq lisp-simple-loop-indentation 1 lisp-loop-keyword-indentation 6 lisp-loop-forms-indentation 6)
That sounds good, I've had that in my .emacs for a long time. Recently, though, I started using the slime-indentation contrib which handles both LOOP styles gracefully: (loop for x ... do y ...) and (loop for x ... do y ...) -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/

* Tobias C. Rittweiler [2009-01-01 13:44+0100] writes:
If there's not a major outcry, I'll make `slime-setup' do the following
(setq lisp-simple-loop-indentation 1 lisp-loop-keyword-indentation 6 lisp-loop-forms-indentation 6)
It would be good to report this as Emacs bug. Helmut.

On Fri, 02 Jan 2009, Helmut Eller <heller@common-lisp.net> writes:
If there's not a major outcry, I'll make `slime-setup' do the following
(setq lisp-simple-loop-indentation 1 lisp-loop-keyword-indentation 6 lisp-loop-forms-indentation 6)
It would be good to report this as Emacs bug.
Actually, I would submit whole `loop' related parts of contrib/slime-indentation.el file as bug report. (Or whole contrib/slime-indentation.el as is?) Regards.
participants (4)
-
Helmut Eller
-
Luis Oliveira
-
Tobias C. Rittweiler
-
Volkan YAZICI