unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: Sun Yijiang <sunyijiang@gmail.com>, emacs-devel@gnu.org
Subject: Re: What about a seperate "HOME" environment variable under w32?
Date: Mon, 25 Apr 2005 19:04:34 +0200	[thread overview]
Message-ID: <85ekcyn5y5.fsf@lola.goethe.zz> (raw)
In-Reply-To: <01c549b4$Blat.v2.4$d9d6c880@zahav.net.il> (Eli Zaretskii's message of "Mon, 25 Apr 2005 19:34:51 +0300")

"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"))

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2005-04-25 17:04 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 [this message]
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=85ekcyn5y5.fsf@lola.goethe.zz \
    --to=dak@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).