[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: |
Thierry Volpiatto |
Subject: |
Re: cl-functions do not honor common-lisp-indent-function |
Date: |
Wed, 26 Dec 2012 08:57:46 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> Hi, some cl-functions are not indented correctly when
>> `lisp-indent-function' is set to `common-lisp-indent-function'
>
>> --8<---------------cut here---------------start------------->8---
>> (setq lisp-indent-function 'common-lisp-indent-function)
>
>> (defun foo ()
>> (cl-flet ((test ()
>> (ignore)))
>> (test)))
>
>> (defun foo ()
>> (flet ((test ()
>> (ignore)))
>> (test)))
>> --8<---------------cut here---------------end--------------->8---
>
>> is this wanted?
>
> 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 ?
(let ((l '((cl-flet . flet)
(cl-labels . flet)
(cl-macrolet . flet)
etc...etc...)))
(dolist (el l)
[...]
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- 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 <=
- 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, 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, Stephen J. Turnbull, 2012/12/26
- Re: cl-functions do not honor common-lisp-indent-function, Helmut Eller, 2012/12/27