From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Re: Changing $HOME Supersedes: <87zmxi8tbc.fsf@ID-87814.user.uni-berlin.de> Date: Sat, 05 Mar 2005 08:08:34 +0100 Message-ID: <87vf868t8t.fsf@ID-87814.user.uni-berlin.de> References: <20050223233416726+0000@news.btinternet.com> <873bvm4xqq.fsf@robotron.ath.cx> <20050224002912263+0000@news.btinternet.com> <1109968082.394434.43120@z14g2000cwz.googlegroups.com> <87vf87ui17.fsf@thalassa.informatimago.com> <1109979196.118558.141930@z14g2000cwz.googlegroups.com> <87r7ivueuz.fsf@thalassa.informatimago.com> <87is47uer3.fsf@thalassa.informatimago.com> <1109982217.020944.135300@l41g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1110006664 7614 80.91.229.2 (5 Mar 2005 07:11:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2005 07:11:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 08:11:04 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7TQl-0006Wu-Hp for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2005 08:10:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7Tk5-0005mn-3W for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2005 02:30:29 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Key: sha1:etivYcgn0UPqc52HC/Uh6OMK3Lw= Cancel-Lock: sha1:JwCKDtytWgMxNv4dP7vFIf9mmdU= Original-NNTP-Posting-Host: 84.58.2.118 Original-X-Trace: 5 Mar 2005 08:10:41 +0100, 84.58.2.118 Original-Lines: 27 Original-X-Complaints-To: abuse@arcor-ip.de Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor-ip.de!news.arcor-ip.de!84.58.2.118 Original-Xref: shelby.stanford.edu gnu.emacs.help:128989 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24535 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24535 "Shug Boabby" 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, setenving 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. And in fact, `setenv' works for me. 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é!