From: Sebastian Wiesner <lunaryorn@gmail.com>
To: 16494@debbugs.gnu.org
Subject: bug#16494: 24.3.50; $EMACSLOADPATH stopped working
Date: Sun, 19 Jan 2014 16:33:55 +0100 [thread overview]
Message-ID: <m2ob386l5o.fsf@lunaryorn-air.fritz.box> (raw)
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?
next reply other threads:[~2014-01-19 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-19 15:33 Sebastian Wiesner [this message]
2014-01-19 19:16 ` bug#16494: 24.3.50; $EMACSLOADPATH stopped working Glenn Morris
2014-01-20 7:59 ` Paul Eggert
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=m2ob386l5o.fsf@lunaryorn-air.fritz.box \
--to=lunaryorn@gmail.com \
--cc=16494@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.