GNU bug report logs -
#16494
24.3.50; $EMACSLOADPATH stopped working
Previous Next
Reported by: Sebastian Wiesner <lunaryorn <at> gmail.com>
Date: Sun, 19 Jan 2014 15:35:02 UTC
Severity: important
Found in version 24.3.50
Done: Paul Eggert <eggert <at> cs.ucla.edu>
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 16494 in the body.
You can then email your comments to 16494 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#16494
; Package
emacs
.
(Sun, 19 Jan 2014 15:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sebastian Wiesner <lunaryorn <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 19 Jan 2014 15:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In Emacs 24.3.50, $EMACSLOADPATH stopped working.
To reproduce, save the following code as `load-path-test.el':
(defun print-path-list (paths)
(dolist (path paths)
(princ (concat " " path))
(terpri)))
(defun main ()
(princ "load-path:")
(terpri)
(print-path-list load-path)
(princ "$EMACSLOADPATH")
(terpri)
(print-path-list (split-string (getenv "EMACSLOADPATH")
(regexp-quote path-separator))))
Then run it with `EMACSLOADPATH=$HOME:/tmp emacs -Q --batch -l
load-path-test -f main'. I see the following output:
load-path:
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/vc
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/url
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/textmodes
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/progmodes
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/play
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/nxml
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/net
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/mh-e
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/mail
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/leim
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/language
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/international
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/gnus
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/eshell
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/erc
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/emulation
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/emacs-lisp
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/cedet
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/calendar
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/calc
/usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/obsolete
$EMACSLOADPATH
/Users/swiesner
/tmp
As you can see, `load-path' is not initialized with the value of
$EMACSLOADPATH, even though the variable is properly exported and known
to the Emacs process.
What am I doing wrong?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16494
; Package
emacs
.
(Sun, 19 Jan 2014 19:17:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 16494 <at> debbugs.gnu.org (full text, mbox):
Sebastian Wiesner wrote:
> In Emacs 24.3.50, $EMACSLOADPATH stopped working.
This stopped working in r115557, 2013-12-16.
For example,
bool use_loadpath = !NILP (Vpurify_flag);
is backwards.
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Mon, 20 Jan 2014 08:00:04 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sebastian Wiesner <lunaryorn <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 20 Jan 2014 08:00:07 GMT)
Full text and
rfc822 format available.
Message #13 received at 16494-done <at> debbugs.gnu.org (full text, mbox):
Thanks for pointing out this problem. I think I've fixed it in Emacs
trunk bzr 116077 and am marking this as done. If the fix doesn't work
for you we can reopen the bug report.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 17 Feb 2014 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.