unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>
Cc: emacs-devel@gnu.org
Subject: Re: What about a seperate "HOME" environment variable under w32?
Date: Mon, 25 Apr 2005 17:35:02 +0200	[thread overview]
Message-ID: <m31x8yx42h.fsf@seneca.benny.turtle-trading.net> (raw)
In-Reply-To: <5065e2900504250508506d7640@mail.gmail.com> (Sun Yijiang's message of "Mon, 25 Apr 2005 20:08:51 +0800")

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

  reply	other threads:[~2005-04-25 15:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-25 12:08 What about a seperate "HOME" environment variable under w32? Sun Yijiang
2005-04-25 15:35 ` Benjamin Riefenstahl [this message]
2005-04-25 16:34 ` Eli Zaretskii
2005-04-25 17:04   ` David Kastrup
2005-04-25 18:15     ` Eli Zaretskii
2005-04-25 18:26       ` David Kastrup
2005-04-25 20:59         ` Eli Zaretskii
2005-04-25 21:06           ` David Kastrup
2005-04-27 17:54     ` Jason Rumney
2005-04-27 18:59       ` Stefan Monnier
2005-04-25 18:56 ` Stefan Monnier
2005-04-25 21:27 ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31x8yx42h.fsf@seneca.benny.turtle-trading.net \
    --to=b.riefenstahl@turtle-trading.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).