From: Drew Adams <drew.adams@oracle.com>
To: 21962@debbugs.gnu.org
Subject: bug#21962: 25.0.50; doc of `normal-top-level-add-subdirs-to-load-path'
Date: Thu, 19 Nov 2015 21:15:52 -0800 (PST) [thread overview]
Message-ID: <4c09cdd8-32cc-4d67-92fb-bfd20e404c80@default> (raw)
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''
next reply other threads:[~2015-11-20 5:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 5:15 Drew Adams [this message]
2016-04-30 22:26 ` bug#21962: 25.0.50; doc of `normal-top-level-add-subdirs-to-load-path' Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4c09cdd8-32cc-4d67-92fb-bfd20e404c80@default \
--to=drew.adams@oracle.com \
--cc=21962@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.