From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11939: 24.1; `save-buffers-kill-emacs' loses minibuffer focus whenit calls `list-processes' Date: Mon, 23 Jul 2012 20:33:04 +0300 Message-ID: <83mx2qz8kv.fsf@gnu.org> References: <500173A5.3040608@gmx.at> <1986D90E22154321A44B6E0110CA4F5A@us.oracle.com> <50019C2F.8060103@gmx.at> <6B9036DBFDEF4881AB39804520BF63B3@us.oracle.com> <5002BEC6.3040106@gmx.at> <893E59C2E4F94D6EB910560C9E8C42CD@us.oracle.com> <5002EAF4.5080107@gmx.at> <6F73D04E8EE144E780D602DFEBA48E7B@us.oracle.com> <5003DAF2.2060400@gmx.at> <50043C3D.7090201@gmx.at> <208B7D7BB4BC4339ADCC1166F76C1CD2@us.oracle.com> <500449B7.6070309@gmx.at> <023F63BCBF9442EBAEDCCE9D8A59E5E4@us.oracle.com> <5005354E.6040306@gmx.at> <62CF21F0010048E2BC1391192EB943FF@us.oracle.com> <5006E14B.3000407@gmx.at> <47731CC5C6EC4ED9AB9E9E05E259572C@us.oracle.com> <5007E47B.3050907@gmx.at> <446B437450EC47968D15C20D7142296B@us.oracle.com> <500A8C0E.4040006@gmx.at> <96A974694CF64567A3EAB85185AB3A5C@us.oracle.com> <500BBE6F.6020007@gmx.at> <1403DD3D67534F53BC023CC99A258DF5@us.oracle.com> <838veb209m.fsf@gnu.org> <834n@[87.69.210.75]> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1343064819 12713 80.91.229.3 (23 Jul 2012 17:33:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2012 17:33:39 +0000 (UTC) Cc: 11939@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 23 19:33:38 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1StMVk-0001dM-7D for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jul 2012 19:33:36 +0200 Original-Received: from localhost ([::1]:45203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StMVj-00070e-Gl for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jul 2012 13:33:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StMVh-00070S-2c for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 13:33:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StMVb-000885-6x for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 13:33:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StMVb-00087y-3E for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 13:33:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1StMbx-0004Pv-Ie for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 13:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jul 2012 17:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11939 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11939-submit@debbugs.gnu.org id=B11939.134306517816937 (code B ref 11939); Mon, 23 Jul 2012 17:40:01 +0000 Original-Received: (at 11939) by debbugs.gnu.org; 23 Jul 2012 17:39:38 +0000 Original-Received: from localhost ([127.0.0.1]:33238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StMba-0004P7-7L for submit@debbugs.gnu.org; Mon, 23 Jul 2012 13:39:38 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:43302) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StMbY-0004Oz-0I for 11939@debbugs.gnu.org; Mon, 23 Jul 2012 13:39:37 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M7M00F00JABTJ00@a-mtaout23.012.net.il> for 11939@debbugs.gnu.org; Mon, 23 Jul 2012 20:32:59 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7M00FZOJEZMM80@a-mtaout23.012.net.il>; Mon, 23 Jul 2012 20:32:59 +0300 (IDT) Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated. In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62320 Archived-At: > From: "Drew Adams" > Cc: <11939@debbugs.gnu.org> > Date: Sun, 22 Jul 2012 14:16:55 -0700 > > > > > Error (initialization): User has no home directory > > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > What does that last message tell you? I think this is the key to > > > unlock your mystery. > > > > Perhaps you can tell me how so? > > And in Emacs (including emacs -Q), my `user-login-name' is defined correctly. > > I mention this because I notice that there seem to be 2 spaces between "User" > and "has" in that message. Perhaps it is trying to print a user name of only "" > between the two words. > > BTW, if that is the case, then that error message is pretty lame. It is almost > always better to quote the name that a message wants to refer to (i.e., wants to > quote). > > That message would be clearer (if this in fact is the problem) if it said: > > "User `' has no home directory". Or perhaps "User name is empty". There's no problem with your user name. What you see above is startup.el shooting itself in the foot, because it actually _sets_ the variable that holds the user name to an empty string (for boring reasons related to the implementation; see the code around the error message for the details, if you are interested). I've committed a fix to display the user name correctly, even if that variable is set to an empty string.