From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephan Stahl" Newsgroups: gmane.emacs.devel Subject: Re: $HOME default on w32 Date: Wed, 27 Oct 2004 08:19:12 +0200 (CEST) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <14367.217.194.34.123.1098857952.squirrel@wwws.franken.de> References: <20041027024056.DUFJ25072.out010.verizon.net@muskrat> <87y8hsonx5.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Trace: sea.gmane.org 1098858000 26722 80.91.229.6 (27 Oct 2004 06:20:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2004 06:20:00 +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 08:19:50 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 1CMh9y-0000Pe-00 for ; Wed, 27 Oct 2004 08:19:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMhHh-0008Sf-JD for ged-emacs-devel@m.gmane.org; Wed, 27 Oct 2004 02:27:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMhHZ-0008Rt-1F for emacs-devel@gnu.org; Wed, 27 Oct 2004 02:27:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMhHY-0008RU-8i for emacs-devel@gnu.org; Wed, 27 Oct 2004 02:27:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMhHX-0008RK-TJ for emacs-devel@gnu.org; Wed, 27 Oct 2004 02:27:39 -0400 Original-Received: from [193.175.24.27] (helo=ilsa.franken.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CMh9O-0000W9-6V for emacs-devel@gnu.org; Wed, 27 Oct 2004 02:19:14 -0400 Original-Received: from wwws.franken.de (mail-n.franken.de [193.175.24.27]) by ilsa.franken.de (Postfix) with SMTP id DCFBE245D4; Wed, 27 Oct 2004 08:19:11 +0200 (CEST) Original-Received: from 217.194.34.123 (SquirrelMail authenticated user eos) by wwws.franken.de with HTTP; Wed, 27 Oct 2004 08:19:12 +0200 (CEST) In-Reply-To: <87y8hsonx5.fsf-monnier+emacs@gnu.org> Original-To: "Stefan Monnier" User-Agent: SquirrelMail/1.4.0 X-Priority: 3 Importance: Normal 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:29021 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29021 Hi Stefan Monnier said: >> Probably the correct constant to use is CSIDL_PERSONAL, which is the user's >> "My Documents" folder. > >> It is not safe to assume that these well-known folders are somewhere under >> c:\documents and settings, or even under $USERPROFILE, as in a networked >> environment they may get redirected to someplace so that users can have a >> common store. > > 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". Since emacs encourages the user to edit his ".emacs" i think it would be nice to have it in an accessible place.... My 2 cent.... Stephan -- Stephan Stahl