emacs-devel
[Top][All Lists]
Advanced

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

Re: Indentation of constants in LISP


From: Richard Stallman
Subject: Re: Indentation of constants in LISP
Date: Wed, 21 Feb 2007 03:38:33 -0500

    First of all look at the code of Emacs. Where, in all thousands of lines of 
Emacs, do you find a code as you do critique here:

    (prog2
        a
     :b
     c

It is not unreasonable to write a keyword symbol
as the second argument to prog2.  That case should be handled properly.

The way to handle this case properly, and many others too,
is that the special rules for indenting the first two
arguments of prog2 should take precedence over this feature for
keyword symbols.

In fact, it might be ideal if this feature for indenting keywords
applies only when indenting a list whose car is not recognized
as a known function at all.




reply via email to

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