From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: What about a seperate "HOME" environment variable under w32? Date: Mon, 25 Apr 2005 17:35:02 +0200 Message-ID: References: <5065e2900504250508506d7640@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114443266 23454 80.91.229.2 (25 Apr 2005 15:34:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2005 15:34:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 25 17:34:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQ5ad-0007PU-QD for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2005 17:33:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQ5gB-0006mB-Fn for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2005 11:39:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQ5fl-0006hv-Ot for emacs-devel@gnu.org; Mon, 25 Apr 2005 11:38:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQ5fj-0006ha-OG for emacs-devel@gnu.org; Mon, 25 Apr 2005 11:38:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQ5fe-0006eH-My for emacs-devel@gnu.org; Mon, 25 Apr 2005 11:38:55 -0400 Original-Received: from [193.99.153.30] (helo=seneca.benny.turtle-trading.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DQ5hE-0005sv-3b for emacs-devel@gnu.org; Mon, 25 Apr 2005 11:40:28 -0400 Original-Received: from seneca.benny.turtle-trading.net.turtle-trading.net (seneca.benny.turtle-trading.net [127.0.0.1]) (authenticated bits=0) by seneca.benny.turtle-trading.net (8.12.8/8.12.8) with ESMTP id j3PFZ4Ln004888; Mon, 25 Apr 2005 17:35:07 +0200 Original-To: Sun Yijiang In-Reply-To: <5065e2900504250508506d7640@mail.gmail.com> (Sun Yijiang's message of "Mon, 25 Apr 2005 20:08:51 +0800") User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux) 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:36365 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36365 Hi Sun Yijiang, Sun Yijiang writes: > The %HOME% environment variable is used by many programs under w32, > so it's really a mess sometime. The HOME environment variable is used by almost every program with a Unix heritage. But it seems pretty clear to me what HOME is. It's the place where user-level configuration files are stored and on Unix it's also the place where the user can store his/her other personal files. Windows has other places for the latter purpose, but that is not relevant here, I think. > I suggest Emacs use a different HOME variable underw32, something > like %EMACS_HOME% or %EHOME%. You can achieve that effect with other means, like starting Emacs from a batch that sets HOME. Or let the ~/.emacs in your standard HOME jkust be a short stub that points to another file in some other directory like e.g. (setenv "HOME" "x:/some/other/directory") (load "~/.emacs) That way all subsequent references to HOME are redirected. benny