From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Default HOME to USERPROFILE on w32? Date: Wed, 25 May 2005 00:22:23 +0100 Message-ID: References: <4293A3A3.4040700@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116977140 16500 80.91.229.2 (24 May 2005 23:25:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 May 2005 23:25:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 25 01:25:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Daiku-0006LP-0K for ged-emacs-devel@m.gmane.org; Wed, 25 May 2005 01:24:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Daioe-00024L-Dw for ged-emacs-devel@m.gmane.org; Tue, 24 May 2005 19:28:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dailx-0000GF-Vg for emacs-devel@gnu.org; Tue, 24 May 2005 19:25:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dailu-0000E7-Hh for emacs-devel@gnu.org; Tue, 24 May 2005 19:25:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dailt-0000Dc-WD for emacs-devel@gnu.org; Tue, 24 May 2005 19:25:14 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Daijo-0008Go-1E for emacs-devel@gnu.org; Tue, 24 May 2005 19:23:04 -0400 Original-Received: from wanchan.jasonrumney.net (i-195-137-77-250.freedom2surf.net [195.137.77.250]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j4ONMjch029333; Wed, 25 May 2005 00:22:46 +0100 Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id ACC5FDDE60; Wed, 25 May 2005 00:22:45 +0100 (BST) Original-To: Lennart Borgman In-Reply-To: <4293A3A3.4040700@student.lu.se> (Lennart Borgman's message of "Tue, 24 May 2005 23:58:59 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) 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:37588 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37588 Lennart Borgman writes: > There was a discussion in oct 2004 about what to do on w32 if HOME env > var was not set. I think the decision pretty much was to use > USERPROFILE. Note that it is probably more portable (but more work) to use SHGetSpecialFolderLocation(..., CSIDL_PROFILE,...) than the USERPROFILE environment variable.