From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Changing $HOME Date: 05 Mar 2005 01:18:24 +0100 Organization: [posted via Easynet Spain] Message-ID: <87is47uer3.fsf@thalassa.informatimago.com> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109981750 19693 80.91.229.2 (5 Mar 2005 00:15:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2005 00:15:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 01:15:49 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7Mx5-0002p7-GV for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2005 01:15:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7NGL-0000Ta-JZ for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Mar 2005 19:35:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!easynet-monga!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 38 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=3Pl4On4:1ll 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:24525 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24525 Pascal Bourguignon writes: > "Shug Boabby" writes: > > > thanks pascal... but the problem is that i only wish to set HOME for > > emacs, but not the other dock (or OS X) apps. > > Then you can put: > (putenv "HOME" "/some/path") Make it setenv (I only use (setf (getenv "HOME") "/some/path") personnally...) > at the start of your ~/.emacs > > Of course, it'll use the normal $HOME to find ~/.emacs. If that's not > what you want, you only can write a trampoline script: > > % cat ~/bin/emacs > #!/bin/bash > export HOME=/some/path > exec /usr/local/bin/emacs "$@" > > > > > -- > __Pascal Bourguignon__ http://www.informatimago.com/ > > Nobody can fix the economy. Nobody can be trusted with their finger > on the button. Nobody's perfect. VOTE FOR NOBODY. -- __Pascal Bourguignon__ http://www.informatimago.com/ In deep sleep hear sound, Cat vomit hairball somewhere. Will find in morning.