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:32:22 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <0E3619BD-040E-11D8-A446-000A957A7EA8@apple.com> References: <3F956538.2090702@yahoo.com> 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 1066772709 6187 80.91.224.253 (21 Oct 2003 21:45:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2003 21:45:09 +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-00 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 1AC4CQ-0001It-Rx for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2003 17:37:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AC47j-00005w-Gf for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 17:33:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AC47C-0008KV-KN for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 17:33:01 -0400 Original-Received: from [17.254.13.22] (helo=mail-out3.apple.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AC47B-0008K4-Pm for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 17:32:29 -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 h9LLWSTi000509 for ; Tue, 21 Oct 2003 14:32:28 -0700 (PDT) Original-Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Tue, 21 Oct 2003 14:31:56 -0700 Original-Received: from apple.com ([17.101.117.23]) by scv1.apple.com (8.12.9/8.12.9) with ESMTP id h9LLW1ww025706; Tue, 21 Oct 2003 14:32:01 -0700 (PDT) Original-To: Kevin Rodgers In-Reply-To: <3F956538.2090702@yahoo.com> 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:13444 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13444 Hey Kevin, On Tuesday, October 21, 2003, at 09:56 AM, Kevin Rodgers wrote: > Robert Pollard wrote: > >> Hello Kevin, >> On Wednesday, September 24, 2003, at 02:18 PM, Kevin Rodgers wrote: >>> Robert Pollard wrote: >>> >>>> Hello everyone, >>>> I am curious as to why my exec path is not expanding the PATH >>>> variable. Does it expand it when it uses it or should it be >>>> expanded in the exec-path variable? >>>> I cannot get a directory listing and as per a previous post I get >>>> an error that it can't find the ls program. Could this be the >>>> cause? >>>> exec-path's value is >>>> ("/$SYBASE/$SYBASE_OCS/bin" "$SYBASE/$SYBASE_ASE/bin" "$PATH" >>>> "/Applications/Emacs.app/Contents/MacOS/bin" >>>> "/Applications/Emacs.app/Contents/MacOS/libexec") >>> >>> >>> Hmmm. What do (getenv "SYBASE"), (getenv "SYBASE_OCS"), (getenv >>> "SYBASE_ASE"), >>> and (getenv "PATH") return? >> SYBASE = /Applications/Sybase/System >> SYBASE_OCS = OCS-12_5 >> SYBASE_ASE = ASE-12_5 >> PATH = /$SYBASE/$SYBASE_OCS/bin:$SYBASE/$SYBASE_ASE/bin:$PATH > > That last line leads me to believe that some shell initialization file > is > broken. What is your login shell? And exactly what do the commands > in the > init file that are trying to prepend the $SYBASE directories to PATH > look like? Kai found the problem. The default install was in the /Applications folder for the system instead of my home directory. I moved Emacs into my home directory and it still wouldn't work. When I launched it from the terminal it worked fine. I am going to have to investigate why the double-click doesn't work and the command line does. I know my PATH is correct when I logon to the terminal but I don't know how to see the environment apart from the terminal. If there was a GUI tool to see the environment variables this would probably show that they aren't expanded much the same as Emacs does when I use getenv. If you have any ideas let me know. If I find out what the cause is I'll post the cure to let you guys know. Thanks, Robert > > -- > Kevin Rodgers > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs