Path: 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 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