From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#2607: 23.0.90; `system-type' test in `shell-quote-wildcard-pattern' Date: Mon, 9 Mar 2009 15:40:32 -0700 Message-ID: <010401c9a108$0e5a9ec0$c2b22382@us.oracle.com> References: <005601c9a07f$96946c50$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 2607@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236642647 8860 80.91.229.12 (9 Mar 2009 23:50:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2009 23:50:47 +0000 (UTC) To: "'Eli Zaretskii'" , <2607@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 10 00:52:04 2009 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.50) id 1LgpFu-0004hf-Oo for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Mar 2009 00:51:35 +0100 Original-Received: from localhost ([127.0.0.1]:45643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgpEZ-0003zL-9F for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Mar 2009 19:50:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgoVr-00046X-6t for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2009 19:03:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgoVm-0003zt-Dd for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2009 19:03:57 -0400 Original-Received: from [199.232.76.173] (port=38836 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgoVm-0003ze-7P for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2009 19:03:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44675) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgoVk-0007bv-S0 for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2009 19:03:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n29N3eAA021434; Mon, 9 Mar 2009 16:03:40 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n29Mj2TR016448; Mon, 9 Mar 2009 15:45:02 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 09 Mar 2009 22:45:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2607 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2607-submit@emacsbugs.donarmstrong.com id=B2607.123663844416294 (code B ref 2607); Mon, 09 Mar 2009 22:45:02 +0000 Original-Received: (at 2607) by emacsbugs.donarmstrong.com; 9 Mar 2009 22:40:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from rgminet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n29Mef2U016288 for <2607@emacsbugs.donarmstrong.com>; Mon, 9 Mar 2009 15:40:42 -0700 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n29MfiNG018704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 9 Mar 2009 22:41:46 GMT Original-Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n29MeYfw023860; Mon, 9 Mar 2009 22:40:36 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 09 Mar 2009 22:40:30 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcmhBwBhJh0jzyMQQCS0E5t/Pye4hwAAEt2A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt703.oracle.com [141.146.40.81] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010202.49B59AE0.00F4:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 09 Mar 2009 19:03:57 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:26191 Archived-At: > > The code of `shell-quote-wildcard-pattern' has this test: > > (memq system-type '(ms-dos windows-nt cygwin)). Looking at that > > code, the inclusion of `cygwin' here seems suspect to me. > > > > The Elisp manual says only that a `system-type' of `cygwin' means > > Emacs running on Cygwin ("type of operating system Emacs is > > operating on"). Dunno what that means, really, but I'm guessing > > that such a system would use a shell, such as `bash', that treats > > characters in file names similarly to how `bash' treats them for > > GNU/Linux or UNIX. > > Cygwin is in the same list because Cygwin runs on Windows, and Windows > does not allow the `"' character in file names. It's true that Cygwin > uses Bash as the shell, but no shell can fix what the underlying > filesystem does not support. OK, thanks for checking. I'm not claiming the code is wrong; I just thought it might be. For me, using `bash' with Cygwin, but with Emacs built natively, escaping the chars that are handled in the UNIX part of the code makes most sense. But yes, the `"' thing is of course true. That seems to be a separate matter. It was mainly the set of chars for which escaping occurs that seemed to me might better follow the UNIX model (for Cygwin). But if you've checked the code and feel it is right, that's good enough for me.