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 09:12:34 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <615D3DBB-03E1-11D8-A446-000A957A7EA8@apple.com> References: <86d6cztt2w.fsf@slowfox.dyndns.org> 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 1066752885 22654 80.91.224.253 (21 Oct 2003 16:14:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2003 16:14:45 +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 18:14:41 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 1ABz9d-0007BT-01 for ; Tue, 21 Oct 2003 18:14:41 +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 1ABz8d-0006v2-Ks for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Oct 2003 12:13:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ABz8I-0006uU-Ty for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 12:13:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ABz7m-0006o1-6m for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 12:13:17 -0400 Original-Received: from [17.254.13.22] (helo=mail-out3.apple.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABz7l-0006n3-M7 for help-gnu-emacs@gnu.org; Tue, 21 Oct 2003 12:12:45 -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 h9LGChk0025870 for ; Tue, 21 Oct 2003 09:12:43 -0700 (PDT) Original-Received: from scv2.apple.com (scv2.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Tue, 21 Oct 2003 09:12:09 -0700 Original-Received: from apple.com ([17.101.117.23]) by scv2.apple.com (8.12.9/8.12.9) with ESMTP id h9LGCNNA005912; Tue, 21 Oct 2003 09:12:23 -0700 (PDT) Original-To: Kai Grossjohann In-Reply-To: <86d6cztt2w.fsf@slowfox.dyndns.org> 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:13416 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13416 Hey Kai, On Tuesday, October 14, 2003, at 02:20 PM, Kai Grossjohann wrote: > Robert Pollard writes: > >> 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 guess that $PATH should be expanded already. I think that > exec-path is initialized from $PATH. You are correct! > > In the shell where you start Emacs, have a look at $PATH. Does it > contain them "$SYBASE" strings literally, dollar-sign and all? 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 I go to the terminal and printenv for PATH it has the path names expanded out. > > Maybe PATH="$PATH" or setenv PATH "$PATH" might be useful things to > type in the shell before starting Emacs. I believe it is correct. However, I don't know why Emacs doesn't see it the same. Maybe it expands the variables before it uses and it is some other problem??? I don't know what's is going on. For now, I'm dragging the documents to Emacs instead of using Dired to find files. Thanks, Robert > > Kai > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs