From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: $HOME default on w32 Date: Wed, 27 Oct 2004 19:37:51 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <01a301c4bc4b$ba20d720$0200a8c0@sedrcw11488> References: <20041027171430.KRZX22257.out007.verizon.net@muskrat> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098898747 17577 80.91.229.6 (27 Oct 2004 17:39:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2004 17:39:07 +0000 (UTC) Cc: ''Kai Grossjohann' ' , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 27 19:38: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 1CMrl3-0005oC-00 for ; Wed, 27 Oct 2004 19:38:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMrso-0000NI-Jm for ged-emacs-devel@m.gmane.org; Wed, 27 Oct 2004 13:46:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMrsW-0000MS-GU for emacs-devel@gnu.org; Wed, 27 Oct 2004 13:46:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMrsU-0000LG-3P for emacs-devel@gnu.org; Wed, 27 Oct 2004 13:46:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMrsT-0000KX-NO for emacs-devel@gnu.org; Wed, 27 Oct 2004 13:46:29 -0400 Original-Received: from [81.228.11.115] (helo=av9-1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMrjy-0001ga-2r for emacs-devel@gnu.org; Wed, 27 Oct 2004 13:37:42 -0400 Original-Received: by av9-1-sn1.fre.skanova.net (Postfix, from userid 502) id 6289E37E5A; Wed, 27 Oct 2004 19:37:41 +0200 (CEST) Original-Received: from smtp3-1-sn1.fre.skanova.net (smtp3-1-sn1.fre.skanova.net [81.228.11.163]) by av9-1-sn1.fre.skanova.net (Postfix) with ESMTP id 543AC37E4C; Wed, 27 Oct 2004 19:37:41 +0200 (CEST) Original-Received: from sedrcw11488 (t2o58p61.telia.com [62.20.165.61]) by smtp3-1-sn1.fre.skanova.net (Postfix) with SMTP id 020D437E43; Wed, 27 Oct 2004 19:37:38 +0200 (CEST) Original-To: "Jay Finger" , "'Stefan Monnier'" , "'Stephan Stahl'" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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:29071 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29071 Jay, if I got you right there is technically no difference between CSIDL_PERSONAL and CSIDL_APPDATA (except for the location). It is more on the conceptual side - including the visibility of the folders. CSIDL_PERSONAL points to "My Documents" which is more visible. In my opinion "My Documents" is more like $HOME. As a programmer I was quite a bit frustrated in the beginning before I found "Application Data". So the choice might depend on the audience. Actually I feel the division between "My Documents" and "Application Data" is far better than $HOME that points to both. But of course we can not do much about that now. - Lennart ----- Original Message ----- From: "Jay Finger" : CSIDL_PERSONAL (i.e. My Documents) is per-user. By default this is equal to : "$USERPROFILE\My Documents". On networked systems My Documents is often : redirected to a user-specific location on the network so that users can have : one directory of data. The system also does sync'ing so that when offline : (e.g. the laptop is not on the network) the data is still available. ... : So I think CSIDL_PERSONAL would meet both 1 and 2. : : Just to confuse the issue a little:-) there are two others that you might : want to consider, but I don't think they're correct for $HOME. : CSIDL_APPDATA is application specific data (e.g. where an app might save : it's own metadata that users aren't entirely aware of). For example, : Microsoft Outlook saves some user settings in : CSIDL_APPDATA\Microsoft\Outlook\... This directory is by default at : "$USERPROFILE\Application Data", but may roam with the user from machine to : machine. In other words, it is user specific, but might not be machine : specific.