GNU bug report logs -
#20038
25.0.50; (elisp) `Hooks for Loading' not updated correctly
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sun, 8 Mar 2015 16:29:02 UTC
Severity: minor
Tags: fixed
Found in version 25.0.50
Fixed in version 26.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20038 in the body.
You can then email your comments to 20038 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#20038
; Package
emacs
.
(Sun, 08 Mar 2015 16:29:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 08 Mar 2015 16:29:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
`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 <at> gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#20038
; Package
emacs
.
(Sat, 30 Apr 2016 17:20:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 20038 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> 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
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 30 Apr 2016 17:20:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 25.2, send any further explanations to
20038 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 30 Apr 2016 17:20:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 29 May 2016 11:24:08 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:07 GMT)
Full text and
rfc822 format available.
bug Marked as fixed in versions 26.1.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:07 GMT)
Full text and
rfc822 format available.
bug No longer marked as fixed in versions 25.2.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 04 Dec 2016 02:50:07 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 01 Jan 2017 12:24:14 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 175 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.