Xref: utzoo comp.emacs:4590 gnu.emacs:142 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!mailrus!bbn!bbn.com!mgkelley From: mgkelley@bbn.com (Matthew G. Kelley) Newsgroups: comp.emacs,gnu.emacs Subject: Re: Setting load-path Message-ID: <32027@bbn.COM> Date: 9 Nov 88 05:36:20 GMT References: <32024@bbn.COM> Sender: news@bbn.COM Reply-To: mgkelley@BBN.COM (Matthew G. Kelley) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 27 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. I don't have an answer, but I have found similar behavior in a number of other situations. As one example, if I have the line: (text-mode) in my .emacs file, then when I start up Emacs, the initial buffer is in initial-major-mode, not text-mode. But, if I do a M-x load-file .emacs after I'm already in Emacs, then the buffer is put into text-mode as expected. Another point of interest is that the characteristic I want is in effect _during_ the loading, but then reverts to the previous state after the loading is finished. (I.e., the code in my .emacs file sees text-mode, not initial-major-mode). So, can anyone enlighten me as to the logic of all this (if there is any)?