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

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

Re: Changing $HOME


From: Oliver Scholz
Subject: Re: Changing $HOME
Date: Sat, 05 Mar 2005 08:07:03 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Shug Boabby" <address@hidden> writes:

> Pascal wrote:
>> Make it setenv
>
> i already tried that (see my first post)

That's strange. If I read the code of `expand-file-name' correctly,
setenvinv HOME should be the right thing to do for what you want, as
it determines the expansion of "~" via a call to a C function:
egetenv ("HOME") -- which does the obvious.

Could you explain, in what way this does not work?  What directory do
you see, if you type `C-x d ~ RET'?

If not at the right one, please start Emacs like this:

emacs -q --no-site-file --eval '(setenv "HOME" "/User/shug/GNU")'

and post the value of the variable `process-environment' (which you
can get via `C-h v').

    Oliver
-- 
15 Ventôse an 213 de la Révolution
Liberté, Egalité, Fraternité!


reply via email to

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