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: Problems with HOME on w32 Date: Sat, 20 May 2006 08:52:22 +0200 Message-ID: <446EBCA6.9060109@student.lu.se> References: <446CB315.6030309@student.lu.se> <446CDB19.9030807@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 1148107969 10047 80.91.229.2 (20 May 2006 06:52:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 May 2006 06:52:49 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 20 08:52:47 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 1FhLKN-0007FD-SB for ged-emacs-devel@m.gmane.org; Sat, 20 May 2006 08:52:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhLKN-0007Fb-Ge for ged-emacs-devel@m.gmane.org; Sat, 20 May 2006 02:52:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FhLK6-0007FV-NL for emacs-devel@gnu.org; Sat, 20 May 2006 02:52:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FhLK5-0007FH-Rl for emacs-devel@gnu.org; Sat, 20 May 2006 02:52:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhLK5-0007F9-Il for emacs-devel@gnu.org; Sat, 20 May 2006 02:52:25 -0400 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FhLNY-0000CY-EA; Sat, 20 May 2006 02:56:00 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn2.hy.skanova.net (7.2.072.1) id 446D8D4E00031154; Sat, 20 May 2006 08:52:23 +0200 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) 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:54856 Archived-At: Eli Zaretskii wrote: >> Date: Thu, 18 May 2006 22:37:45 +0200 >> From: Lennart Borgman >> >> - Create "C:\.emacs". Put something like (message "c:/emacs here") in it. >> - In cmd.exe shell do "set home=" >> - Then start Emacs from this cmd.exe shell with just "emacs.exe". >> >> The Emacs frame that is shown is for me then splitted in two windows >> with a warning in the bottom window saying >> >> Error (initialization): User has no home directory >> > > It turns out the code in init_environment was simply not dump-safe. I > think I fixed it now in CVS; please check. But beware: to reproduce > the bug you _must_ dump Emacs when C:/.emacs does not exist, then > invoke the dumped Emacs with C:/.emacs in place. If temacs sees > C:/.emacs, the bug will not happen, even with the sources before my > change. This puzzled me at first, as just recompiling w32.c seemed to > solve the problem. > Thanks Eli, it looks like the problem is fixed now.