🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1896

Re: absolute paths in GNU emacs (18.55-berkeley unix)

#1896
From: Nate Hess
Date: Mon, 26 Feb 1990 17:55
22 lines
1402 bytes
In article <9002240247.AA13575@brauer.harvard.edu>, primer@BRAUER (Jeremy Primer) writes:
>It annoyed me somewhat that putting
>
>(setq load-path (cons "~/emacs/lisp" load-path))
>
>in my .emacs file failed to cause emacs to search my own lisp directory for
>elisp code.  Reason: emacs only likes to use absolute paths internally,

Well, "~/emacs/lisp" *is* an absolute path.  You just expect Emacs to
expand the "~" for you.  A way to have this done is to do something
like:

	(setq load-path (cons (expand-file-name "~/emacs/lisp") load-path))


Hope this helps,
--woodstock
-- 
	   "What I like is when you're looking and thinking and looking
	   and thinking...and suddenly you wake up."   - Hobbes

nhess@oracle.com or ...!uunet!oracle!nhess or (415) 598-3046
Technical Details
Message-ID: <1990Feb26.175514.10768@oracle.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!apple!oracle!news
References: <9002240247.AA13575@brauer.harvard.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!apple!oracle!news
From: nhess@dvlseq.oracle.com (Nate Hess)
Newsgroups: gnu.emacs.bug
Subject: Re: absolute paths in GNU emacs (18.55-berkeley unix)
Message-ID: <1990Feb26.175514.10768@oracle.com>
Date: 26 Feb 90 17:55:14 GMT
References: <9002240247.AA13575@brauer.harvard.edu>
Sender: news@oracle.com
Reply-To: nhess@dvlseq.oracle.com (Nate Hess)
Distribution: gnu
Organization: Oracle Corporation, Belmont, CA
Lines: 22
In-reply-to: primer@BRAUER.HARVARD.EDU (Jeremy Primer)
Posting-Front-End: Gnews 2.0