[Top][All Lists]
[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 17:54:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
On Wed, Dec 26 2012, Thierry Volpiatto wrote:
>> When I'm programming Emacs Lisp I use emacs-lisp-mode and I assume that
>> the default indentation function, i.e. lisp-indentation-function, will
>> handle all relevant macros.
> It is not handling all these macros/functions, so what do we do ?
Improve lisp-indentation-function.
>> I fail to see why using common-lisp-indent-function in emacs-lisp-mode
>> is such a bright idea.
>
> Because emacs-lisp-mode we may use common-lisp style functions (flet,
> labels etc...).
> So when you indent e.g a flet clause with emacs-lisp style it is indented
> badly.
But common-lisp-indent-function will indent "if" like:
(if x
a
b)
while the Emacs Lisp convention is:
(if x
a
b)
Helmut
- cl-functions do not honor common-lisp-indent-function, Thierry Volpiatto, 2012/12/24
- Re: cl-functions do not honor common-lisp-indent-function, Stefan Monnier, 2012/12/24
- Re: cl-functions do not honor common-lisp-indent-function, Thierry Volpiatto, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Helmut Eller, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Stephen J. Turnbull, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Helmut Eller, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Stephen J. Turnbull, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Helmut Eller, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Thierry Volpiatto, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function,
Helmut Eller <=
- Re: cl-functions do not honor common-lisp-indent-function, Thierry Volpiatto, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Stephen J. Turnbull, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Helmut Eller, 2012/12/27
- Re: cl-functions do not honor common-lisp-indent-function, Thierry Volpiatto, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Helmut Eller, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Didier Verna, 2012/12/27
- Re: cl-functions do not honor common-lisp-indent-function, Stefan Monnier, 2012/12/29