* bug#20038: 25.0.50; (elisp) `Hooks for Loading' not updated correctly
@ 2015-03-08 16:27 Drew Adams
2016-04-30 17:19 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2015-03-08 16:27 UTC (permalink / raw)
To: 20038
`with-eval-after-load' was introduced for the reasons described in
the bug #13021 report:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13021
Unfortunately, when that macro was added the doc for `eval-after-load'
was removed from the Elisp manual. And yet there are references to it
(and no references to the doc for `with-eval-after-load', which was
added.
Personally, I don't think the doc for `eval-after-load' should have
been removed, but that opinion is primarily a minority one, and it
is beside the point of this bug report.
1. All doc describing `eval-after-load' was removed from the Elisp
manual. And doc for `with-eval-after-load' was added (OK).
Unfortunately this paragraph was not updated or removed. It presumably
applies equally to `with-eval-afer-load':
Normally, well-designed Lisp programs should not use
`eval-after-load'. If you need to examine and set the variables
defined in another library (those meant for outside use), you can do it
immediately--there is no need to wait until the library is loaded. If
you need to call functions defined by that library, you should load the
library, preferably with `require' (*note Named Features::).
(Not that that paragraph is very good or particularly sound, IMO.)
But the point here is that it should presumably either be removed or
updated to speak of `with-eval-after-load'.
2. Although the doc describing `eval-after-load' was removed, and
`eval-after-load' was removed from the index, there remain mentions of
`eval-after-load' in the manual, with cross-references to the node that
*used to* describe it, so you can find out more about it (but you
cannot). Node `Named Features', for example. And node `Coding
Conventions'.
3. There is no mention of `eval-after-load' or `with-eval-after-load'
in NEWS, AFAICT.
Reporting from this version, but I see the same bug in a build from
2015-02-27.
In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
of 2014-10-20 on LEG570
Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#20038: 25.0.50; (elisp) `Hooks for Loading' not updated correctly
2015-03-08 16:27 bug#20038: 25.0.50; (elisp) `Hooks for Loading' not updated correctly Drew Adams
@ 2016-04-30 17:19 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 17:19 UTC (permalink / raw)
To: Drew Adams; +Cc: 20038
Drew Adams <drew.adams@oracle.com> writes:
> 1. All doc describing `eval-after-load' was removed from the Elisp
> manual. And doc for `with-eval-after-load' was added (OK).
>
> Unfortunately this paragraph was not updated or removed. It presumably
> applies equally to `with-eval-afer-load':
>
> Normally, well-designed Lisp programs should not use
> `eval-after-load'. If you need to examine and set the variables
> defined in another library (those meant for outside use), you can do it
> immediately--there is no need to wait until the library is loaded. If
> you need to call functions defined by that library, you should load the
> library, preferably with `require' (*note Named Features::).
I've now updated this.
> 2. Although the doc describing `eval-after-load' was removed, and
> `eval-after-load' was removed from the index, there remain mentions of
> `eval-after-load' in the manual, with cross-references to the node that
> *used to* describe it, so you can find out more about it (but you
> cannot). Node `Named Features', for example. And node `Coding
> Conventions'.
I've now replaced virtually all mentions of `eval-after-load' with
`with-eval-after-load' in the manual.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-30 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-08 16:27 bug#20038: 25.0.50; (elisp) `Hooks for Loading' not updated correctly Drew Adams
2016-04-30 17:19 ` Lars Ingebrigtsen
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).