From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mirko Newsgroups: gmane.emacs.help Subject: Re: puzzled with load-path entries - where do they come from when .emacs is empty? Date: Tue, 11 Nov 2008 13:45:14 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <11534d33-6ec0-4348-99a4-236a44365da0@v22g2000pro.googlegroups.com> <1fcacf3d-32af-464e-b117-fa0669dd790d@i24g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1226443251 1898 80.91.229.12 (11 Nov 2008 22:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2008 22:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 11 23:41:52 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L01vb-0006TD-7G for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Nov 2008 23:41:43 +0100 Original-Received: from localhost ([127.0.0.1]:56270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L01uT-0004z4-8j for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Nov 2008 17:40:33 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r36g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: 208.218.238.20 Original-X-Trace: posting.google.com 1226439915 15132 127.0.0.1 (11 Nov 2008 21:45:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 11 Nov 2008 21:45:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r36g2000prf.googlegroups.com; posting-host=208.218.238.20; posting-account=yS7ZzQoAAACbDncxMo9UeCyhsLtcDWPM User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164333 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59668 Archived-At: On Nov 10, 7:08=C2=A0pm, Xah wrote: > Mirko wrote: > > I am using emacs 22.1 on windows & I am puzzled with the components of > > load-path: where are they coming from: > > Even if I completely comment out all of my .emacs, and my > > EMACSLOADPATH is empty, when I start up emacs, my load-path is full of > > stuff: slime, planner, muse, auctex,... that I use. =C2=A0But since I > > commented all of the code in .emacs where did that stuff come from? > > Again, my .emacs is completely commented out. > > ... > > I found site-lisp/site-start.d with auctex.el and preview-latex.el. > > That explains the auctex message during startup. =C2=A0But still no clu= e as > > to where load-path gets preloaded. > > > Actually, could it be that emacs populates load-path automatically > > based on the contents of the site-lisp directory? =C2=A0That would expl= ain > > everything. > > basically all langs, e.g. perl, java, python, php, mathematica, > provides you with a default load path, so that basic functionalities > are available. > > if emacs doesn't provide you with a default path, all the basic major > modes, c, java, perl, shell, dired ... and probably most of > fundamental working of emacs will break. > > At a user level, if you want absolutely the minimal stuff in load > path, start emacs with --no-site-file --no-init-file. You'll probably > still see entries in load path though. If for some reason you simply > don't want any, you can set it to empty and see what is the effect, or > hack emacs's source. > > =C2=A0 Xah > =E2=88=91http://xahlee.org/ > > =E2=98=84 Xah, Kevin, Thanks for the pointers Mirko