help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: $HOME var


From: Kevin Rodgers
Subject: Re: $HOME var
Date: Mon, 10 Mar 2003 12:07:35 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Eli Zaretskii wrote:

From: Chris McMahan <cmcmahan+n@one.net>
Newsgroups: gnu.emacs.help
Date: 07 Mar 2003 16:38:33 -0500

So to set your HOME variable from within emacs,
(setenv "HOME" "c:/documents\ and\ settings/username")


I don't recomment this: it creates a dangerous disparity between the
environment used by Emacs and the environment passed by Emacs to its
subprocesses.  In the archives of this thread, you will find many
examples of trouble into which this could get unsuspecting users.

How could that be?  setenv updates process-environment, which is the environment
passed to subprocesses -- isn't it?

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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