all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* won't load .emacs init file
@ 2008-07-31 14:00 paul.d.mead
  2008-07-31 14:19 ` paul.d.mead
  0 siblings, 1 reply; 12+ messages in thread
From: paul.d.mead @ 2008-07-31 14:00 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
  2008-07-31 14:00 won't load .emacs init file paul.d.mead
@ 2008-07-31 14:19 ` paul.d.mead
  2008-07-31 22:33   ` Lennart Borgman (gmail)
                     ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: paul.d.mead @ 2008-07-31 14:19 UTC (permalink / raw)
  To: help-gnu-emacs

On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
  2008-07-31 14:19 ` paul.d.mead
@ 2008-07-31 22:33   ` Lennart Borgman (gmail)
  2008-08-01  8:16   ` Nikolaj Schumacher
       [not found]   ` <mailman.15676.1217543598.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 12+ messages in thread
From: Lennart Borgman (gmail) @ 2008-07-31 22:33 UTC (permalink / raw)
  To: paul.d.mead; +Cc: help-gnu-emacs

paul.d.mead@googlemail.com wrote:
> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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?




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
  2008-07-31 14:19 ` paul.d.mead
  2008-07-31 22:33   ` Lennart Borgman (gmail)
@ 2008-08-01  8:16   ` Nikolaj Schumacher
       [not found]   ` <mailman.15676.1217543598.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 12+ messages in thread
From: Nikolaj Schumacher @ 2008-08-01  8:16 UTC (permalink / raw)
  To: paul.d.mead; +Cc: help-gnu-emacs

paul.d.mead@googlemail.com wrote:

> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.

Reported only by your shell, or also by Emacs?  (`getenv')

Is the value of `user-init-file' correct?

regards,
Nikolaj Schumacher




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
       [not found]     ` <c7359844-354e-44a3-92cf-3b69b74fe277@a1g2000hsb.googlegroups.com>
@ 2008-08-01  8:38       ` Lennart Borgman (gmail)
       [not found]       ` <mailman.15697.1217579952.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 12+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-01  8:38 UTC (permalink / raw)
  To: paul.mead, help-gnu-emacs@gnu.org

paul.mead wrote:
> On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
> <lennart.borg...@gmail.com> wrote:
>> paul.d.m...@googlemail.com wrote:
>>> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
       [not found]       ` <mailman.15697.1217579952.18990.help-gnu-emacs@gnu.org>
@ 2008-08-01  9:47         ` paul.mead
  2008-08-01 16:51           ` Lennart Borgman (gmail)
       [not found]           ` <mailman.15723.1217609511.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: paul.mead @ 2008-08-01  9:47 UTC (permalink / raw)
  To: help-gnu-emacs

On Aug 1, 9:38 am, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> paul.mead wrote:
> > On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
> > <lennart.borg...@gmail.com> wrote:
> >> paul.d.m...@googlemail.com wrote:
> >>> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.

Just tried that option - I get a message "Unknown option `-Q'

Using emacs -q has the usual effect (in my case no different to using
just emacs)

Using getenv, I can see that my HOME environment variable is reporting
corrcetly as /home/paul. I can't find how to get the value of user-
init-file.

I don't know if this is relevant - I tried to run Customize and change
a value in there. When I tried to save changed is gave me an error
message "Saving settings from "emacs -q" would overwrite existing
customizations" - that suggests that I am using emacs -q to start, but
I'm not. There are no aliases set, is there anywhere else that a
configuration file could be hiding?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
  2008-08-01  9:47         ` paul.mead
@ 2008-08-01 16:51           ` Lennart Borgman (gmail)
       [not found]           ` <mailman.15723.1217609511.18990.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 12+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-01 16:51 UTC (permalink / raw)
  To: paul.mead; +Cc: help-gnu-emacs

paul.mead wrote:
> On Aug 1, 9:38 am, "Lennart Borgman (gmail)"
> <lennart.borg...@gmail.com> wrote:
>> paul.mead wrote:
>>> On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
>>> <lennart.borg...@gmail.com> wrote:
>>>> paul.d.m...@googlemail.com wrote:
>>>>> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.
> 
> Just tried that option - I get a message "Unknown option `-Q'

That means you are running a quite old version of Emacs. Maybe the best 
way to proceed would be to upgrade your Emacs (if that is possible)?

> Using emacs -q has the usual effect (in my case no different to using
> just emacs)
> 
> Using getenv, I can see that my HOME environment variable is reporting
> corrcetly as /home/paul. I can't find how to get the value of user-
> init-file.
> 
> I don't know if this is relevant - I tried to run Customize and change
> a value in there. When I tried to save changed is gave me an error
> message "Saving settings from "emacs -q" would overwrite existing
> customizations" - that suggests that I am using emacs -q to start, but
> I'm not. There are no aliases set, is there anywhere else that a
> configuration file could be hiding?
> 




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
       [not found]           ` <mailman.15723.1217609511.18990.help-gnu-emacs@gnu.org>
@ 2008-08-03 11:33             ` paul.mead
  2008-08-03 12:14               ` paul mead
  2008-08-05  8:56             ` paul.mead
  1 sibling, 1 reply; 12+ messages in thread
From: paul.mead @ 2008-08-03 11:33 UTC (permalink / raw)
  To: help-gnu-emacs

On Aug 1, 5:51 pm, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> paul.mead wrote:
> > On Aug 1, 9:38 am, "Lennart Borgman (gmail)"
> > <lennart.borg...@gmail.com> wrote:
> >> paul.mead wrote:
> >>> On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
> >>> <lennart.borg...@gmail.com> wrote:
> >>>> paul.d.m...@googlemail.com wrote:
> >>>>> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.
>
> > Just tried that option - I get a message "Unknown option `-Q'
>
> That means you are running a quite old version of Emacs. Maybe the best
> way to proceed would be to upgrade your Emacs (if that is possible)?
>
> > Using emacs -q has the usual effect (in my case no different to using
> > just emacs)
>
> > Using getenv, I can see that my HOME environment variable is reporting
> > corrcetly as /home/paul. I can't find how to get the value of user-
> > init-file.
>
> > I don't know if this is relevant - I tried to run Customize and change
> > a value in there. When I tried to save changed is gave me an error
> > message "Saving settings from "emacs -q" would overwrite existing
> > customizations" - that suggests that I am using emacs -q to start, but
> > I'm not. There are no aliases set, is there anywhere else that a
> > configuration file could be hiding?

Thanks, I'll give that a try. Never compiled anything under cygwin,
should be a learning experience ;-)


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
  2008-08-03 11:33             ` paul.mead
@ 2008-08-03 12:14               ` paul mead
  0 siblings, 0 replies; 12+ messages in thread
From: paul mead @ 2008-08-03 12:14 UTC (permalink / raw)
  To: help-gnu-emacs

test..


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
       [not found]           ` <mailman.15723.1217609511.18990.help-gnu-emacs@gnu.org>
  2008-08-03 11:33             ` paul.mead
@ 2008-08-05  8:56             ` paul.mead
  2008-08-14 15:45               ` paul.mead
  1 sibling, 1 reply; 12+ messages in thread
From: paul.mead @ 2008-08-05  8:56 UTC (permalink / raw)
  To: help-gnu-emacs

On Aug 1, 5:51 pm, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> paul.mead wrote:
> > On Aug 1, 9:38 am, "Lennart Borgman (gmail)"
> > <lennart.borg...@gmail.com> wrote:
> >> paul.mead wrote:
> >>> On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
> >>> <lennart.borg...@gmail.com> wrote:
> >>>> paul.d.m...@googlemail.com wrote:
> >>>>> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.
>
> > Just tried that option - I get a message "Unknown option `-Q'
>
> That means you are running a quite old version of Emacs. Maybe the best
> way to proceed would be to upgrade your Emacs (if that is possible)?
>
> > Using emacs -q has the usual effect (in my case no different to using
> > just emacs)
>
> > Using getenv, I can see that my HOME environment variable is reporting
> > corrcetly as /home/paul. I can't find how to get the value of user-
> > init-file.
>
> > I don't know if this is relevant - I tried to run Customize and change
> > a value in there. When I tried to save changed is gave me an error
> > message "Saving settings from "emacs -q" would overwrite existing
> > customizations" - that suggests that I am using emacs -q to start, but
> > I'm not. There are no aliases set, is there anywhere else that a
> > configuration file could be hiding?

OK, I've checked on the cygwin package list and there is a newer
version already compiled - 22.1.3 which is probably near enough
(assuming that the current stable version is 22.2). I've installed
that. When I run emacs now I get the following error:

("emacs")
command-line: Cannot open load file: warnings

I also can't get outline mode to work, so I've had to revert to the
earlier version (21.2.1) for now as at least I can keep working with
that.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
  2008-08-05  8:56             ` paul.mead
@ 2008-08-14 15:45               ` paul.mead
  2008-08-14 15:49                 ` paul.mead
  0 siblings, 1 reply; 12+ messages in thread
From: paul.mead @ 2008-08-14 15:45 UTC (permalink / raw)
  To: help-gnu-emacs

On Aug 5, 9:56 am, "paul.mead" <paul.d.m...@googlemail.com> wrote:
> On Aug 1, 5:51 pm, "Lennart Borgman (gmail)"
>
>
>
> <lennart.borg...@gmail.com> wrote:
> > paul.mead wrote:
> > > On Aug 1, 9:38 am, "Lennart Borgman (gmail)"
> > > <lennart.borg...@gmail.com> wrote:
> > >> paul.mead wrote:
> > >>> On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
> > >>> <lennart.borg...@gmail.com> wrote:
> > >>>> paul.d.m...@googlemail.com wrote:
> > >>>>> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.
>
> > > Just tried that option - I get a message "Unknown option `-Q'
>
> > That means you are running a quite old version of Emacs. Maybe the best
> > way to proceed would be to upgrade your Emacs (if that is possible)?
>
> > > Using emacs -q has the usual effect (in my case no different to using
> > > just emacs)
>
> > > Using getenv, I can see that my HOME environment variable is reporting
> > > corrcetly as /home/paul. I can't find how to get the value of user-
> > > init-file.
>
> > > I don't know if this is relevant - I tried to run Customize and change
> > > a value in there. When I tried to save changed is gave me an error
> > > message "Saving settings from "emacs -q" would overwrite existing
> > > customizations" - that suggests that I am using emacs -q to start, but
> > > I'm not. There are no aliases set, is there anywhere else that a
> > > configuration file could be hiding?
>
> OK, I've checked on the cygwin package list and there is a newer
> version already compiled - 22.1.3 which is probably near enough
> (assuming that the current stable version is 22.2). I've installed
> that. When I run emacs now I get the following error:
>
> ("emacs")
> command-line: Cannot open load file: warnings
>
> I also can't get outline mode to work, so I've had to revert to the
> earlier version (21.2.1) for now as at least I can keep working with
> that.

FIXED!

Turns out there was some sort of conflict between the user name for
Windows and the USER variable under cygwin. I just added:
USER=MEAD8982 to my ~/.profile (my Windows username) and moved .emacs
to /home/MEAD8982/ and everything started working.

Cheers for suggestions...
Paul


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: won't load .emacs init file
  2008-08-14 15:45               ` paul.mead
@ 2008-08-14 15:49                 ` paul.mead
  0 siblings, 0 replies; 12+ messages in thread
From: paul.mead @ 2008-08-14 15:49 UTC (permalink / raw)
  To: help-gnu-emacs

On Aug 14, 4:45 pm, "paul.mead" <paul.d.m...@googlemail.com> wrote:
> On Aug 5, 9:56 am, "paul.mead" <paul.d.m...@googlemail.com> wrote:
>
>
>
> > On Aug 1, 5:51 pm, "Lennart Borgman (gmail)"
>
> > <lennart.borg...@gmail.com> wrote:
> > > paul.mead wrote:
> > > > On Aug 1, 9:38 am, "Lennart Borgman (gmail)"
> > > > <lennart.borg...@gmail.com> wrote:
> > > >> paul.mead wrote:
> > > >>> On Jul 31, 11:33 pm, "Lennart Borgman (gmail)"
> > > >>> <lennart.borg...@gmail.com> wrote:
> > > >>>> paul.d.m...@googlemail.com wrote:
> > > >>>>> On Jul 31, 3:00 pm, paul.d.m...@googlemail.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.
>
> > > > Just tried that option - I get a message "Unknown option `-Q'
>
> > > That means you are running a quite old version of Emacs. Maybe the best
> > > way to proceed would be to upgrade your Emacs (if that is possible)?
>
> > > > Using emacs -q has the usual effect (in my case no different to using
> > > > just emacs)
>
> > > > Using getenv, I can see that my HOME environment variable is reporting
> > > > corrcetly as /home/paul. I can't find how to get the value of user-
> > > > init-file.
>
> > > > I don't know if this is relevant - I tried to run Customize and change
> > > > a value in there. When I tried to save changed is gave me an error
> > > > message "Saving settings from "emacs -q" would overwrite existing
> > > > customizations" - that suggests that I am using emacs -q to start, but
> > > > I'm not. There are no aliases set, is there anywhere else that a
> > > > configuration file could be hiding?
>
> > OK, I've checked on the cygwin package list and there is a newer
> > version already compiled - 22.1.3 which is probably near enough
> > (assuming that the current stable version is 22.2). I've installed
> > that. When I run emacs now I get the following error:
>
> > ("emacs")
> > command-line: Cannot open load file: warnings
>
> > I also can't get outline mode to work, so I've had to revert to the
> > earlier version (21.2.1) for now as at least I can keep working with
> > that.
>
> FIXED!
>
> Turns out there was some sort of conflict between the user name for
> Windows and the USER variable under cygwin. I just added:
> USER=MEAD8982 to my ~/.profile (my Windows username) and moved .emacs
> to /home/MEAD8982/ and everything started working.
>
> Cheers for suggestions...
> Paul

Sorry, that's:
set USER=MEAD8982


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-08-14 15:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 14:00 won't load .emacs init file paul.d.mead
2008-07-31 14:19 ` paul.d.mead
2008-07-31 22:33   ` Lennart Borgman (gmail)
2008-08-01  8:16   ` Nikolaj Schumacher
     [not found]   ` <mailman.15676.1217543598.18990.help-gnu-emacs@gnu.org>
     [not found]     ` <c7359844-354e-44a3-92cf-3b69b74fe277@a1g2000hsb.googlegroups.com>
2008-08-01  8:38       ` Lennart Borgman (gmail)
     [not found]       ` <mailman.15697.1217579952.18990.help-gnu-emacs@gnu.org>
2008-08-01  9:47         ` paul.mead
2008-08-01 16:51           ` Lennart Borgman (gmail)
     [not found]           ` <mailman.15723.1217609511.18990.help-gnu-emacs@gnu.org>
2008-08-03 11:33             ` paul.mead
2008-08-03 12:14               ` paul mead
2008-08-05  8:56             ` paul.mead
2008-08-14 15:45               ` paul.mead
2008-08-14 15:49                 ` paul.mead

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.