From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Arentz Newsgroups: gmane.emacs.help Subject: Re: Changing the PATH from emacs? Date: Mon, 11 Feb 2008 18:52:46 +0100 Message-ID: <87bq6nqt1t.fsf@lvps87-230-32-149.dedicated.hosteurope.de> References: <87odanqwxr.fsf@lvps87-230-32-149.dedicated.hosteurope.de> <878x1r9yq1.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202755355 22139 80.91.229.12 (11 Feb 2008 18:42:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 18:42:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 19:42:56 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JOdcE-0001UA-Ox for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 19:42:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOdbl-0000Ck-2I for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 13:42:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feeder.news-service.com!newsgate.cistron.nl!xs4all!transit4.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:W4Xd5gpEPlaTOXa8YbuYzuJMJ3o= Original-Lines: 21 Original-NNTP-Posting-Host: 82.94.255.141 Original-X-Trace: 1202752367 news.xs4all.nl 85778 [::ffff:82.94.255.141]:56578 Original-X-Complaints-To: abuse@xs4all.nl Original-Xref: shelby.stanford.edu gnu.emacs.help:156060 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 Xref: news.gmane.org gmane.emacs.help:51432 Archived-At: Sven Joachim writes: > On 2008-02-11 18:25 +0100, Peter Dyballa wrote: > >> Am 11.02.2008 um 17:28 schrieb Stefan Arentz: >> >>> There doesn't seem to be a way to do this through Emacs.app/Info.plist >>> so my question is whether it possible to change the PATH from my >>> .emacs profile? >> >> (setenv "PATH" (concat "/opt/local/bin" ":" (getenv "PATH"))) > > Are you sure that this will work? AFAIK `setenv' only modifies the > environment of subprocesses; where Emacs searches for programs is > determined by the lisp variable `exec-path'. Indeed. It did not work, I tested it the wrong way and was confused. Your exec-path hint did the trick though! S.