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#9792: 24.0.50; process-file and space in filename Date: Thu, 20 Oct 2011 13:00:18 +0200 Message-ID: <8362jkszb1.fsf@gnu.org> References: <83botdv3e6.fsf@gnu.org> <83obxcuaes.fsf@gnu.org> <868vogxncj.fsf@gmail.com> <878voggmqx.fsf@gmx.de> <864nz4nhyd.fsf@gmail.com> <83aa8wt1yv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1319108475 16417 80.91.229.12 (20 Oct 2011 11:01:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 11:01:15 +0000 (UTC) To: sdl.web@gmail.com, 9792@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 13:01:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGqN2-0002uK-Bl for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 13:01:08 +0200 Original-Received: from localhost ([::1]:56057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGqN1-0006lJ-QW for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 07:01:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGqMv-0006lC-OG for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 07:01:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGqMp-0006g3-F5 for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 07:01:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGqMp-0006fx-Cw for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 07:00:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGqNu-00075G-17 for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2011 07:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Oct 2011 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9792-submit@debbugs.gnu.org id=B9792.131910849527195 (code B ref 9792); Thu, 20 Oct 2011 11:02:01 +0000 Original-Received: (at 9792) by debbugs.gnu.org; 20 Oct 2011 11:01:35 +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 1RGqNS-00074Z-VX for submit@debbugs.gnu.org; Thu, 20 Oct 2011 07:01:35 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGqNO-00074G-K8 for 9792@debbugs.gnu.org; Thu, 20 Oct 2011 07:01:32 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LTD00K002C7OV00@a-mtaout21.012.net.il> for 9792@debbugs.gnu.org; Thu, 20 Oct 2011 13:00:15 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LTD00K5N2KEI0B0@a-mtaout21.012.net.il>; Thu, 20 Oct 2011 13:00:15 +0200 (IST) In-reply-to: <83aa8wt1yv.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: Thu, 20 Oct 2011 07:02:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52914 Archived-At: > Date: Thu, 20 Oct 2011 12:02:48 +0200 > From: Eli Zaretskii > Cc: 9792@debbugs.gnu.org > > > But I can C-u M-C-x process-file and get a backtrace like this one: > > http://paste.pound-python.org/show/13964 if that is helpful. > > Assuming that process-file is called with the name of the program > being just "git", with no leading directories, it sounds like the > problem is born inside call-process and its subroutines; I will have a > look. The problem happens when both of the following conditions are true: . the command being invoked is a batch file (git.cmd in this case) . the directory where it lives included parentheses I cannot find a workable solution for this situation; the error happens even if the batch file is invoked via the system shell. Suggestions for solving this are welcome. The relevant function is w32proc.c:sys_spawnve. Unless someone can suggest how to fix this, I'm inclined to tag this problem as "wontfix", and suggest that Windows users do not install such commands in a directory whose name includes parentheses.