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: Sun, 28 Nov 2004 22:02:09 +0200 Message-ID: <01c4d585$Blat.v2.2.2$49d6d840@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 1101672380 11180 80.91.229.6 (28 Nov 2004 20:06:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Nov 2004 20:06:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 28 21:06:13 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 1CYVJD-0004k9-00 for ; Sun, 28 Nov 2004 21:06:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CYVSW-0002Pq-BL for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Nov 2004 15:15:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CYVSG-0002O3-1A for help-gnu-emacs@gnu.org; Sun, 28 Nov 2004 15:15:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CYVSE-0002NR-Un for help-gnu-emacs@gnu.org; Sun, 28 Nov 2004 15:15:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CYVSE-0002N9-I7 for help-gnu-emacs@gnu.org; Sun, 28 Nov 2004 15:15:30 -0500 Original-Received: from [192.114.186.15] (helo=balder.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYVIm-00059V-Rl for help-gnu-emacs@gnu.org; Sun, 28 Nov 2004 15:05:45 -0500 Original-Received: from zaretski (pns03-204-132.inter.net.il [80.230.204.132]) by balder.inter.net.il (Mirapoint Messaging Server MOS 3.3.7-GR) with ESMTP id DWP73212 (AUTH halo1); Sun, 28 Nov 2004 22:05:11 +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: <30uh9eF34527lU1@uni-berlin.de> (message from Elvin Peterson on Sun, 28 Nov 2004 21:24:44 +0530) 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:22407 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22407 > From: Elvin Peterson > Date: Sun, 28 Nov 2004 21:24:44 +0530 > > I am using > > (setenv "PATH" (concat (getenv "PATH") ";C:\\cygwin\\bin")) > > to add cygwin's path, but emacs cannot find the executables. setenv modifies the environment that Emacs passes to its subprocesses, but doesn't affect the environment Emacs itself uses. Thus, the value of PATH seen by Emacs will not change after the above. You need to modify PATH outside of Emacs, and before Emacs is invoked, to get what you want.