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: Wed, 22 Oct 2003 12:38:12 GMT Organization: Comcast Online 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 1066827139 16041 80.91.224.253 (22 Oct 2003 12:52:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2003 12:52:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 22 14:52:15 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 1ACITG-0004Lr-00 for ; Wed, 22 Oct 2003 14:52:15 +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 1ACIRJ-0005SJ-Tq for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Oct 2003 08:50:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!wn13feed!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.0 (Darwin) Original-Lines: 31 Original-NNTP-Posting-Host: 66.31.41.137 Original-X-Complaints-To: abuse@comcast.net Original-X-Trace: rwcrnsc54 1066826292 66.31.41.137 (Wed, 22 Oct 2003 12:38:12 GMT) Original-NNTP-Posting-Date: Wed, 22 Oct 2003 12:38:12 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:117525 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:13456 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13456 On 2003-10-21, Robert Pollard wrote: >> 1. Define the variable in ~/.MacOSX/environment.plist. > > The PATH variable is defined in the environment.plist file. The > following entry is in the file: >PATH >/$SYBASE/$SYBASE_OCS/bin:$SYBASE/$SYBASE_ASE/bin:$PATH > ... > Obviously, it is not understanding the environment variables here. Remember that no shell is running in this situation. As a result, $ has no special meaning here -- it's just a character like any other. You can't use any form of shell processing in environment.plist. > there a way that you are aware of to make OS X read the variables from > the environment to help define a variable or add to a variable as in > the above entry? If you're launching apps outside any shell context I think the answer is that you're out of luck. Of course you can always create a shell script that sources your .bashrc (or whatever) and then opens Emacs.app. Script Menu is a handy way to launch shell scripts from the gui.