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 Date: Sat, 05 Mar 2005 08:07:03 +0100 Message-ID: <87zmxi8tbc.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 1110006344 7097 80.91.229.2 (5 Mar 2005 07:05:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2005 07:05:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 08:05:44 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7TLm-0006AP-9H for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2005 08:05:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7Tf5-0003Og-SR for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2005 02:25:19 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:KkXePm7yrhtQs+dnG0ZzW7sfZTs= Original-NNTP-Posting-Host: 84.58.2.118 Original-X-Trace: 5 Mar 2005 08:09:10 +0100, 84.58.2.118 Original-Lines: 26 Original-X-Complaints-To: abuse@arcor-ip.de Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!feed.news.tiscali.de!newsfeed.arcor-ip.de!news.arcor-ip.de!84.58.2.118 Original-Xref: shelby.stanford.edu gnu.emacs.help:128988 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:24534 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24534 "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, 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é!