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: Sun, 01 Aug 2010 20:21:43 -0600 Message-ID: <4C562BB7.6000702@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: 7bit X-Trace: dough.gmane.org 1280716815 3014 80.91.229.12 (2 Aug 2010 02:40:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2010 02:40:15 +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 Mon Aug 02 04:40:13 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 1Ofkwl-00028Z-SR for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Aug 2010 04:40:12 +0200 Original-Received: from localhost ([127.0.0.1]:43303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ofkwl-0006dC-8Y for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Aug 2010 22:40:11 -0400 Original-Received: from [140.186.70.92] (port=44660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ofkul-0006FC-1z for bug-gnu-emacs@gnu.org; Sun, 01 Aug 2010 22:38:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ofkug-0005Lp-VI for bug-gnu-emacs@gnu.org; Sun, 01 Aug 2010 22:38:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50234) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofkug-0005Ll-Tr for bug-gnu-emacs@gnu.org; Sun, 01 Aug 2010 22:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OfkfC-00080A-At; Sun, 01 Aug 2010 22:22: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: Mon, 02 Aug 2010 02:22: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.128071569430747 (code B ref -1); Mon, 02 Aug 2010 02:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Aug 2010 02:21:34 +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 1Ofkek-0007zs-3F for submit@debbugs.gnu.org; Sun, 01 Aug 2010 22:21:34 -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 1Ofkei-0007zk-CH for submit@debbugs.gnu.org; Sun, 01 Aug 2010 22:21:33 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:52517) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ofkf4-0007Fv-Hf for submit@debbugs.gnu.org; Sun, 01 Aug 2010 22:21:54 -0400 Original-Received: from [140.186.70.92] (port=58940 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ofkf2-0003rx-Ud for bug-gnu-emacs@gnu.org; Sun, 01 Aug 2010 22:21:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ofkf2-0003U5-2R for bug-gnu-emacs@gnu.org; Sun, 01 Aug 2010 22:21:52 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:57292) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofkf0-0003To-0r; Sun, 01 Aug 2010 22:21:50 -0400 Original-Received: by gwj16 with SMTP id 16so1539488gwj.0 for ; Sun, 01 Aug 2010 19:21:49 -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=eze0UrPtB3oCxH8QqFRucijtRd2+suRWenz56awPJG0=; b=cjKXvgsAC67JUJ6FkMnjUhiuRXyjWFZa6RAGbkubaoOLrji8I+CAIWGkjRiY9UaBJF NR0S2BaHhXaoPNbynTy8VUy8EI1EvVEkvCpqzOQPUE5KtJ2mK1g4P1XkWly3ErwZ/ALZ sVg3FItqWPBRR43aWE+8ce8HbsceTOt87tmJ0= 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=sqXB6rf34TW6pIQucjV8C029+jnX7LWWPp7XkwmzCQAengLXA6wnvepUCZ81wgR5kn aUtoSWzddoAcz1fzeryVsqBYPNqBLaCXLNjIWD6fengliQkiCXomqRKEWPrDhfoTE2lI 80wRSg1L1lkC+lOwF+txKOBT+zYGCNJJ3tzyM= Original-Received: by 10.100.35.18 with SMTP id i18mr5465211ani.139.1280715709141; Sun, 01 Aug 2010 19:21:49 -0700 (PDT) Original-Received: from [192.168.1.4] (184-96-103-154.hlrn.qwest.net [184.96.103.154]) by mx.google.com with ESMTPS id c19sm8782868ana.2.2010.08.01.19.21.47 (version=SSLv3 cipher=RC4-MD5); Sun, 01 Aug 2010 19:21:48 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.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: Sun, 01 Aug 2010 22:22: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:39126 Archived-At: On 7/20/2010 10:02 PM, Eli Zaretskii wrote: > 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. Eli, I remember a comment of yours earlier in the thread that DOS does not have the problem. I assume that this is due to a difference in command.com vs cmd.exe? Do we want to execute the batch file only in case of cmd.exe or for both command.com and cmd.exe? Christoph