| Re: won't load .emacs init file |
|
 |
|
 |
|
 |
|
 |
Group: gnu.emacs.help · Group Profile
Author: Lennart Borgman (gmail)Lennart Borgman (gmail) Date: Aug 1, 2008 01:38
paul.mead wrote:
> On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
> gmail.com> wrote:
>>>> I'm running emacs under cygwin. For some reason my .emacs file is
>>>> being ignored.
>>>> The environment variable for HOME is reporting correctly as /home/
>>>> paul. That is where I have placed my .emacs file. I have tried running
>>>> using --debug-init and it reports no errors.
>>>> I have evaluated every line in the file in turn and they all work
>>>> fine. It is as if it's running emacs -q, but there are NO aliases set
>>>> or scripts which could be running instead.
>>>> Close to my wits' end. Can you help?
>>>> Thanks
>>> Additional information - running M-x load-file ~/.emacs loads the init
>>> file perfectly, it just doesn't load when I start emacs.
>> Do you mean that if you start with
>>
>> emacs -Q
>>
>> then the M-x load-file ~/.emacs works?
>
> No, I just srart with
> emacs
> but loading the ~/.emacs file manually sets the config up ok.
If you start with
emacs
instead of
emacs -Q
then there is the possibility that something in your site-start.el or
default.el changes HOME.
|