Path: utzoo!attcan!uunet!yale!choo From: choo@aqua.cs.yale.edu (young-il choo) Newsgroups: comp.emacs Subject: Re: Setting load-path Message-ID: <42619@yale-celray.yale.UUCP> Date: 9 Nov 88 22:20:06 GMT References: <32024@bbn.COM> Sender: root@yale.UUCP Distribution: na Organization: Yale Computer Science New Haven CT 06520-2158 Lines: 25 In-reply-to: dsill@NSWC-OAS.ARPA's message of 8 Nov 88 17:45:50 GMT In article <32024@bbn.COM> dsill@NSWC-OAS.ARPA (Dave Sill) writes: Why doesn't the following command work: (setq load-path '("/local/dev/src/18.52/lisp" "/ef80/dsill/lib")) It's in ~/.emacsrc, and I invoke Emacs as "emacs -l ~/.emacsrc". The rest of the commands in .emacsrc are executed, and if I manually load .emacsrc everything seems to work right. The answer is that it does work. The problem is that after .emacsrc is loaded something else is reseting the load-path -- most likely a locally defined file called "default.el" If you look in ../lisp/starup.el at "command-line", when emacs starts, it first processes all the command line arguments (including your -l ~/.emacsrc) and then it loads the user default ~/.emacs AND THEN it loads default.el, UNLESS, you (setq inhibit-default-init t). The solution is to (setq inhibit-default-init t), but check your ../local/default.el to see that nothing important is being ignored. -- Young-il Choo ----------------- Yale Computer Science -- choo-young-il@cs.yale.edu --