From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6674: PATCH: fix assignment of grep-find-use-xargs on Windows/MS-DOS Date: Tue, 20 Jul 2010 19:46:33 +0300 Message-ID: <83zkxmcd92.fsf@gnu.org> References: <878w564xtc.fsf@telefonica.net> Reply-To: Eli Zaretskii 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 1279645636 6190 80.91.229.12 (20 Jul 2010 17:07:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Jul 2010 17:07:16 +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 19:07:14 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 1ObGHh-0006Tg-Pt for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jul 2010 19:07:14 +0200 Original-Received: from localhost ([127.0.0.1]:52158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObGHg-0003YR-Ur for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jul 2010 13:07:13 -0400 Original-Received: from [140.186.70.92] (port=56004 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObGBv-0006cr-2s for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 13:01:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObGBs-0000JU-Gp for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 13:01:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34486) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObGBs-0000JQ-FX for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 13:01:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ObFyA-0003Y0-DU; Tue, 20 Jul 2010 12:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii 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 16:47:02 +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.127964438313629 (code B ref 6674); Tue, 20 Jul 2010 16:47:02 +0000 Original-Received: (at 6674) by debbugs.gnu.org; 20 Jul 2010 16:46:23 +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 1ObFxX-0003Xm-79 for submit@debbugs.gnu.org; Tue, 20 Jul 2010 12:46:23 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObFxU-0003Xh-68 for 6674@debbugs.gnu.org; Tue, 20 Jul 2010 12:46:21 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L5V007007UIVV00@a-mtaout23.012.net.il> for 6674@debbugs.gnu.org; Tue, 20 Jul 2010 19:46:34 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.61.30]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5V006F47XL1980@a-mtaout23.012.net.il>; Tue, 20 Jul 2010 19:46:34 +0300 (IDT) In-reply-to: <878w564xtc.fsf@telefonica.net> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 20 Jul 2010 12:47:02 -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:38693 Archived-At: > From: =C3=93scar Fuentes > Date: Tue, 20 Jul 2010 05:49:35 +0200 > Cc:=20 >=20 > 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. >=20 > An extra test is added to the assigment of grep-find-use-xargs to f= orce > the value 'exec on Windows and MS-DOS. I saw this problem on MS-Windows and intended to look into it. But one thing is certain: the MS-DOS build does not need this patch, it works just fine with the original command line that includes the pipe to xargs. > + =09=09 ((or (eq system-type 'windows-nt) (eq system-type 'ms-dos)= ) What's wrong with memq?