🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189183

Re: Changing the standard load-path

#189183
From: Mike Allen
Date: Tue, 09 Apr 1991 14:05
48 lines
2713 bytes
>>>>> On 8 Apr 91 23:34:05 GMT, stabl@fmi.uni-passau.de (Robert Stabl) said:
In article <STABL.91Apr8193405@trillian.fmi.uni-passau.de> stabl@fmi.uni-passau.de (Robert Stabl) writes:

Robert> Nntp-Posting-Host: trillian.fmi.uni-passau.de

>>>>> On 8 Apr 91 11:08:05 "rbs" == stabl@fmi.uni-passau.de (Robert Stabl) wrote:

rbs> Maybe this is a rather silly question, but after many, many
rbs> attempts I'm rather confused: How do I change (extend !) the
rbs> standard load-path for GNU emacs (Version 18.57, on SUN-3
rbs> and Sparc)?

Robert> Thanks for the help.

Robert> I extended the path using the define PATH_LOADSEARCH in src/paths.h:
Robert> #define PATH_LOADSEARCH "/public/gnu/lib/emacs/contrib:/public/gnu/lib/emacs/lip"

Robert> I did not read the comments in paths.h carefully.

Robert> Robert Stabl.

Robert> --
>>>>>>>> Robert Stabl <<<<<<<>>>>> stabl@unipas.fmi.uni-passau.de <<<<<
> Dept. of Computer Science <>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<
>>>> University of Passau <<<>>>>>>>>> Phone: +(49)851/509-711 <<<<<<<<
>>> D-8390 Passau, Germany <<>>>>>>>>>> Fax: +(49)851/509-497 <<<<<<<<<
You can change the path at any time by modifying the variable
load-path.  For example, in my .emacs I do:
(setq load-path (cons (expand-file-name "~/emacs-lib")
		      (cons "/usr/local/emacs/lisp/local"
		      (cons "/usr/local/emacs/lisp" load-path))))

Which checks my local lib, then our site-specific lib, then the
distribution lib.

-Mike
--
===============================================================================
			   Michael E. Allen
			    Mail Stop 1046
			    SSC Laboratory
			2550 Beckleymeade Ave.
			   Dallas, TX 75237
			    (214)708-3031

al tadin et khaverkha 'ad shetagi'a limkomo
			-Ethics of the Fathers
Do not judge your fellow man until you have come to his place.
Technical Details
Message-ID: <ALLEN.91Apr9100500@manic.ssc.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!sunova!sunova.ssc.gov!allen
References: <STABL.91Apr8110805@trillian.fmi.uni-passau.de> <STABL.91Apr8193405@trillian.fmi.uni-passau.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,d7cb4a04079254a8
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-04-09 10:07:29 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!sunova!sunova.ssc.gov!allen
From: allen@manic.ssc.gov (Mike Allen)
Newsgroups: gnu.emacs.help
Subject: Re: Changing the standard load-path
Message-ID: <ALLEN.91Apr9100500@manic.ssc.gov>
Date: 9 Apr 91 14:05:00 GMT
References: <STABL.91Apr8110805@trillian.fmi.uni-passau.de>
 <STABL.91Apr8193405@trillian.fmi.uni-passau.de>
Sender: usenet@sunova.ssc.gov
Reply-To: allen@sscvx1.ssc.gov
Distribution: gnu
Organization: SSC Laboratory, Dallas, TX
Lines: 48
In-Reply-To: stabl@fmi.uni-passau.de's message of 8 Apr 91 23:34:05 GMT
Nntp-Posting-Host: manic