From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jasonr (Jason Rumney) @ f2s.com Newsgroups: gmane.emacs.help Subject: Re: emacs install location from lisp? Date: Tue, 02 Aug 2005 15:07:37 +0100 Organization: freedom2surf Message-ID: References: <1122981606.552261.233520@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1122992088 26553 80.91.229.2 (2 Aug 2005 14:14:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2005 14:14:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 02 16:14:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DzxVP-0007tZ-97 for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Aug 2005 16:12:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzxY6-0002Ir-2l for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Aug 2005 10:15:18 -0400 Original-Lines: 12 Original-NNTP-Posting-Host: i-83-67-23-108.freedom2surf.net Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!news-out.superfeed.net!spool6-east.superfeed.net!propagator-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news.freedom2surf.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-X-Trace: news.freedom2surf.net 1122991724 9231 83.67.23.108 (2 Aug 2005 14:08:44 GMT) Original-X-Complaints-To: abuse@freedom2surf.net Original-NNTP-Posting-Date: Tue, 2 Aug 2005 14:08:44 +0000 (UTC) X-Face: .PruP48JRO{Z6Rfz?YkZ>)zR+7!Up"`!1Cvq{fGd)@K; y]C:8r\CrJ^Mj\_U"9*WD2 I#zdK_#tw]y9*Y$?ge&b23Zt7zpknL{)F7Px4DVSY6b9dg[^VtkN-R_$YJ0cL''j[, }O#k{k| User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:WKszizmi6kTUaVLH0vGUya5MGIQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:132838 Original-To: help-gnu-emacs@gnu.org 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:28342 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28342 GGarramuno@aol.com writes: > How can I obtain the emacs install location from within lisp? > I'd like to add some additional subdirs within the lisp/ directory to > my load path. Firstly, you shouldn't need to. All subdiricetories should be automatically added to the load-path at startup. Secondly, you should add external packages to site-lisp, not lisp. This makes upgrading easier and prevents confusion over which packages came with Emacs and which you added later.