GNU bug report logs -
#21104
25.0.50; relative paths are added to load-path without -nsl
Previous Next
Reported by: sds <at> gnu.org
Date: Tue, 21 Jul 2015 17:27:01 UTC
Severity: normal
Merged with 21353
Found in version 25.0.50
Done: Anders Lindgren <andlind <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 9 Dec 2015 11:33:34 +0100
with message-id <CABr8ebbmPSu9buQ3hKcCsDNtT9V4DuNC+xrwCxhmQARbEPn0XQ <at> mail.gmail.com>
and subject line Don't add "." to load-path -- fixed
has caused the debbugs.gnu.org bug report #21104,
regarding 25.0.50; relative paths are added to load-path without -nsl
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
21104: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21104
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Relative paths in `load-path' seems like a bad idea:
--8<---------------cut here---------------start------------->8---
$ ./nextstep/Emacs.app/Contents/MacOS/Emacs -nsl --batch --eval '(print load-path)'
("/Users/sds/src/emacs/trunk/lisp" "/Users/sds/src/emacs/trunk/lisp/vc" "/Users/sds/src/emacs/trunk/lisp/url" "/Users/sds/src/emacs/trunk/lisp/textmodes" "/Users/sds/src/emacs/trunk/lisp/progmodes" "/Users/sds/src/emacs/trunk/lisp/play" "/Users/sds/src/emacs/trunk/lisp/org" "/Users/sds/src/emacs/trunk/lisp/nxml" "/Users/sds/src/emacs/trunk/lisp/net" "/Users/sds/src/emacs/trunk/lisp/mh-e" "/Users/sds/src/emacs/trunk/lisp/mail" "/Users/sds/src/emacs/trunk/lisp/leim" "/Users/sds/src/emacs/trunk/lisp/language" "/Users/sds/src/emacs/trunk/lisp/international" "/Users/sds/src/emacs/trunk/lisp/gnus" "/Users/sds/src/emacs/trunk/lisp/eshell" "/Users/sds/src/emacs/trunk/lisp/erc" "/Users/sds/src/emacs/trunk/lisp/emulation" "/Users/sds/src/emacs/trunk/lisp/emacs-lisp" "/Users/sds/src/emacs/trunk/lisp/cedet" "/Users/sds/src/emacs/trunk/lisp/calendar" "/Users/sds/src/emacs/trunk/lisp/calc" "/Users/sds/src/emacs/trunk/lisp/obsolete" "/Users/sds/src/emacs/trunk/build/lisp")
$ ./nextstep/Emacs.app/Contents/MacOS/Emacs --batch --eval '(print load-path)'
("." "./vc" "./url" "./textmodes" "./progmodes" "./play" "./org" "./nxml" "./net" "./mh-e" "./mail" "./leim" "./language" "./international" "./gnus" "./eshell" "./erc" "./emulation" "./emacs-lisp" "./cedet" "./calendar" "./calc" "./obsolete" "/Users/sds/src/emacs/trunk/lisp" "/Users/sds/src/emacs/trunk/lisp/vc" "/Users/sds/src/emacs/trunk/lisp/url" "/Users/sds/src/emacs/trunk/lisp/textmodes" "/Users/sds/src/emacs/trunk/lisp/progmodes" "/Users/sds/src/emacs/trunk/lisp/play" "/Users/sds/src/emacs/trunk/lisp/org" "/Users/sds/src/emacs/trunk/lisp/nxml" "/Users/sds/src/emacs/trunk/lisp/net" "/Users/sds/src/emacs/trunk/lisp/mh-e" "/Users/sds/src/emacs/trunk/lisp/mail" "/Users/sds/src/emacs/trunk/lisp/leim" "/Users/sds/src/emacs/trunk/lisp/language" "/Users/sds/src/emacs/trunk/lisp/international" "/Users/sds/src/emacs/trunk/lisp/gnus" "/Users/sds/src/emacs/trunk/lisp/eshell" "/Users/sds/src/emacs/trunk/lisp/erc" "/Users/sds/src/emacs/trunk/lisp/emulation" "/Users/sds/src/emacs/trunk/lisp/emacs-lisp" "/Users/sds/src/emacs/trunk/lisp/cedet" "/Users/sds/src/emacs/trunk/lisp/calendar" "/Users/sds/src/emacs/trunk/lisp/calc" "/Users/sds/src/emacs/trunk/lisp/obsolete" "/Users/sds/src/emacs/trunk/build/lisp")
--8<---------------cut here---------------end--------------->8---
in particular, this results in this start-up warning:
--8<---------------cut here---------------start------------->8---
Warning (initialization): Your `load-path' seems to contain
your `.emacs.d' directory: .
This is likely to cause problems...
Consider using a subdirectory instead, e.g.: /Users/sds/.emacs.d/lisp
--8<---------------cut here---------------end--------------->8---
In GNU Emacs 25.0.50.2 (x86_64-apple-darwin14.4.0, NS appkit-1348.17 Version 10.10.4 (Build 14E46))
of 2015-07-21 on sds-MacBook-Pro.local
Repository revision: 7f58daf8166d03c664e5a6d1984dc3afd74e08d2
Windowing system distributor `Apple', version 10.3.1348
Configured using:
`configure --with-ns'
Configured features:
JPEG IMAGEMAGICK NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
Important settings:
value of $LANG: C
locale-coding-system: utf-8-unix
Major mode: C/lah
Minor modes in effect:
diff-auto-refine-mode: t
rcirc-track-minor-mode: t
which-function-mode: t
url-handler-mode: t
show-paren-mode: t
desktop-save-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
abbrev-mode: t
Recent messages:
Grep finished with no matches found
Quit
Grep finished (matches found)
mouse-2: visit this file and line [2 times]
Quit
mouse-2: visit this file and line
Mark saved where search started [2 times]
Grep finished (matches found)
mouse-2: visit this file and line
C-x p is undefined
Load-path shadows:
None found.
Features:
(shadow sort bbdb-message mailalias cookie1 mail-extr gnus-msg gnus-art
mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc
nnoo parse-time gnus-spec gnus-int gnus-range gnus-win emacsbug message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums edmacro kmacro
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
find-dired grep ffap time-stamp dabbrev cl-indent skeleton eieio-opt
speedbar sb-image ezimage dframe find-func pp markdown-mode noutline
outline misearch multi-isearch remember dired-aux nxml-uchnm rng-xsd
xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sh-script smie
flyspell ispell info vc-hg smerge-mode python tramp-sh tramp
tramp-compat tramp-loaddefs trampver json vc-git diff-mode easy-mmode
vc-dir ewoc vc vc-dispatcher finder-inf package epg-config dired
warnings midnight gnus gnus-ems nnheader mail-utils wid-edit bbdb-mua
bbdb-com crm mailabbrev bbdb-loaddefs bbdb bbdb-site timezone rcirc
server which-func imenu url-handlers url-parse auth-source cl-seq eieio
byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs
gnus-util mm-util help-fns help-mode mail-prsvr password-cache url-vars
paren help-at-pt desktop frameset cus-start cus-load ido seq ess-toolbar
ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb
ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs
make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d ess-r-completion
compile ess-tracebug format-spec ess-roxy advice hideshow ess-help
ess-developer ess-s-l ess ess-inf comint ansi-color ring ess-mode
ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat
ess-site cl gv cl-loaddefs pcase cl-lib time-date mule-util tooltip
eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
ns-win term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
gfilenotify cocoa ns multi-tty make-network-process emacs)
Memory information:
((conses 16 567215 13667)
(symbols 48 69494 0)
(miscs 40 21339 937)
(strings 32 203226 22330)
(string-bytes 1 4960712)
(vectors 16 59780)
(vector-slots 8 1043715 8139)
(floats 8 829 414)
(intervals 56 8535 472)
(buffers 976 62))
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1348
http://www.childpsy.net/ http://iris.org.il http://www.memritv.org
http://americancensorship.org http://www.dhimmitude.org http://camera.org
I'd give up my right arm to be ambidextrous.
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
When configured with --enable-locallisppath=no, which is the default for OS
X, the load-path incorrectly was populated with ".".
See the following for for information:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=ae3057412a0673667e76cd281e5c5db46be18254
-- Anders Lindgren
[Message part 5 (text/html, inline)]
This bug report was last modified 9 years and 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.