From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.help Subject: Re: Changing the PATH from emacs? Date: Mon, 11 Feb 2008 18:42:14 +0100 Message-ID: <878x1r9yq1.fsf@gmx.de> References: <87odanqwxr.fsf@lvps87-230-32-149.dedicated.hosteurope.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202755274 21889 80.91.229.12 (11 Feb 2008 18:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 18:41:14 +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:41:37 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 1JOdak-0000uQ-CK for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 19:41:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOdaH-0006zN-5j for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 13:40:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: p548662be.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1202751648 5301 84.134.98.190 (11 Feb 2008 17:40:48 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 11 Feb 2008 17:40:48 +0000 (UTC) User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.90 (gnu/linux) Cancel-Lock: sha1:t0iPXSSuGk9jRr0jGBIpm1+nQnc= Original-Xref: shelby.stanford.edu gnu.emacs.help:156058 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:51430 Archived-At: 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'. Sven