* What constitutes a "function-defining form"
@ 2008-09-27 16:15 Lennart Borgman (gmail)
2008-09-27 17:05 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-27 16:15 UTC (permalink / raw)
To: Emacs Devel
I tried to use update-file-autoloads on some functions defined with a
defmacro, but then the whole defmacro got copied.
I think I need to know what a "function-defining form" is:
(info "(elisp) Autoload")
Can someone explain that?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What constitutes a "function-defining form"
2008-09-27 16:15 What constitutes a "function-defining form" Lennart Borgman (gmail)
@ 2008-09-27 17:05 ` Lennart Borgman (gmail)
2008-09-29 6:30 ` Jim Blandy
0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-27 17:05 UTC (permalink / raw)
To: Emacs Devel
Lennart Borgman (gmail) wrote:
> I tried to use update-file-autoloads on some functions defined with a
> defmacro, but then the whole defmacro got copied.
>
> I think I need to know what a "function-defining form" is:
>
> (info "(elisp) Autoload")
>
> Can someone explain that?
... I think I found it. It seems to be a list in `make-autoload' -- a
hard-coded list.
There is of course good reasons for that beeing hard-coded, but it would
be nice if make-autoload called a hook at the end when nothing did match.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What constitutes a "function-defining form"
2008-09-27 17:05 ` Lennart Borgman (gmail)
@ 2008-09-29 6:30 ` Jim Blandy
2008-09-29 7:36 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Jim Blandy @ 2008-09-29 6:30 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: Emacs Devel
On Sat, Sep 27, 2008 at 10:05 AM, Lennart Borgman (gmail)
<lennart.borgman@gmail.com> wrote:
> There is of course good reasons for that beeing hard-coded, but it would
> be nice if make-autoload called a hook at the end when nothing did match.
Better yet, put a property on the symbol that names the macro, and
have make-autoload check that. That way, macro authors can say for
themselves what make-autoload should do.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What constitutes a "function-defining form"
2008-09-29 6:30 ` Jim Blandy
@ 2008-09-29 7:36 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2008-09-29 7:36 UTC (permalink / raw)
To: Jim Blandy; +Cc: Lennart Borgman (gmail), Emacs Devel
>> There is of course good reasons for that beeing hard-coded, but it would
>> be nice if make-autoload called a hook at the end when nothing did match.
> Better yet, put a property on the symbol that names the macro, and
> have make-autoload check that. That way, macro authors can say for
> themselves what make-autoload should do.
Remember that those autoloads are generated without "load"ing files, so
the symbol property would need to be added in one of the preloaded files
(or in autoload.el), so you might as well add it directly in the code of
autoload.el.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-09-29 7:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-27 16:15 What constitutes a "function-defining form" Lennart Borgman (gmail)
2008-09-27 17:05 ` Lennart Borgman (gmail)
2008-09-29 6:30 ` Jim Blandy
2008-09-29 7:36 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).