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: Stephen J. Turnbull
Subject: Re: cl-functions do not honor common-lisp-indent-function
Date: Wed, 26 Dec 2012 18:10:28 +0900

Helmut Eller writes:

 > 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.

That is irrelevant.  If the user thinks of these symbols as equivalent
to "real" Common Lisp standard symbols, then the user has every right
to ask Emacs to treat them as Common Lisp symbols.  That user should
not need to know precisely how that is done, or implement it herself.

In fact, I would argue that the implementer of the "cl-foo is just
like Common Lisp foo" feature probably shouldn't need to know, either.
Instead these should be a minor mode which, when enabled,
automagically looks up every cl-* symbol without the prefix for the
purposes of source code formatting (including syntax highlighting).

I have no idea how to implement that, of course.<wink/>  And I do
agree that purists shouldn't have to put up with that, so it needs to
be modal.




reply via email to

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