From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#7785: rgrep is broken on woe32 Date: Wed, 5 Jan 2011 17:45:42 -0500 Message-ID: References: <87d3oc17oo.fsf@telefonica.net> <83ipy3m4jv.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294268043 26027 80.91.229.12 (5 Jan 2011 22:54:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2011 22:54:03 +0000 (UTC) Cc: ofv@wanadoo.es, 7785@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 05 23:53:59 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PacEw-0007nv-HK for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jan 2011 23:53:58 +0100 Original-Received: from localhost ([127.0.0.1]:56211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PacEw-0005CN-4j for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jan 2011 17:53:58 -0500 Original-Received: from [140.186.70.92] (port=39706 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PacEq-0005CH-KX for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 17:53:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PacEp-00088l-Bc for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 17:53:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PacEp-00088g-8n for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2011 17:53:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pac0T-0005xy-Mu; Wed, 05 Jan 2011 17:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jan 2011 22:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7785-submit@debbugs.gnu.org id=B7785.129426711322897 (code B ref 7785); Wed, 05 Jan 2011 22:39:01 +0000 Original-Received: (at 7785) by debbugs.gnu.org; 5 Jan 2011 22:38:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pac00-0005xG-Kg for submit@debbugs.gnu.org; Wed, 05 Jan 2011 17:38:32 -0500 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pabzy-0005x4-Ki for 7785@debbugs.gnu.org; Wed, 05 Jan 2011 17:38:31 -0500 Original-Received: by eyd10 with SMTP id 10so7210724eyd.3 for <7785@debbugs.gnu.org>; Wed, 05 Jan 2011 14:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=yuYA7RJhFMoTOMOJoWmmqgjKG1irsMZkaOqo30GFQf8=; b=i3yTj3oUDnc3YE+5gQN6S7gAkTs/AYb+HSHl68h2cpNY7jCyyCnbtMrb7KIzum2Fiq UNT37j5wNbspT6cuYoVQadUTqeTQrvR1UwjuhjmkTyf+z8sVTcnk4w6dldwdD8QIsC+Q ocYD7xqp7n2yaThxXEe2TNCiRLk+YusRHOnVE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Tuq6yo75eAH0kFwiGjZJGSyNDdSPez+45kcfziCqvHda2WGXK7NDuCthOpZ32JepDv ufZdthxUEwLLOFOyvNreqgd1xf4JwlOlYvNNMArUcYP79CcFGCGRcsAUtTUUrJdywL0C bgXTZ91qH3hYeE+wBNkan9vIu9hglWJhQABg8= Original-Received: by 10.14.126.141 with SMTP id b13mr666539eei.47.1294267542855; Wed, 05 Jan 2011 14:45:42 -0800 (PST) Original-Received: by 10.14.127.207 with HTTP; Wed, 5 Jan 2011 14:45:42 -0800 (PST) In-Reply-To: <83ipy3m4jv.fsf@gnu.org> X-Google-Sender-Auth: IeAFfdSHE1Tl7HNYVPeWNSO62j8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 Jan 2011 17:39:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43125 Archived-At: On Wed, Jan 5, 2011 at 4:19 PM, Eli Zaretskii wrote: >> Date: Wed, 5 Jan 2011 15:28:48 -0500 >> From: Sam Steingold >> Cc: =C3=93scar Fuentes , 7785@debbugs.gnu.org >> >> 'c:' is not recognized as an internal or external command, >> operable program or batch file. > > This message comes from cmd.exe, the native Windows shell. =C2=A0Since yo= u > probably have a setup where the Cygwin Bash should have been called, I > suspect some snafu with setting up Emacs for Cygwin. =C2=A0Can you try th= e > same with native Windows ports of find, xargs, and grep, and in > "emacs -Q"? this works just fine, like on linux: PATH=3D/cygdrive/c/gnu/gnuwin32/bin:$PATH emacs -q moreover, emacs -q and moving gnuwin dir to the beginning of exec-path with (let ((gw "c:/gnu/gnuwin32/bin")) (setq exec-path (cons gw (delete gw exec-path)))) also works fine. however, without "-q" I get various errors, mostly "FIND: Parameter format not correct" despite exec-paths starting with gnuwin32. this is obviously my problem now; however, I would appreciate it if you could help me out. > Also, what does this mean: > > -*- mode: grep; default-directory: "d:/.../" -*- > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^ > Could it be that this is the culprit? no, I am merely removing the long directory name from the pasted buffer con= tent. --=20 Sam Steingold