From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2607: 23.0.90; `system-type' test in `shell-quote-wildcard-pattern' Date: Sun, 8 Mar 2009 23:23:39 -0700 Message-ID: <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 1236581050 25963 80.91.229.12 (9 Mar 2009 06:44:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2009 06:44:10 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 09 07:45:27 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from terminus-est.gnu.org ([66.92.78.210] helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.50) id 1LgZEq-0004BE-Ja for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Mar 2009 07:45:25 +0100 Original-Received: from localhost ([127.0.0.1]:52693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgZDS-0007CV-RJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Mar 2009 02:43:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgZDM-00079k-NF for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2009 02:43:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgZDK-00076w-Pt for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2009 02:43:51 -0400 Original-Received: from [199.232.76.173] (port=49248 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgZDK-00076m-H9 for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2009 02:43:50 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37607) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgZDJ-0005DZ-TU for bug-gnu-emacs@gnu.org; Mon, 09 Mar 2009 02:43:50 -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 n296heAu018874; Sun, 8 Mar 2009 23:43:40 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n296U3gX015235; Sun, 8 Mar 2009 23:30:03 -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 06:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2607 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123657983113978 (code B ref -1); Mon, 09 Mar 2009 06:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 9 Mar 2009 06:23:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n296NlZQ013966 for ; Sun, 8 Mar 2009 23:23:49 -0700 Original-Received: from mail.gnu.org ([66.92.78.42]:35000 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LgYtv-0007fN-7T for emacs-pretest-bug@gnu.org; Mon, 09 Mar 2009 02:23:47 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LgYto-0003Hr-LV for emacs-pretest-bug@gnu.org; Mon, 09 Mar 2009 02:23:46 -0400 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:53665) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgYto-0003Hh-3N for emacs-pretest-bug@gnu.org; Mon, 09 Mar 2009 02:23:40 -0400 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n296OFPA008619 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 9 Mar 2009 06:24:16 GMT Original-Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n296NmlH017911 for ; Mon, 9 Mar 2009 06:23:49 GMT Original-Received: from dradamslap1 (/141.144.168.181) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 09 Mar 2009 06:23:33 +0000 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acmgf5YOpAFjtMUjTBuJDuQHV1dEtw== 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.0A090204.49B4B5E6.021F:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 09 Mar 2009 02:43:51 -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:26176 gmane.emacs.pretest.bugs:24088 Archived-At: This is not so much a bug report as a report of a possible bug, or at least a question. 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. I use Emacs on Windows, but not built on Cygwin. I use it with Cygwin and with `bash' as my shell, however, and that is how the shell behaves for me. I have no problem with `shell-quote-wildcard-pattern' AFAIK (my `system-type' is `windows-nt'), but I'm guessing that someone with a `system-type' of `cygwin' might have trouble with it. If these guesses are wrong, then please ignore this report. If these guesses are correct, then perhaps `cygwin' should be removed from that `system-type' test. The code would then treat `cygwin' Emacs like Emacs on UNIX or GNU/Linux, as far as quoting file-name chars in shell commands is concerned. In GNU Emacs 23.0.90.1 (i386-mingw-nt5.1.2600) of 2009-02-01 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)'