From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hugh Wolf Newsgroups: gmane.emacs.help Subject: Re: [NEWBIE] exec path not expanding Date: Tue, 21 Oct 2003 16:36:25 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066754806 27663 80.91.224.253 (21 Oct 2003 16:46:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2003 16:46:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 21 18:46:44 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABzee-0001MF-00 for ; Tue, 21 Oct 2003 18:46:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABzeK-0003Vx-DC for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2003 12:46:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!news.level3.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.0 (Darwin) Original-Lines: 19 Original-NNTP-Posting-Host: 128.89.72.53 Original-X-Trace: news.level3.com 1066754185 128.89.72.53 (Tue, 21 Oct 2003 16:36:25 GMT) Original-NNTP-Posting-Date: Tue, 21 Oct 2003 16:36:25 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:117492 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13423 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13423 On 2003-10-21, Robert Pollard wrote: > Technically, I don't start Emacs from a shell since it is a Mac OS X > app but in a round about way it starts from my home, which does have > the expanded versions of the path names. If you launch emacs from the Finder or the Dock, it will be running in an environment in which no shell rc or login rc has ever run. As a result, the value of PATH at will always be the default. If you want PATH or any other environment variable to have a non-default value in an osx application, you have two choices: 1. Define the variable in ~/.MacOSX/environment.plist. 2. Launch the app from a Terminal window (via 'open'), not from the Finder or the Dock.