emacs-devel
[Top][All Lists]
Advanced

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

Re: cl-functions do not honor common-lisp-indent-function


From: Helmut Eller
Subject: Re: cl-functions do not honor common-lisp-indent-function
Date: Wed, 26 Dec 2012 09:44:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On Wed, Dec 26 2012, Thierry Volpiatto wrote:

> Stefan Monnier <address@hidden> writes:
>
>> No, but it's not a surprise either, since `cl-flet' is not defined in
>> common-lisp ;-).
> The prefix 'cl-' mean common lisp no ? ;-) 
> so the cl-* family should be added to cl-indent.el, isn't it ?

No, because common-lisp-indent-function is for programs written in
actual Common Lisp.  For Emacs Lisp -- and those cl-* symbols are just
Emacs Lisp -- use the normal lisp-indent-function and if you whish to
add rules for cl-lib add it to lisp-indent-function.

Those cl-* symbols have no (predefined) meaning for Common Lisp so
shouldn't be in cl-indent.el; for the same reason there shouldn't be
rules for save-excursion or condition-case.

Helmut




reply via email to

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