From: Jason Rumney <jasonr@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, Sun Yijiang <sunyijiang@gmail.com>,
emacs-devel@gnu.org
Subject: Re: What about a seperate "HOME" environment variable under w32?
Date: Wed, 27 Apr 2005 18:54:29 +0100 [thread overview]
Message-ID: <426FD1D5.2090104@gnu.org> (raw)
In-Reply-To: <85ekcyn5y5.fsf@lola.goethe.zz>
David Kastrup wrote:
>"Eli Zaretskii" <eliz@gnu.org> writes:
>
>
>
>>>Date: Mon, 25 Apr 2005 20:08:51 +0800
>>>From: Sun Yijiang <sunyijiang@gmail.com>
>>>
>>>The %HOME% environment variable is used by many programs under w32, so it's
>>>really a mess sometime.
>>>
>>>
>>Is HOME used for any other purpose than Emacs does: to store the
>>user's private init files? If some programs use HOME for conflicting
>>purposes, could you please name those programs and describe the
>>details?
>>
>>
>>
>>>I suggest Emacs use a different HOME variable=20
>>>underw32, something like %EMACS_HOME% or %EHOME%.
>>>
>>>
>>I don't think we should introduce such a variable without a very good
>>reason; hence the questions above.
>>
>>
>
>kpathsea, the library for most TeX systems, has a scheme where you can
>override most environment variables on a per-application base.
>
>An analog construction for Emacs would be to something like
>(or (getenv "HOME.emacs") (getenv "HOME"))
>
>
>
If HOME is not set as an environment variable on w32, Emacs will read it
from the registry (also used as the equivalent of .Xdefaults). Perhaps
we could change the priority of these, so that the registry overrides
the environment, since users are unlikely to set a specific HOME for
Emacs in the registry and then expect to override it by changing their
environment.
next prev parent reply other threads:[~2005-04-27 17:54 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
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 [this message]
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=426FD1D5.2090104@gnu.org \
--to=jasonr@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=sunyijiang@gmail.com \
/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).