From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#6674: PATCH: fix assignment of grep-find-use-xargs on Windows/MS-DOS Date: Tue, 20 Jul 2010 14:57:03 +0200 Message-ID: References: <878w564xtc.fsf@telefonica.net> 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 1279630883 12878 80.91.229.12 (20 Jul 2010 13:01:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Jul 2010 13:01:23 +0000 (UTC) Cc: 6674@debbugs.gnu.org To: =?UTF-8?Q?=C3=93scar?= Fuentes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 20 15:01:22 2010 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 1ObCRk-0002P2-4M for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jul 2010 15:01:21 +0200 Original-Received: from localhost ([127.0.0.1]:58170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObCRX-0000gY-Fr for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jul 2010 09:01:07 -0400 Original-Received: from [140.186.70.92] (port=40659 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObCRF-0000cx-4G for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 09:00:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObCR7-0006c0-3n for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 09:00:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59382) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObCR7-0006bs-15 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 09:00:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ObCNb-0001vG-8W; Tue, 20 Jul 2010 08:57:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Jul 2010 12:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6674 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6674-submit@debbugs.gnu.org id=B6674.12796306227388 (code B ref 6674); Tue, 20 Jul 2010 12:57:03 +0000 Original-Received: (at 6674) by debbugs.gnu.org; 20 Jul 2010 12:57:02 +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 1ObCNZ-0001v3-H0 for submit@debbugs.gnu.org; Tue, 20 Jul 2010 08:57:02 -0400 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObCNY-0001uy-IE for 6674@debbugs.gnu.org; Tue, 20 Jul 2010 08:57:01 -0400 Original-Received: by bwz7 with SMTP id 7so3194882bwz.3 for <6674@debbugs.gnu.org>; Tue, 20 Jul 2010 05:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=vuoU/zf8mjanxHAohFFZf3s8BsQjQIGKe7VrbevHhIs=; b=MJTKB7xMJBFyrYqA/Cnn9RyO3dBpf7ULY1+ctGR7etZ9CROZgCE4SXXCFwJk371aHb 5mN3sj8RYU6MEeMOpY763gSXat2BnshIMbRHbE68Ok3PyNUzMVWUB1t+DqhEPPoybbCQ PN2yezVQu3okqZvkVFKC2EUZj4DaphlGt52yM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=FGw4zyO1K42ib9flmM5/6CG5piDlS1VCsR0P7Wh8kNQuiz1b5kVRAv7vyF7PXQlvPM BOcI1pE/B7TKG89lS3LXLRB7gXT7bMmEK0gbJS3Ac3Og8ht3KT/lIFWVycMSzTYu/nZN 4KohXDk+oQk+65fcJdf0Z1xsUux/CSTc949ts= Original-Received: by 10.204.81.130 with SMTP id x2mr5059697bkk.210.1279630643340; Tue, 20 Jul 2010 05:57:23 -0700 (PDT) Original-Received: by 10.204.180.136 with HTTP; Tue, 20 Jul 2010 05:57:03 -0700 (PDT) In-Reply-To: <878w564xtc.fsf@telefonica.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 20 Jul 2010 08:57:03 -0400 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:38684 Archived-At: 2010/7/20 =C3=93scar Fuentes : > On Windows, when find-program points to a GNU-compatible `find' > executable, grep-find-use-xargs is assigned the symbol 'gnu. The > consequence of this is that `rgrep' ends building a command that > contains a pipe: find | xargs -0 grep This ends with > `find' reporting confusing errors about wrong arguments. Yes, I get c:/gnu/bin/find.exe: invalid predicate `-nam' but the very same command works from the command line. So the right thing would be to fix how rgrep invokes the command on Windows, wouldn't it? =C2=A0 =C2=A0 Juanma