From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Elvin Peterson Newsgroups: gmane.emacs.help Subject: Re: NT Emacs and Cygwin Date: Mon, 29 Nov 2004 23:57:26 +0530 Message-ID: <316f1nF3851rlU1@individual.net> References: <30uh9eF34527lU1@uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1101925132 6128 80.91.229.6 (1 Dec 2004 18:18:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2004 18:18:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 01 19:18:49 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 1CZYmH-0002rt-00 for ; Wed, 01 Dec 2004 19:00:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZYvn-0006es-7d for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Dec 2004 13:10:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-X-Trace: individual.net Qs+gHRpJMCXWZy7LKWO2mQQLf+YfePsP3Ra91f6BLds0TOpYyr User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:127069 Original-To: help-gnu-emacs@gnu.org 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:22480 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22480 Håkon Alstadheim wrote: > "Eli Zaretskii" writes: > > >>>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. > > > In which case the SETENV should work, since sub-shells will be > affected by the SETENV call. > > M-x grep, M-x find-* would (I guess) benefit from having exec-path > adjusted. > Exactly--since emacs spawns a new cmd shell, it should pass the new PATH value along. However, I find that many OS specific functions are simply not implemented in Windows for Emacs. (ref my post earlier about the allowable characters in a filename not being implemented.) Thanks to all who replied.