From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Russell Newsgroups: gmane.emacs.help Subject: Re: [NEWBIE] exec path not expanding Date: 25 Sep 2003 11:38:29 -0400 Organization: Cisco Systems Inc. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3F720A32.9030400@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064504814 23466 80.91.224.253 (25 Sep 2003 15:46:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2003 15:46:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 17:46:52 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 1A2YKS-000723-00 for ; Thu, 25 Sep 2003 17:46:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A2YJO-0007Vp-LO for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Sep 2003 11:45:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!sn-xit-03!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Cache-Post-Path: sj-nntpcache-5!unknown@161.44.79.155 X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 30 Original-Xref: shelby.stanford.edu gnu.emacs.help:116862 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:12787 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12787 Kevin Rodgers writes: > 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? They return the value of the environment variable of the argument. C-h f is a great way to figure out what functions do and what they return. C-h v is good for variables. C-h for modes M-x apropos when you are really desperate John