GNU bug report logs -
#26888
25.2; doc of `with-eval-after-load'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 11 May 2017 16:02:01 UTC
Severity: minor
Merged with 16810
Found in versions 24.3.50, 25.2
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
1. The doc does not make clear that argument LIBRARY is evaluated or
that argument BODY is _not_ evaluated, at the time the overall sexp is
evaluated.
2. The doc string and the Elisp manual should use the same name, LIBRARY
or FILE.
3. There is lots of information about the behavior that is missing from
the doc of `with-eval-after-load' but is present in the doc of
`eval-after-load'. They don't behave the same, but the latter makes use
of the former. You cannot understand all of the the behavior of the
former without consulting the doc (or the code) of the latter.
We've done users a disservice by removing the doc for `eval-after-load'
from the manual and by not, at least, providing equivalent information
for `with-eval-after-load'. We've apparently intentionally tried to
"dumb this down", but users deserve better help than this.
At the very least, the doc for `with-eval-after-load' should refer to
the more complete doc of `eval-after-load', and explain that the former
just expands to the latter after wrapping BODY in an anonymous function.
In GNU Emacs 25.2.1 (x86_64-w64-mingw32)
of 2017-04-24
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --without-dbus --without-compress-install 'CFLAGS=-O2
-static -g3''
This bug report was last modified 4 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.