Re: Indentation of constants in LISP

From:

Stuart D. Herring

Subject:

Re: Indentation of constants in LISP

Date:

Tue, 20 Feb 2007 10:04:46 -0800 (PST)

User-agent:

SquirrelMail/1.4.8-2.el3.7lanl

> This is not a problem at all, because in this case this old situation is
> also a problem:
>
> (prog2
> x
> y
> z)
How is this a problem? `prog2' is supposed to indent its first two
arguments specially:
Symbol prog2's plist is
(lisp-indent-function 2)
>> (foo :a b :c d
>> :e f)
>
> This is OK.
Er, what? Just because two constant-value pairs fit on one line, I don't
follow that we should align everything that follows to the latter.
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.