emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#16829: closed (24.3.50; define-compiler-macro poor


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#16829: closed (24.3.50; define-compiler-macro poorly indented)
Date: Fri, 21 Feb 2014 17:44:02 +0000

Your message dated Fri, 21 Feb 2014 12:43:02 -0500
with message-id <address@hidden>
and subject line Re: bug#16829: 24.3.50; define-compiler-macro poorly indented
has caused the debbugs.gnu.org bug report #16829,
regarding 24.3.50; define-compiler-macro poorly indented
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
16829: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16829
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; define-compiler-macro poorly indented Date: Fri, 21 Feb 2014 11:54:15 +0100
cl-define-compiler-macro is missing indentation specs and therefore
looks so:

(cl-define-compiler-macro foo (&whole x)
                          x)



--- End Message ---
--- Begin Message --- Subject: Re: bug#16829: 24.3.50; define-compiler-macro poorly indented Date: Fri, 21 Feb 2014 12:43:02 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
> cl-define-compiler-macro is missing indentation specs and therefore
> looks so:
> (cl-define-compiler-macro foo (&whole x)
>                         x)

Indeed.  I just installed a patch in trunk which should fix it.
This said, it's probably best not to use cl-define-compiler-macro.
Instead you can use

  (defun my-foo (arg1 toto)
    (declare (compiler-macro (lambda (form) (if arg1 form toto))))
    (my-foo-code))


-- Stefan


--- End Message ---

reply via email to

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