From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: -Q / --no-site-file and site-lisp/ Date: Tue, 24 Jun 2008 14:17:13 +0200 Message-ID: <4860E5C9.5050701@gmail.com> References: <87tzfs82cx.fsf@thinkpad.tsdh.de> <843anb4ui5.fsf@web.de> <87lk13fdco.fsf@thinkpad.tsdh.de> <84fxrak2gf.fsf@web.de> <87ej6u5z42.fsf@thinkpad.tsdh.de> <84bq1yjz7u.fsf@web.de> <87d4me331y.fsf@thinkpad.tsdh.de> <843an9uykr.fsf@web.de> <871w2tmdpq.fsf@thinkpad.tsdh.de> <84od5xtdlk.fsf@web.de> <87fxr96vyr.fsf@thinkpad.tsdh.de> <84hcbptbzg.fsf@web.de> <87bq1x6umm.fsf@thinkpad.tsdh.de> <84d4mdtb97.fsf@web.de> <877icl6t7n.fsf@thinkpad.tsdh.de> <848wx0kryt.fsf@web.de> <87prqbcb7f.fsf@thinkpad.tsdh.de> <84mylek7ff.fsf@web.de> <87wskghbni.fsf@thinkpad.tsdh.de> <87r6an1fhg.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214309859 3468 80.91.229.12 (24 Jun 2008 12:17:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 12:17:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 24 14:18:24 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KB7TX-0002XT-U1 for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 14:18:20 +0200 Original-Received: from localhost ([127.0.0.1]:43250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KB7Si-0001km-BQ for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 08:17:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KB7Sd-0001j8-3Z for emacs-devel@gnu.org; Tue, 24 Jun 2008 08:17:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KB7Sb-0001hr-8Q for emacs-devel@gnu.org; Tue, 24 Jun 2008 08:17:22 -0400 Original-Received: from [199.232.76.173] (port=38597 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KB7Sb-0001ho-4g for emacs-devel@gnu.org; Tue, 24 Jun 2008 08:17:21 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:34670) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KB7Sa-0005RM-Nm for emacs-devel@gnu.org; Tue, 24 Jun 2008 08:17:21 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:61455 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KB7SV-00012I-4j for emacs-devel@gnu.org; Tue, 24 Jun 2008 14:17:18 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <87r6an1fhg.fsf@thinkpad.tsdh.de> X-Antivirus: avast! (VPS 080623-1, 2008-06-23), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1KB7SV-00012I-4j. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KB7SV-00012I-4j c1dec2fe926183b85d1b47a2d82cb00a X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99841 Archived-At: Tassilo Horn wrote: > Reiner Steib 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 >>> given? >> 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: >> | >> | 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/. > > Bye, > Tassilo > > >