From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Re: $HOME default on w32 Date: Tue, 26 Oct 2004 00:31:47 +0800 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <00ba01c4baa5$aa979ed0$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1098721908 22037 80.91.229.6 (25 Oct 2004 16:31:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2004 16:31:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 25 18:31:44 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 1CM7l2-0005QW-00 for ; Mon, 25 Oct 2004 18:31:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CM7sg-0004uR-KL for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2004 12:39:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CM7sW-0004uB-CC for emacs-devel@gnu.org; Mon, 25 Oct 2004 12:39:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CM7sV-0004tk-Sa for emacs-devel@gnu.org; Mon, 25 Oct 2004 12:39:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CM7sV-0004tV-Oi for emacs-devel@gnu.org; Mon, 25 Oct 2004 12:39:27 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CM7kd-0005um-B7 for emacs-devel@gnu.org; Mon, 25 Oct 2004 12:31:19 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CM7kc-0000WE-00 for ; Mon, 25 Oct 2004 18:31:18 +0200 Original-Received: from 218.2.143.161 ([218.2.143.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Oct 2004 18:31:18 +0200 Original-Received: from chenggao by 218.2.143.161 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Oct 2004 18:31:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 54 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 218.2.143.161 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:y3rdDgDSjWoin5/LV6UDDuIH9ec= 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:28928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28928 ,---- | It seems that on w32, if HOME is not defined we default it to C:/. | Wouldn't it make more sense to default it to $USERPOFILE (if set) which on XP | seems to typically point to C:/Documents and Files/ which is about as | close to a "home directory" as it gets? `---- May not be a good idea. C:/Documents and Settings/, it may be C:/Documents and Settings/Application Data/ or C:/Documents and Settings/Local Settings/Application Data/. I am not sure. 2. There is chance that you may format your C: and reinstall Windows from scratch. It's highly possible you forget there is so important data under this too-damned-long-and-silly-named-with-many-stupid-spaces-dir. You know what this means. I can image that there must be many OE users around the world who forget to backup their emails before reinstalling. I know I talked too much. To sum up, I think it's very bad idea to follow this M$ sillie. And if possible, I think use a subdir under C: should be avoided. A good choice may be d:/home. If you are a Windows sufferer, you know you have to reinstall it several times each year. And every time, you have risk to lose some important data. Just my 2 RMB cents. -- 这去者,不能见他的脸,背影模糊。