From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add shell-quasiquote. Date: Sun, 18 Oct 2015 22:52:49 +0300 Message-ID: <83fv18hs32.fsf@gnu.org> References: <87si59wj42.fsf@T420.taylan> <83eggt4esi.fsf@gnu.org> <87fv19wh7b.fsf@T420.taylan> <83bnbx4d7e.fsf@gnu.org> <87twppuzfu.fsf@T420.taylan> <83a8rh48if.fsf@gnu.org> <87io65utmt.fsf@T420.taylan> <5622B337.4050700@yandex.ru> <876125uqzw.fsf@T420.taylan> <5622BE84.8030209@yandex.ru> <87twpptato.fsf@T420.taylan> <87pp0cehly.fsf@gmx.de> <878u70trqz.fsf@T420.taylan> <87si58phte.fsf@gmx.de> <87io648h8r.fsf@fastmail.com> <83oafwhykw.fsf@gnu.org> <8737x87zq6.fsf@fastmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445198003 11379 80.91.229.3 (18 Oct 2015 19:53:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2015 19:53:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Random832 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 18 21:53:10 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Znu0y-0006s9-3g for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 21:53:08 +0200 Original-Received: from localhost ([::1]:35380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Znu0x-0004bm-FF for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 15:53:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Znu0k-0004bG-6O for emacs-devel@gnu.org; Sun, 18 Oct 2015 15:52:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Znu0h-0002lS-0Z for emacs-devel@gnu.org; Sun, 18 Oct 2015 15:52:54 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:37675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Znu0g-0002km-Nk for emacs-devel@gnu.org; Sun, 18 Oct 2015 15:52:50 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NWF00700LMIB600@mtaout26.012.net.il> for emacs-devel@gnu.org; Sun, 18 Oct 2015 22:56:01 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWF001O7M1DHI60@mtaout26.012.net.il>; Sun, 18 Oct 2015 22:56:01 +0300 (IDT) In-reply-to: <8737x87zq6.fsf@fastmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192011 Archived-At: > From: Random832 > Date: Sun, 18 Oct 2015 15:17:53 -0400 > > Eli Zaretskii writes: > >> From: Random832 > >> what is an unusual shell > > > > Any shell that is not the "system's standard shell" is unusual. I > > thought the text made that clear; if not, please suggest how to > > clarify it (without having an exhaustive list of shells, which would > > be a maintenance burden). > > It works on shells that share quoting rules with POSIX, and it works > on MS-DOS, and it works on MS Windows with the assumption that > cmdproxy or any shell listed in w32-system-shells uses the same > rules as cmd.exe and that any other shell uses POSIX semantics. Yes, that's a reasonable interpretation of "standard shell" on each of these operating systems. > >> And I know there's nothing to be done for it, but the fact that it > >> does not have any way to escape wildcards is concerning. > > > > Sorry, I don't follow: in what situation do you think the wildcards > > cannot be escaped? Are you still talking about MS-Windows? > > Yes, sorry. A typical Windows program (at least, one compiled with > MSVC's setargv.obj) will try to interpret wildcards in any part of > CommandLineToArgv's result which contains a ? or * character, with > no provision to prevent it from doing so. (In particular, double > quotes have no effect). This actually depends on the startup code. The latest release of mingw.org's MinGW runtime does allow you to quote wildcard characters. And on Windows XP and older even the other runtimes allow that. In any case, this is not an Emacs problem.