From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: NT Emacs and Cygwin Date: Mon, 29 Nov 2004 06:41:03 +0200 Message-ID: <01c4d5cd$Blat.v2.2.2$c7af8f80@zahav.net.il> References: <30uh9eF34527lU1@uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1101703478 29764 80.91.229.6 (29 Nov 2004 04:44:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2004 04:44:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 29 05:44:32 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CYdOp-0004fr-00 for ; Mon, 29 Nov 2004 05:44:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CYdYC-0005Jl-FZ for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Nov 2004 23:54:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CYdY3-0005Jc-FD for help-gnu-emacs@gnu.org; Sun, 28 Nov 2004 23:54:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CYdY2-0005Is-Df for help-gnu-emacs@gnu.org; Sun, 28 Nov 2004 23:54:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CYdY2-0005IX-0J for help-gnu-emacs@gnu.org; Sun, 28 Nov 2004 23:54:02 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYdOW-0002WK-8Y for help-gnu-emacs@gnu.org; Sun, 28 Nov 2004 23:44:12 -0500 Original-Received: from zaretski (pns03-204-132.inter.net.il [80.230.204.132]) by legolas.inter.net.il (MOS 3.5.5-GR) with ESMTP id DFM03731 (AUTH halo1); Mon, 29 Nov 2004 06:44:07 +0200 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: (message from David Kastrup on Sun, 28 Nov 2004 21:15:39 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22415 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22415 > From: David Kastrup > Date: Sun, 28 Nov 2004 21:15:39 +0100 > > > You need to modify PATH outside of Emacs, and before Emacs is invoked, > > to get what you want. > > Not necessarily. > > exec-path's value is > ("/usr/kerberos/bin" "/usr/local/bin" "/usr/bin" "/bin" "/usr/X11R6/bin" "/home/dak/bin" "/usr/local/emacs-21/libexec/emacs/21.3.50/i686-pc-linux-gnu") IIRC, exec-path is effective only for programs for which Emacs actively looks for the program's executable. Examples include programs that are part of the Emacs distribution, like hexl. I assumed the OP was complaining about commands like M-!, for which Emacs does not look for the executable, but lets the OS find them.