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: $HOME default on w32 Date: Wed, 27 Oct 2004 08:58:31 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20041027024056.DUFJ25072.out010.verizon.net@muskrat> <87y8hsonx5.fsf-monnier+emacs@gnu.org> <14367.217.194.34.123.1098857952.squirrel@wwws.franken.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098881958 25410 80.91.229.6 (27 Oct 2004 12:59:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2004 12:59:18 +0000 (UTC) Cc: 'Kai Grossjohann' , Jay Finger , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 27 14:59:02 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 1CMnOI-0001bh-00 for ; Wed, 27 Oct 2004 14:59:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMnW2-0004pd-9W for ged-emacs-devel@m.gmane.org; Wed, 27 Oct 2004 09:07:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMnVo-0004oX-AM for emacs-devel@gnu.org; Wed, 27 Oct 2004 09:06:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMnVn-0004oD-Q2 for emacs-devel@gnu.org; Wed, 27 Oct 2004 09:06:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMnVn-0004o4-Lm for emacs-devel@gnu.org; Wed, 27 Oct 2004 09:06:47 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMnNr-00006c-QR for emacs-devel@gnu.org; Wed, 27 Oct 2004 08:58:35 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 85C2782830D; Wed, 27 Oct 2004 08:58:35 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 5617A4AC42F; Wed, 27 Oct 2004 08:58:32 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 175728CA23; Wed, 27 Oct 2004 08:58:32 -0400 (EDT) Original-To: "Stephan Stahl" In-Reply-To: <14367.217.194.34.123.1098857952.squirrel@wwws.franken.de> (Stephan Stahl's message of "Wed, 27 Oct 2004 08:19:12 +0200 (CEST)") 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29050 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29050 >> So what the difference between the two (conceptually) ? >> Which one should we use ? >> What does it mean if $USERPROFILE points to C:/foo/bar and CSIDL_PERSONAL >> points to U:/toto/titi ? What kind of file should go where ? > As far as i understand it $USERPROFILE points to the place where the > system puts the user files.. (directories like "Cookies", > "Favorites", "Start Menu"). > While "My Documents" holds the users own files. > FWIW i use "My Documents" as $HOME because it is the most accessible > place when working with windowze. Every filedialog has an item "My > Documents", the second folder in the windowze file explorer is "My > Documents". So there are two issues w.r.t $HOME: 1 - $HOME is used for convenience so the user can access his files with the ~ shorthand. 2 - $HOME is used to find user-specific (as opposed to global) settings in files such as ~/.emacs. Number 2 tells us $HOME should be set to $USERPROFILE whereas number 1 would tend to prefer CSIDL_PERSONAL. I find number 2 much more important, so I stick to my original idea. Stefan