emacs-devel
[Top][All Lists]
Advanced

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

default values for lisp-*-loop-indentation variables


From: Tobias C. Rittweiler
Subject: default values for lisp-*-loop-indentation variables
Date: Thu, 29 Oct 2009 10:42:22 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

The default values for `lisp-simple-loop-indentation',
`lisp-loop-keyword-indentation', and `lisp-loop-forms-indentation' seem
to be selected for the case that you want to indent loop forms like

  (loop
     for x from ...
     for y from ...
     do ..body..)

But my impression from reading (Common) Lisp code in the wild is that
most people actually do not want to place an extra newline after the
LOOP symbol, and prefer to write

  (loop for x from ...
        for y from ...
        do ..body..)

With current values, not inserting a newline after the LOOP symbol
results in

  (loop for x from ...
     for y from ...
     do ..body..)

hich isn't pretty at all.

What are the chances to change to default values to the following?

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

  -T.





reply via email to

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