From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#6784: 24.0.50; cmdproxy incosistency with command pathnames Date: Tue, 03 Aug 2010 19:52:22 +0200 Message-ID: <87ocdj8tyh.fsf@telefonica.net> References: <87iq3radvf.fsf@telefonica.net> <83pqxzy5me.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280858986 17109 80.91.229.12 (3 Aug 2010 18:09:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2010 18:09:46 +0000 (UTC) Cc: 6784@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 03 20:09:43 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 1OgLvl-00059Y-J3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Aug 2010 20:09:37 +0200 Original-Received: from localhost ([127.0.0.1]:33609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgLvk-0002be-Us for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Aug 2010 14:09:37 -0400 Original-Received: from [140.186.70.92] (port=48351 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgLuL-0001g5-2Q for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:08:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgLuF-0008IG-Td for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:08:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43860) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgLuF-0008IB-SG for bug-gnu-emacs@gnu.org; Tue, 03 Aug 2010 14:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OgLfh-0003Zv-TQ; Tue, 03 Aug 2010 13:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Aug 2010 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6784 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6784-submit@debbugs.gnu.org id=B6784.128085793113740 (code B ref 6784); Tue, 03 Aug 2010 17:53:01 +0000 Original-Received: (at 6784) by debbugs.gnu.org; 3 Aug 2010 17:52:11 +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 1OgLet-0003ZZ-57 for submit@debbugs.gnu.org; Tue, 03 Aug 2010 13:52:11 -0400 Original-Received: from impaqm5.telefonica.net ([213.4.138.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgLeq-0003ZU-Jv for 6784@debbugs.gnu.org; Tue, 03 Aug 2010 13:52:09 -0400 Original-Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm5.telefonica.net with bizsmtp id pou11e00G0r0BT63RtsPyf; Tue, 03 Aug 2010 19:52:23 +0200 Original-Received: from qcore ([83.42.13.171]) by IMPmailhost2.adm.correo with BIZ IMP id ptsN1e00A3hRxRf1itsP7d; Tue, 03 Aug 2010 19:52:23 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="981711563$telefonica.net" |auth_email="981711563@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" In-Reply-To: <83pqxzy5me.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 Aug 2010 20:21:13 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 03 Aug 2010 13:53:01 -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:39206 Archived-At: Eli Zaretskii writes: > Please show the full recipe to reproduce this problem. You don't > invoke cmdproxy from the command line, do you? Put this on .emacs, or start with emacs -Q and evaluate it: (setq find-program "c:/apps/gnuwin32/bin/find.exe") Now, do a rgrep. There is no problem if you use the backslash as the path separator. >> Maybe we should remove the CreateProcess method and do everything >> through the underlying shell. > > That's not a good idea if the shell is command.com, for sure. Okay. > For cmd.exe, the problem is a lesser one, but it still exists; e.g., > cmd.exe is limited to 4K long commands, while CreateProcess can handle > 32K. That's one more incosistency: a long command works fine, then you put that command as part of a pipe chain and it stops working. I guess the current cmdproxy approach is the lesser evil.