emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect indentation after :name


From: Paul Pogonyshev
Subject: Re: Incorrect indentation after :name
Date: Tue, 5 Jul 2005 19:09:06 +0300
User-agent: KMail/1.4.3

Drew Adams wrote:
>     I do check for a quote.  The check for `fboundp' is to try and
>     "correctly" indent things like
>            '(with-current-buffer buf
>               (do-something))
>     which occur sometimes in macros.
>
> I would rather have it treat lists as lists, regardless of whether the
> lists might represent programs (e.g. even in macros and arg to eval). So,
> to me, dumb checking for a quote or backquote would be good. IOW, I like
> the behavior given by Juanma's hook code using common-lisp-indent-function.
> But I can imagine people might feel differently about this.

I too think a dumb check is better.  Not because I like functions being
indented like lists, but because, as RMS noted, `fboundp' would give
inconsistent results depending on whether a function has been evaluated
or not.

Paul





reply via email to

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