From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: $USERPROFILE for $HOME on W32 Date: Mon, 22 Nov 2004 11:47:48 -0500 Message-ID: References: <87vfbycsgj.fsf-monnier+emacs@gnu.org> <01c4d0aa$Blat.v2.2.2$95b06680@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101142996 21123 80.91.229.6 (22 Nov 2004 17:03:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2004 17:03:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 22 18:03:04 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CWHOf-00064A-00 for ; Mon, 22 Nov 2004 17:50:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWHXi-0007jT-FG for ged-emacs-devel@m.gmane.org; Mon, 22 Nov 2004 11:59:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CWHXS-0007hx-Vj for emacs-devel@gnu.org; Mon, 22 Nov 2004 11:59:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CWHXR-0007gi-LC for emacs-devel@gnu.org; Mon, 22 Nov 2004 11:59:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWHXR-0007gL-Fi for emacs-devel@gnu.org; Mon, 22 Nov 2004 11:59:41 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CWHOA-0006fN-IG; Mon, 22 Nov 2004 11:50:06 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 2D8038282B1; Mon, 22 Nov 2004 11:50:06 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 8F1EB4AC544; Mon, 22 Nov 2004 11:47:48 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 8BB4D8CA69; Mon, 22 Nov 2004 11:47:48 -0500 (EST) Original-To: Eli Zaretskii In-Reply-To: <01c4d0aa$Blat.v2.2.2$95b06680@zahav.net.il> (Eli Zaretskii's message of "Mon, 22 Nov 2004 17:46:32 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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: main.gmane.org gmane.emacs.devel:30255 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30255 >> + ;; On W32, try to use $USERPROFILE if $HOME isn't properly set. >> + (when (and (memq system-type '(windows-nt)) > Shouldn't this take effect for the Cygwin build as well? Quite possible, but I only have experience with `windows-nt'. Note that I used the `memq' form to make it trivial to add other cases like cygwin or ms-dos. Stefan