* texinfo-loaddefs.el?
@ 2021-04-29 19:38 Eli Zaretskii
2021-04-29 20:06 ` texinfo-loaddefs.el? Glenn Morris
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2021-04-29 19:38 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
commit 68bf917896daa10601c3fdff172205e9aa06d155
Author: Glenn Morris <rgm@gnu.org>
AuthorDate: Thu Apr 29 11:42:03 2021 -0700
Commit: Glenn Morris <rgm@gnu.org>
CommitDate: Thu Apr 29 11:42:03 2021 -0700
Automatically generate texinfo.el internal autoloads
* lisp/textmodes/texinfo.el: Replace manual autoloads.
* lisp/textmodes/makeinfo.el (makeinfo-region, makeinfo-buffer)
(makeinfo-recenter-compilation-buffer):
* lisp/textmodes/texnfo-upd.el (texinfo-make-menu)
(texinfo-all-menus-update, texinfo-start-menu-description)
(texinfo-indent-menu-description, texinfo-master-menu)
(texinfo-update-node, texinfo-every-node-update)
(texinfo-sequential-node-update, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
Add autoload cookies, and set generated-autoload-file.
This breaks the build:
ELC textmodes/makeinfo.elc
In toplevel form:
textmodes/makeinfo.el:71:1: Error: Cannot open load file: No such file or directory, texinfo-loaddefs
Makefile:301: recipe for target `textmodes/makeinfo.elc' failed
make[2]: *** [textmodes/makeinfo.elc] Error 1
make[2]: Leaving directory `/d/gnu/git/emacs/trunk/lisp'
make[2]: Entering directory `/d/gnu/git/emacs/trunk/lisp'
ELC textmodes/texnfo-upd.elc
ELC textmodes/texinfo.elc
In toplevel form:
textmodes/texnfo-upd.el:175:1: Error: Cannot open load file: No such file or directory, texinfo-loaddefs
In toplevel form:
textmodes/texinfo.el:77:1: Error: Cannot open load file: No such file or directory, texinfo-loaddefs
Makefile:301: recipe for target `textmodes/texinfo.elc' failed
make[2]: *** [textmodes/texinfo.elc] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:301: recipe for target `textmodes/texnfo-upd.elc' failed
make[2]: *** [textmodes/texnfo-upd.elc] Error 1
I don't think I understand how texinfo-loaddefs.el was supposed to be
created. What am I missing?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texinfo-loaddefs.el?
2021-04-29 19:38 texinfo-loaddefs.el? Eli Zaretskii
@ 2021-04-29 20:06 ` Glenn Morris
2021-04-30 5:02 ` texinfo-loaddefs.el? Eli Zaretskii
2021-04-30 13:33 ` texinfo-loaddefs.el? Alex Bennée
0 siblings, 2 replies; 7+ messages in thread
From: Glenn Morris @ 2021-04-29 20:06 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
It's no different to any of the other loaddefs file.
make bootstrap will work. If you want a shortcut, perhaps
make -C lisp autoloads will.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texinfo-loaddefs.el?
2021-04-29 20:06 ` texinfo-loaddefs.el? Glenn Morris
@ 2021-04-30 5:02 ` Eli Zaretskii
2021-04-30 13:58 ` texinfo-loaddefs.el? Stefan Monnier
2021-04-30 13:33 ` texinfo-loaddefs.el? Alex Bennée
1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2021-04-30 5:02 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
> From: Glenn Morris <rgm@gnu.org>
> Cc: emacs-devel@gnu.org
> Date: Thu, 29 Apr 2021 16:06:06 -0400
>
> It's no different to any of the other loaddefs file.
> make bootstrap will work.
And if I don't want to bootstrap?
> If you want a shortcut, perhaps make -C lisp autoloads will.
It doesn't. Are there any alternatives? Which Emacs commands or
functions are supposed to create it and write the expected contents
into it, including the heading ("automatically extracted ...") and the
Local Variables section (like in reftex-autoloads.el)?
Thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texinfo-loaddefs.el?
2021-04-29 20:06 ` texinfo-loaddefs.el? Glenn Morris
2021-04-30 5:02 ` texinfo-loaddefs.el? Eli Zaretskii
@ 2021-04-30 13:33 ` Alex Bennée
2021-04-30 15:24 ` texinfo-loaddefs.el? Glenn Morris
1 sibling, 1 reply; 7+ messages in thread
From: Alex Bennée @ 2021-04-30 13:33 UTC (permalink / raw)
To: Glenn Morris; +Cc: Eli Zaretskii, emacs-devel
Glenn Morris <rgm@gnu.org> writes:
> It's no different to any of the other loaddefs file.
> make bootstrap will work. If you want a shortcut, perhaps
> make -C lisp autoloads will.
Surely it's not intending to break the normal autogen/configure/make
build sequence? If the autoloads need generating shouldn't there be a
make dependency to trigger that?
--
Alex Bennée
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texinfo-loaddefs.el?
2021-04-30 5:02 ` texinfo-loaddefs.el? Eli Zaretskii
@ 2021-04-30 13:58 ` Stefan Monnier
2021-04-30 14:20 ` texinfo-loaddefs.el? Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2021-04-30 13:58 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Glenn Morris, emacs-devel
>> It's no different to any of the other loaddefs file.
>> make bootstrap will work.
>
> And if I don't want to bootstrap?
I believe
rm lisp/loaddefs.el; make
does the trick.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texinfo-loaddefs.el?
2021-04-30 13:58 ` texinfo-loaddefs.el? Stefan Monnier
@ 2021-04-30 14:20 ` Eli Zaretskii
0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2021-04-30 14:20 UTC (permalink / raw)
To: Stefan Monnier; +Cc: rgm, emacs-devel
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Glenn Morris <rgm@gnu.org>, emacs-devel@gnu.org
> Date: Fri, 30 Apr 2021 09:58:56 -0400
>
> rm lisp/loaddefs.el; make
A.k.a. "make -C lisp autoloads-force".
But I don't think this is a good situation. What's worse, even if the
build doesn't fail, it turns out loaddefs.el become more and more
outdated as time passes, see bug#48117.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: texinfo-loaddefs.el?
2021-04-30 13:33 ` texinfo-loaddefs.el? Alex Bennée
@ 2021-04-30 15:24 ` Glenn Morris
0 siblings, 0 replies; 7+ messages in thread
From: Glenn Morris @ 2021-04-30 15:24 UTC (permalink / raw)
To: emacs-devel
Here's one previous time this long-standing issue was discussed:
https://lists.gnu.org/r/emacs-devel/2008-04/msg00714.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-04-30 15:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-29 19:38 texinfo-loaddefs.el? Eli Zaretskii
2021-04-29 20:06 ` texinfo-loaddefs.el? Glenn Morris
2021-04-30 5:02 ` texinfo-loaddefs.el? Eli Zaretskii
2021-04-30 13:58 ` texinfo-loaddefs.el? Stefan Monnier
2021-04-30 14:20 ` texinfo-loaddefs.el? Eli Zaretskii
2021-04-30 13:33 ` texinfo-loaddefs.el? Alex Bennée
2021-04-30 15:24 ` texinfo-loaddefs.el? Glenn Morris
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.