[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building emacs 22.3 with djgpp 2.04 beta/Windows XP SP3 MCE 2005
From: |
Eli Zaretskii |
Subject: |
Re: Building emacs 22.3 with djgpp 2.04 beta/Windows XP SP3 MCE 2005 |
Date: |
Tue, 24 Feb 2009 21:13:06 +0200 |
> From: Allan <mu8ja0i@earthlink.net>
> Date: Sat, 21 Feb 2009 23:53:48 -0600
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Date: Sat, 21 Feb 2009 20:51:03 +0200
> >> From: Eli Zaretskii <eliz@gnu.org>
> >>
> >> Does it help to define the environment variable LOGNAME whose value is
> >> the same as the Windows user name, before starting Emacs?
> >
> > Sorry, that was wrong. (It's been a while since I researched this
> > problem, so I forgot the details.) You need to make sure both USER
> > and USERNAME environment variables are set to the same value. Windows
> > sets USERNAME, so if you want to keep that, make sure USER is set to
> > the same value. If you don't want to set USER globally, you can do it
> > in the [emacs] section of your djgpp.env file.
> >
> >> Setting LOGNAME in the environment should solve the problem in a more
> >> consistent and predictable way.
> >
> > Again, I should have said "setting USER".
> >
> >
> I set the environment variables `USER' and `USERNAME' and it works now;
> I can save the _emacs file. Since I have .emacs also it is not hard to
> tell which one is for djgpp ("pc" window-system). I already knew about
> setting `USER' for the Windows version.
> Thanks for all the help.
I added a description of this problem and its solution to etc/PROBLEMS
for the next release.
Thanks for helping me find and diagnose this.