Path: utzoo!utgpu!water!watmath!clyde!bellcore!decvax!ucbvax!bloom-beacon!ptt.lcs.mit.edu!markl From: markl@PTT.LCS.MIT.EDU Newsgroups: comp.emacs Subject: Re: setq load-path bug in GNU Emacs? Message-ID: <8802111240.AA18415@PTT.LCS.MIT.EDU> Date: 11 Feb 88 12:40:25 GMT Sender: daemon@bloom-beacon.MIT.EDU Reply-To: markl@PTT.LCS.MIT.EDU Lines: 50 To: nntp-poster@PTT.LCS.MIT.EDU Repository: PTT Originating-Client: thyme From: msb@ho5cad.ATT.COM Date: 8 Feb 88 14:59:34 GMT Sender: nuucp@ho7cad.ATT.COM In article <2402@haddock.ISC.COM> karl@haddock.ISC.COM (Karl Heuer) writes: In article <724@PT.CS.CMU.EDU> cef@H.GP.CS.CMU.EDU (Charles Fineman) writes: >[Since load-path doesn't like tildes], you might try the following: > (setq load-path (cons (format "%s/.emacs" (getenv "HOME")) load-path)) I ran into this problem, too. I think a better solution is (setq load-path (cons (expand-file-name "~/lib/emacs") load-path)) Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint ---------------------------------------------------------------- ---------------------------------------------------------------- My first question: Why is this a "better solution"? My second question: I am just starting to learn some of this GNU .el stuff -- I'd looked a bit into the UniPress .ml stuff. Since there is not a 'tutorial' on the language, I'd be interested to hear from some experienced .el-programmers. All of the following were proposed as solutions to the original problem. Are any of the following good/bad, correct/incorrect, efficient/inefficient, etc? (setq load-path (cons (format "%s/.emacs" (getenv "HOME")) load-path)) (setq load-path (concat (getenv "HOME") "/elisp-library") load-path) (setq load-path (cons (substitute-in-file-name "$HOME/emacs") load-path)) (setq load-path (cons (expand-file-name "~/lib/emacs") load-path)) Sorry I couldn't give specific credit to the authors of the lines -- you can look them up for yourself in previous net-news articles. My third question: Is it true that there is no 'tutorial' on the elisp language? Thanks in advance for any help -- I'm sure that others will appreciate it also.