emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] Indentation of LOOP


From: Tobias C. Rittweiler
Subject: [BUG] Indentation of LOOP
Date: Fri, 02 Jan 2009 17:09:02 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

By default LOOP is indented as follows

  (loop for x in '(a b c)
     for y in '(1 2 3)
     collect (cons x y))

Setting the following

  (setq lisp-simple-loop-indentation 1
        lisp-loop-keyword-indentation 6
        lisp-loop-forms-indentation 6)

makes it be indented like

  (loop for x in '(a b c)
        for y in '(1 2 3)
        collect (cons x y))

which I think is more readable, and more canonical.

I hence propose to change the default values of the above variables
accordingly.

This affects both Elisp as well as Common Lisp code.

  -T.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]