From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: rogue option init-file-user Date: Sat, 07 Jan 2006 16:39:32 +0100 Message-ID: <43BFE0B4.8060007@student.lu.se> References: <200601070348.k073mcR00400@raven.dms.auburn.edu> <43BFC9D2.4090101@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1136649300 25558 80.91.229.2 (7 Jan 2006 15:55:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2006 15:55:00 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 07 16:54:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvGP7-0005G8-F0 for ged-emacs-devel@m.gmane.org; Sat, 07 Jan 2006 16:54:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvGQw-0008BF-IN for ged-emacs-devel@m.gmane.org; Sat, 07 Jan 2006 10:56:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvGCA-0002KB-K0 for emacs-devel@gnu.org; Sat, 07 Jan 2006 10:41:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvGC9-0002J6-K4 for emacs-devel@gnu.org; Sat, 07 Jan 2006 10:41:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvGC8-0002Ie-RD for emacs-devel@gnu.org; Sat, 07 Jan 2006 10:41:29 -0500 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvGE4-0005kJ-LQ; Sat, 07 Jan 2006 10:43:28 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.069.1) id 43BC51130008DE5F; Sat, 7 Jan 2006 16:39:32 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Eli Zaretskii In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48821 Archived-At: Eli Zaretskii wrote: >>Date: Sat, 07 Jan 2006 15:01:54 +0100 >>From: Lennart Borgman >>Cc: emacs-devel@gnu.org >> >>Beside the above problem the value on w32 seems strange. I get the value >>"" with CVS Emacs from 2006-01-06 after .emacs have been read. >> >> > >This isn't strange, this is exactly what should happen. The doc >string of init-file-user says, among other things: > > Otherwise, the value may be the null string, meaning use the init file > for the user that originally logged in, or it may be a > string containing a user's name meaning use that person's init file. > > In either of the latter cases, `(concat "~" init-file-user "/")' > evaluates to the name of the directory where the `.emacs' file was > looked for. > >With the possible exception of the term ``null string'' (which really >means an empty string), this describes what you see: since the .emacs >file used was from the user ``that originally logged in'', you get the >value of "", and (concat "~" init-file-user "/") will yield "~/", your >home directory. > >I fixed the doc string to say "empty string", for more clarity. > > Thanks, sorry, I believe I should have understood that.