[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -Q / --no-site-file and site-lisp/

From: Lennart Borgman (gmail)
Subject: Re: -Q / --no-site-file and site-lisp/
Date: Tue, 24 Jun 2008 14:17:13 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Tassilo Horn wrote:
Reiner Steib <address@hidden> writes:

Hi Reiner,

.../share/emacs/site-lisp is in the load path, even with `-Q'. One
has to keep that in mind. Which I didn't do either. ;)
Hm, wouldn't it be sensible to remove it from `load-path' if -Q was
I think so.  See

| From: Reiner Steib
| Subject: Should -Q / --no-site-file eval `subdirs.el'?
| Newsgroups: gmane.emacs.devel
| Date: Sun, 05 Aug 2007 14:15:01 +0200
| Message-ID: <address@hidden>
| Hi,
| when running `emacs -Q', I was surprised to see site-lisp/*/ in my
| `load-path'.  Although the manual (cmdargs.texi [1]) doesn't say
| anything about `subdirs.el' (it's not mentioned in the manual at
| all), I'd expect "minimum customizations"[1] *not* to modify
| `load-path'.  E.g. I have some other Gnus version installed in
| site-lisp.  I'd expect Gnus 5.11 from Emacs 22 after `M-x gnus RET',
| but I get the version from site-lisp.

Richard replied:

| From: Richard Stallman
| Subject: Re: Should -Q / --no-site-file eval `subdirs.el'?
| Date: 2007-08-05 20:54:34 GMT
| | I think it should load subdirs.el. Hiding the packages available on
| your site is not the purpose.

Well, if that's Richard's opinion, that's fine.  But there should be
some option (i.e. --vanilla, -V) which is like -Q and does not load any
external packages.

Do you mean "does not alter load-path" by running any site-lisp/subdirs.el?

I think that would be useful. (Maybe there could be a --no-site-dir in addition to -V?)

We always say "give a recipe starting with emacs -Q", but that's not
sufficient if the bug is in some external package in site-lisp/.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]