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: Tue, 21 Oct 2003 14:39:24 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <0A136837-040F-11D8-A446-000A957A7EA8@apple.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1066772710 6189 80.91.224.253 (21 Oct 2003 21:45:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2003 21:45:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 21 23:45:06 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 1AC4JO-0005Gu-01 for ; Tue, 21 Oct 2003 23:45:06 +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 1AC4Iw-0003fn-Mz for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2003 17:44:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AC4Eh-00027P-Js for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 17:40:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AC4E9-0001vS-Qe for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 17:40:12 -0400 Original-Received: from [17.254.13.22] (helo=mail-out3.apple.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AC4E9-0001v5-AG for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 17:39:41 -0400 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 h9LLdeTi014092 for ; Tue, 21 Oct 2003 14:39:40 -0700 (PDT) Original-Received: from scv3.apple.com (scv3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Tue, 21 Oct 2003 14:39:02 -0700 Original-Received: from apple.com ([17.101.117.23]) by scv3.apple.com (8.12.9/8.12.9) with ESMTP id h9LLd60m009170; Tue, 21 Oct 2003 14:39:06 -0700 (PDT) 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:13445 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13445 Hey Hugh, On Tuesday, October 21, 2003, at 09:36 AM, Hugh Wolf wrote: > 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. 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. Is 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? Thanks for your input, Robert > > 2. Launch the app from a Terminal window (via 'open'), not from the > Finder or the Dock. > > > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs