From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#8132: 23.1; comint shell replaces \ in paths with / Date: Mon, 28 Feb 2011 16:47:42 +0100 Message-ID: References: <4D6A5130.1040107@zvrba.net> <4D6BB83B.20507@zvrba.net> 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 1298909580 16697 80.91.229.12 (28 Feb 2011 16:13:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2011 16:13:00 +0000 (UTC) Cc: 8132@debbugs.gnu.org To: Zeljko Vrba Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 28 17:12:55 2011 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 1Pu5iK-0006fD-1x for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Feb 2011 17:12:48 +0100 Original-Received: from localhost ([127.0.0.1]:35743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu5ch-0004OV-SD for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Feb 2011 11:06:59 -0500 Original-Received: from [140.186.70.92] (port=49614 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu5cZ-0004ML-4U for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2011 11:06:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu5cU-0001da-Uj for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2011 11:06:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu5cU-0001dR-QC for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2011 11:06:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pu5LK-0005Iw-By; Mon, 28 Feb 2011 10:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Feb 2011 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8132-submit@debbugs.gnu.org id=B8132.129890809220328 (code B ref 8132); Mon, 28 Feb 2011 15:49:01 +0000 Original-Received: (at 8132) by debbugs.gnu.org; 28 Feb 2011 15:48:12 +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 1Pu5KU-0005Ho-Tm for submit@debbugs.gnu.org; Mon, 28 Feb 2011 10:48:11 -0500 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pu5KS-0005Hb-6f for 8132@debbugs.gnu.org; Mon, 28 Feb 2011 10:48:08 -0500 Original-Received: by ewy9 with SMTP id 9so1355730ewy.3 for <8132@debbugs.gnu.org>; Mon, 28 Feb 2011 07:48:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=WUDg5lG6NBAdnpocLZCSyffs7vq7SnlPoy4sXmcu6H8=; b=qehMTGUjYi4nbwuQqH0l2cl331Uie9Tg2wGBOPs0mdc+noA1QOCjrJBSx7dX4zSvnx E7vPCTnFo4NpQ7FfHtF62belSWI5r8Ii7/mXIWGdq3mslTYT9FndcKzKr1YRW9srcN9Y YlupnFoCcVYkTHyurqLHQXk1TbK7m/e+0OPQY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Qz1wAEGozVTzDjPRPUQP8rfWaqYl+Ge8P4Q3TB7PomDHLK1mSdOEIbmytBrNOPlsSv PMh/y7pbwUhv1LlOdiHS1khjkuubbrQ2paqxkFmbHnHr93vvTdL3fEwQe/86Gsqcx6VJ Kizflu3ZIMCTDndmNh0osMDqRuI89HDj5KfGI= Original-Received: by 10.213.30.13 with SMTP id s13mr1728639ebc.81.1298908082131; Mon, 28 Feb 2011 07:48:02 -0800 (PST) Original-Received: by 10.213.108.136 with HTTP; Mon, 28 Feb 2011 07:47:42 -0800 (PST) In-Reply-To: <4D6BB83B.20507@zvrba.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 28 Feb 2011 10:49:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:44443 Archived-At: On Mon, Feb 28, 2011 at 3:59 PM, Zeljko Vrba wro= te: > On 2011-02-28 4:32 AM, Stefan Monnier wrote: >>> >>> On Windows 7 (64-bit mod), run M-x shell, and try to do any filename >>> expansion. =C2=A0All backslashes (even >>> manually typed!) are converted to forward slashes upon tab-expansion. >> >> Yes, that's the expected behavior. =C2=A0Could you explain why it's >> a problem? >> > It is a problem because commands built in to cmd.exe (and also external > commands) interpret slash as a command-line switch character. =C2=A0So yo= u end up > with the following situation: > > --> comint expanded \ to / : del ../lpeg-0.10.2/re.html > Invalid switch - "lpeg-0.10.2". > > In short, it breaks all native windows command-line tools. > > Best regards, > =C2=A0Zeljko. Does not most external commands recognize paths with / in them? Which external commands does not do that?