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: Wed, 21 Jul 2010 01:18:55 +0300 Message-ID: <83sk3ddcfk.fsf@gnu.org> References: <878w564xtc.fsf@telefonica.net> <87vd8a2rxg.fsf@telefonica.net> <87r5iy2ptw.fsf@telefonica.net> <83vd8acbbv.fsf@gnu.org> <87eiey2apg.fsf@telefonica.net> <83tyntde64.fsf@gnu.org> 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 1279665260 10972 80.91.229.12 (20 Jul 2010 22:34:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Jul 2010 22:34:20 +0000 (UTC) To: ofv@wanadoo.es, lekktu@gmail.com, 6674@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 21 00:34:18 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 1ObLOA-0005hf-8C for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 00:34:14 +0200 Original-Received: from localhost ([127.0.0.1]:59645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObLO9-0005sG-69 for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jul 2010 18:34:13 -0400 Original-Received: from [140.186.70.92] (port=33401 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObLKl-0003pV-Jk for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 18:30:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObLKj-000872-H8 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 18:30:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49463) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObLKj-00086v-FM for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2010 18:30:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ObL9S-0005rH-C6; Tue, 20 Jul 2010 18:19: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 22:19: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.127966434122516 (code B ref 6674); Tue, 20 Jul 2010 22:19:02 +0000 Original-Received: (at 6674) by debbugs.gnu.org; 20 Jul 2010 22:19:01 +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 1ObL9R-0005r4-GV for submit@debbugs.gnu.org; Tue, 20 Jul 2010 18:19:01 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObL9P-0005qz-0I for 6674@debbugs.gnu.org; Tue, 20 Jul 2010 18:19:00 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L5V00I00N4XIZ00@a-mtaout23.012.net.il> for 6674@debbugs.gnu.org; Wed, 21 Jul 2010 01:18:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.61.30]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5V00IDANBIBO20@a-mtaout23.012.net.il>; Wed, 21 Jul 2010 01:18:55 +0300 (IDT) In-reply-to: <83tyntde64.fsf@gnu.org> 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 18:19: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:38707 Archived-At: > Date: Wed, 21 Jul 2010 00:41:23 +0300 > From: Eli Zaretskii > Cc: lekktu@gmail.com, 6674@debbugs.gnu.org >=20 > > From: =C3=93scar Fuentes > > Cc: lekktu@gmail.com, 6674@debbugs.gnu.org > > Date: Tue, 20 Jul 2010 21:51:39 +0200 > >=20 > > The issue is that "cmd.exe -c" seems to have a 1024 char limit wh= en the > > command contains a pipe (my guess is that the limit applies separ= atelly > > to every command on the pipe chain) and cmdproxy.c prepends "cmd.= exe -c" > > to the command when it has a pipe, redirection, etc. >=20 > If that is true, we could implement the pipes in cmdproxy. It's no= t > difficult. A better (and easier implemented) idea would be to create a temporary batch file with the command line and run the batch file with cmd.exe. The original command works just fine if invoked from a batch file.