emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What about a seperate "HOME" environment variable under w32?


From: David Kastrup
Subject: Re: What about a seperate "HOME" environment variable under w32?
Date: Mon, 25 Apr 2005 19:04:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Eli Zaretskii" <address@hidden> writes:

>> Date: Mon, 25 Apr 2005 20:08:51 +0800
>> From: Sun Yijiang <address@hidden>
>> 
>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]