From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help 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 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1235502827 14458 80.91.229.12 (24 Feb 2009 19:13:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2009 19:13:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 20:15:03 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lc2k4-000488-JC for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 20:14:56 +0100 Original-Received: from localhost ([127.0.0.1]:33683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lc2ij-0001Ty-U2 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 14:13:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lc2iK-0001RS-Ja for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 14:13:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lc2iJ-0001QH-LY for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 14:13:07 -0500 Original-Received: from [199.232.76.173] (port=52260 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lc2iJ-0001Q8-Gr for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 14:13:07 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:41715) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lc2iI-00017O-Uk for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 14:13:07 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KFL00D003ZNEZ00@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 21:13:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.160.251]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KFL001KQ42S8YL0@i-mtaout6.012.net.il> for help-gnu-emacs@gnu.org; Tue, 24 Feb 2009 21:13:41 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62332 Archived-At: > From: Allan > Date: Sat, 21 Feb 2009 23:53:48 -0600 > > Eli Zaretskii writes: > > >> Date: Sat, 21 Feb 2009 20:51:03 +0200 > >> From: Eli Zaretskii > >> > >> 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.