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: Sat, 21 Feb 2009 20:51:06 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1235243718 11521 80.91.229.12 (21 Feb 2009 19:15:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 19:15:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 20:16:35 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 1LaxKf-0001p1-Ei for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 20:16:17 +0100 Original-Received: from localhost ([127.0.0.1]:42157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaxJF-0006s3-Qb for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 14:14:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LawwM-0007BN-Fx for help-gnu-emacs@gnu.org; Sat, 21 Feb 2009 13:51:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LawwL-0007Aw-Bq for help-gnu-emacs@gnu.org; Sat, 21 Feb 2009 13:51:06 -0500 Original-Received: from [199.232.76.173] (port=48624 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LawwL-0007At-8A for help-gnu-emacs@gnu.org; Sat, 21 Feb 2009 13:51:05 -0500 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:39175) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LawwK-00037q-PH for help-gnu-emacs@gnu.org; Sat, 21 Feb 2009 13:51:05 -0500 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KFF00E00IOET100@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sat, 21 Feb 2009 20:51:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.82.14]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KFF00EGKJ1Z10N0@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sat, 21 Feb 2009 20:51:36 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:62244 Archived-At: > From: Allan > Date: Sat, 21 Feb 2009 10:52:24 -0600 > > Eli Zaretskii writes: > > I think this is due to some messup with your user name as Emacs sees > > it in your setup. Please tell me what these two commands print: > > > > M-: (user-login-name) RET > "dosuser" > > M-: (user-real-login-name) RET > "" : I verified this by logging into two different > accounts. That is the reason: the two should be identical to avoid the problem. Does it help to define the environment variable LOGNAME whose value is the same as the Windows user name, before starting Emacs? > I also tried adding to my .emacs this line : > ... > (setq user-login-name user-real-login-name) > ... > but it made no difference. This won't necessarily help, since user-real-login-name might be nil (not yet initialized) when Emacs processes that line in your .emacs. Setting LOGNAME in the environment should solve the problem in a more consistent and predictable way.