From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robert Pollard Newsgroups: gmane.emacs.help Subject: Re: [NEWBIE] exec path not expanding Date: Sun, 9 Nov 2003 09:58:12 -0800 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <48EF06A8-12DE-11D8-A34C-000A957A7EA8@apple.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068400879 5529 80.91.224.253 (9 Nov 2003 18:01:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2003 18:01:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 09 19:01:17 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 1AItsC-0007Ja-00 for ; Sun, 09 Nov 2003 19:01:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIuoA-0007CW-Vm for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Nov 2003 14:01:10 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AIunO-00077I-CI for help-gnu-emacs@gnu.org; Sun, 09 Nov 2003 14:00:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AIumq-0006zi-Tb for help-gnu-emacs@gnu.org; Sun, 09 Nov 2003 14:00:20 -0500 Original-Received: from [17.254.13.22] (helo=mail-out3.apple.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIumq-0006zB-FK for help-gnu-emacs@gnu.org; Sun, 09 Nov 2003 13:59:48 -0500 Original-Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out3.apple.com (8.12.10/8.12.9) with ESMTP id hA9HwMrY029620 for ; Sun, 9 Nov 2003 09:58:22 -0800 (PST) Original-Received: from scv3.apple.com (scv3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Sun, 9 Nov 2003 09:57:49 -0800 Original-Received: from apple.com ([17.101.117.23]) by scv3.apple.com (8.12.9/8.12.9) with ESMTP id hA9Hvq0m018494; Sun, 9 Nov 2003 09:57:52 -0800 (PST) Original-To: Hugh Wolf In-Reply-To: X-Mailer: Apple Mail (2.551) 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:13975 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13975 Then what I need to do is get rid of this section of the environment.plist file. Apple needs to fix this. I'll do a check in Radar to see if this has been logged. You can't expand on the PATH variable if you can't use variables in the definitions in this file. If they left it alone and allowed the GUI to use whatever the terminal uses as other *NIX environments do this wouldn't be a problem. Thanks for all your help, Robert On Wednesday, October 22, 2003, at 05:38 AM, Hugh Wolf wrote: > 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> string> >> ... >> 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. > > > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs