From: Juanma Barranquero <lekktu@gmail.com>
To: 10208@debbugs.gnu.org
Subject: bug#10208: site-lisp directories in load-path after --no-site-lisp
Date: Sun, 4 Dec 2011 00:29:21 +0100 [thread overview]
Message-ID: <CAAeL0STPmUeXcMLwSw8QCEaA4Gvu87RCtPxr_XYh7G2X7EzNaQ@mail.gmail.com> (raw)
Package: emacs
On non-w32 systems:
- init_lread() removes directories matching "site-lisp" from
load-path, and then re-adds them unless --no-site-lisp was passed.
- However, the site-lisp directories under the installation
(lread.c:4189) and source (lread.c:4229) directories are added
unconditionally.
On w32 systems, load-path gets its default from EMACSLOADPATH (defined
in w32.c:1592), which includes %emacs_dir%/site-lisp and
%emacs_dir%/../site-lisp unconditionally.
As an example, I build Emacs in
C:\emacs\trunk
and have my site-lisp data in C:\emacs\site-lisp. After "emacs -Q",
load-path contains:
c:/emacs/trunk/site-lisp
C:/emacs/trunk/../site-lisp
c:/emacs/site-lisp/bm
c:/emacs/site-lisp/lua
c:/emacs/site-lisp/slime
c:/emacs/site-lisp/slime/contrib
c:/emacs/site-lisp/slime/doc
C:/emacs/trunk/lisp
c:/emacs/trunk/lisp/calc
[...]
c:/emacs/trunk/lisp/cedet
C:/emacs/trunk/leim
Juanma
next reply other threads:[~2011-12-03 23:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-03 23:29 Juanma Barranquero [this message]
2011-12-07 2:18 ` bug#10208: site-lisp directories in load-path after --no-site-lisp Glenn Morris
2012-01-04 19:42 ` Achim Gratz
2012-01-06 21:57 ` Achim Gratz
2012-01-07 17:18 ` Achim Gratz
2012-01-11 1:08 ` Glenn Morris
2012-01-12 10:38 ` ASSI
2012-01-12 20:36 ` Glenn Morris
2012-01-17 21:42 ` Achim Gratz
2011-12-07 23:16 ` Juanma Barranquero
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=CAAeL0STPmUeXcMLwSw8QCEaA4Gvu87RCtPxr_XYh7G2X7EzNaQ@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=10208@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.