From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Newsgroups: gmane.emacs.bugs Subject: bug#6674: PATCH: fix assignment of grep-find-use-xargs on Windows Date: Tue, 20 Jul 2010 22:05:19 -0600 Message-ID: <4C4671FF.7090800@gmail.com> References: <878w564xtc.fsf@telefonica.net> <871vax3fox.fsf@telefonica.net> <4C464307.8050407@gmail.com> <83pqyhcwit.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1279688456 29947 80.91.229.12 (21 Jul 2010 05:00:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2010 05:00:56 +0000 (UTC) Cc: ofv@wanadoo.es, lekktu@gmail.com, bug-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 21 07:00:53 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 1ObRQL-00010J-HY for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 07:00:53 +0200 Original-Received: from localhost ([127.0.0.1]:43235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObRQJ-0008Iy-Rx for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 01:00:51 -0400 Original-Received: from [140.186.70.92] (port=40971 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObRQA-0008Il-TG for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 01:00:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObRQ9-0002x8-9E for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 01:00:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37351) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObRQ9-0002x2-7q for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 01:00:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ObR5C-0008Vf-TD; Wed, 21 Jul 2010 00:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2010 04:39: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 submit@debbugs.gnu.org id=B.127968710232679 (code B ref -1); Wed, 21 Jul 2010 04:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jul 2010 04:38:22 +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 1ObR4V-0008V1-NH for submit@debbugs.gnu.org; Wed, 21 Jul 2010 00:38:20 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObR4T-0008UK-Ka for submit@debbugs.gnu.org; Wed, 21 Jul 2010 00:38:18 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:53799) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ObQYm-0006Zt-4d for submit@debbugs.gnu.org; Wed, 21 Jul 2010 00:05:32 -0400 Original-Received: from [140.186.70.92] (port=34035 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObQYj-000334-Rn for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 00:05:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObQYi-0002JG-Ii for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 00:05:29 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:57613) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObQYf-0002Ii-MC; Wed, 21 Jul 2010 00:05:25 -0400 Original-Received: by gxk4 with SMTP id 4so4279385gxk.0 for ; Tue, 20 Jul 2010 21:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=G1L9o+LiUnDcPC5XOoe9wHLmVFwhD5uDord/UM30Xbo=; b=EbfYysYHfeZlFBmBKp3wkLwUomf9rt47cd3Zz4qSWYM0iVPdvXKnTNA9nME3ERAEI1 NkxJ2h8Bxp/A+qP/utUAXnr8m6ZemQTlYURReUnADLkHz50+keyY3tDlSYwCbZL2jp9E liHnQpHITv1XbrUywkO2oeZY4uYnuI9e1M2xc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=rJn5NVeEwYXNdEpFUxRmCkt6HGsrJGJZrbRyVwAFwo4wXTvo04BOZI+Y85e/sg/KxB dO19lOpAfpBE+O9/uvqvND5i+4OYW/BmxLXzw294qVjt8VLwHzZkiYBvET8q9zEO0Ba0 CboYKlKKNmbCoTgu+9nE3avJt0lD9XU+J7plI= Original-Received: by 10.100.136.3 with SMTP id j3mr7609928and.33.1279685124767; Tue, 20 Jul 2010 21:05:24 -0700 (PDT) Original-Received: from [192.168.1.5] (97-122-118-250.hlrn.qwest.net [97.122.118.250]) by mx.google.com with ESMTPS id i25sm79429477anh.17.2010.07.20.21.05.20 (version=SSLv3 cipher=RC4-MD5); Tue, 20 Jul 2010 21:05:24 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: <83pqyhcwit.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 21 Jul 2010 00:39: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:38719 Archived-At: On 7/20/2010 10:02 PM, Eli Zaretskii wrote: >> Date: Tue, 20 Jul 2010 18:44:55 -0600 >> From: Christoph >> CC: Eli Zaretskii, Juanma Barranquero, >> Óscar Fuentes >> >> If nobody else is already working on it, I'd want to give it a try to >> fix this. Either by enhancing cmdproxy or implementing Eli's batch file >> solution. > > Thanks. To make my intent clear: I meant to enhance cmdproxy to use a > batch file when invoking the windows shell. You will see that there's > a variable need_shell in cmdproxy's `main' function which gets set to > a non-zero value when cmdproxy decides it needs to pass the command > the the shell instead of invoking it directly. What I suggested is to > modify the code in this case to put the command on a temporary batch > file, then invoke the shell on that batch file rather than on the > command itself. Thanks for the clarification. I will have a look at that. Christoph