GNU bug report logs -
#21962
25.0.50; doc of `normal-top-level-add-subdirs-to-load-path'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 20 Nov 2015 05:17: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 21962 in the body.
You can then email your comments to 21962 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#21962
; Package
emacs
.
(Fri, 20 Nov 2015 05:17: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
.
(Fri, 20 Nov 2015 05:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Looking at the code, it seems that this function does not add only
subdirectories of the current `default-directory'. It seems to add all
descendant directories of `default-directory'.
A subdirectory is a child, not a grandchild etc. I believe that is the
usual terminology. It is, in any case, the terminology that Emacs uses
in, for example Dired. It is also why the doc uses language such as
"with subdirectories handled recursively" to distinguish the practice of
handling not only the subdirectories of a directory, but their
subdirectories, and so on, recursively.
So IIUC what the function does, IMO its description is incorrect. Or at
best it is misleading, if you claim that "subdirectory" means any
descendant directory. Please change the doc to make clear just what
directories are added to `load-path'.
And consider documenting this function in the Elisp manual, if not in
the Emacs manual.
Similarly, function `normal-top-level-add-to-load-path.
In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
of 2015-11-09
Bzr revision: 86c19714b097aa477d339ed99ffb5136c755a046
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/snapshot/trunk
--enable-checking=yes,glyphs --enable-check-lisp-object-type
--without-compress-install --with-wide-int 'CFLAGS=-O0 -ggdb3'
LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
-Ic:/Devel/emacs/include''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21962
; Package
emacs
.
(Sat, 30 Apr 2016 22:27:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 21962 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> Looking at the code, it seems that this function does not add only
> subdirectories of the current `default-directory'. It seems to add all
> descendant directories of `default-directory'.
>
> A subdirectory is a child, not a grandchild etc. I believe that is the
> usual terminology. It is, in any case, the terminology that Emacs uses
> in, for example Dired. It is also why the doc uses language such as
> "with subdirectories handled recursively" to distinguish the practice of
> handling not only the subdirectories of a directory, but their
> subdirectories, and so on, recursively.
>
> So IIUC what the function does, IMO its description is incorrect. Or at
> best it is misleading, if you claim that "subdirectory" means any
> descendant directory. Please change the doc to make clear just what
> directories are added to `load-path'.
I've now done so.
--
(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 22:27:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 25.2, send any further explanations to
21962 <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 22:27: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:10 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:09 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:09 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:09 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:19 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 172 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.