🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189112

Re: Can't add more than one directory to default load-path?

#189112
From: Vivek Khera
Date: Fri, 03 May 1991 17:05
23 lines
1917 bytes
In article <_d4Gso#+1@cs.psu.edu> jim@math.psu.edu (Jim Duncan) writes:

   You can't just add an extra path to paths.h, because each would have to be a
   null-terminated string.  A colon-delimited set is no good either.  I forgot
   to mention in my previous posting that I tried all sorts of creative things
   via paths.h (but maybe I didn't hit the magic permutation).

did you *try* this?  it certainly works for me under 18.55 and 18.57.
i just changed PATH_LOADSEARCH to read

#define PATH_LOADSEARCH "/usr/local/emacs/lisp-local:/usr/local/emacs/lisp"

in paths.h-dist and it works just fine. remember that paths.h is
generated from paths.h-dist when you build emacs.  in 18.55 you will
have to change the sed line in the top-level makefile to to a global
change, rather than single change by appending a "g" to the command.
in 18.57, this is already done.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera, Gradual Student/Systems Guy   Department of Computer Science
ARPA:   khera@cs.duke.edu                 Duke University
UUCP:   ...!mcnc!duke!khera               Durham, NC 27706     (919) 660-6528
Technical Details
Message-ID: <KHERA.91May3130507@thneed.cs.duke.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!ncar!gatech!taco!mcnc!duke!khera
References: <#01G_0e+1@cs.psu.edu> <_d4Gso#+1@cs.psu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,ba199fd1d3424e8b
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-04 09:40:38 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!ncar!gatech!taco!mcnc!duke!khera
From: khera@cs.duke.edu (Vivek Khera)
Newsgroups: gnu.emacs.help
Subject: Re: Can't add more than one directory to default load-path?
Message-ID: <KHERA.91May3130507@thneed.cs.duke.edu>
Date: 3 May 91 17:05:07 GMT
References: <#01G_0e+1@cs.psu.edu> <_d4Gso#+1@cs.psu.edu>
Sender: news@duke.cs.duke.edu
Organization: Duke University CS Dept., Durham, NC
Lines: 23
Nntp-Posting-Host: thneed.cs.duke.edu
In-reply-to: jim@math.psu.edu's message of 3 May 91 15:26:15 GMT