From: Lute Kamstra <Lute.Kamstra.lists@xs4all.nl>
Cc: emacs-devel@gnu.org
Subject: Re: Lisp indentation.
Date: Sun, 13 Mar 2005 17:29:26 +0100 [thread overview]
Message-ID: <87ll8rwluh.fsf@xs4all.nl> (raw)
In-Reply-To: <87fyyzbqrd.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 13 Mar 2005 08:51:58 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> However, if (declare (indent ...)) is used to specify indentation,
>> then the macro is defined during startup, but its
>> lisp-indent-property will not be set.
>
> Huh? That's not the behavior I see.
[...]
>> This should probably be fixed somehow, or else documented.
>
> It'd be a blatant bug that needs urgent fixing. Can you show us
> some recipe that demonstrates the problem?
I tried it with eval-when-compile in byte-run.el. With current CVS
and "emacs -Q", I see:
(symbol-plist 'eval-when-compile)
=> (lisp-indent-function 0)
(symbol-function 'eval-when-compile)
=> (macro . #[(&rest body) "\301\bB\207" [body progn] 2 600648])
(load (symbol-file 'eval-when-compile))
(symbol-plist 'eval-when-compile)
=> (lisp-indent-function 0 edebug-form-spec t)
(symbol-function 'eval-when-compile)
=> (macro . #[(&rest body) "\301\bB\207" [body progn] 2
("/soft/careful/emacs/lisp/emacs-lisp/byte-run.elc" . 3048)])
However, when I remove the (put 'eval-when-compile
'lisp-indent-function 0) and use (declare (debug t) (indent 0))
instead, do a make bootstrap, and then use "emacs -Q", I see:
(symbol-plist 'eval-when-compile)
=> nil
(symbol-function 'eval-when-compile)
=> (macro . #[(&rest body) "\301\bB\207" [body progn] 2 600648])
(load (symbol-file 'eval-when-compile))
(symbol-plist 'eval-when-compile)
=> (edebug-form-spec t lisp-indent-function 0)
(symbol-function 'eval-when-compile)
=> (macro . #[(&rest body) "\301\bB\207" [body progn] 2 ("/soft/careful/emacs/lisp/emacs-lisp/byte-run.elc" . 3010)])
Lute.
next prev parent reply other threads:[~2005-03-13 16:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 18:26 Lisp indentation Lute Kamstra
2005-03-10 19:43 ` Stefan Monnier
2005-03-11 1:29 ` Lute Kamstra
2005-03-12 17:40 ` Lute Kamstra
2005-03-13 13:23 ` Lute Kamstra
2005-03-13 13:51 ` Stefan Monnier
2005-03-13 16:29 ` Lute Kamstra [this message]
2005-03-14 12:58 ` Stefan Monnier
2005-03-14 13:55 ` Lute Kamstra
2005-03-14 3:00 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ll8rwluh.fsf@xs4all.nl \
--to=lute.kamstra.lists@xs4all.nl \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.