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: Thu, 22 Oct 2015 18:52:35 +0300 Message-ID: <834mhiucho.fsf@gnu.org> References: <87si59wj42.fsf@T420.taylan> <87h9llvo98.fsf@members.fsf.org> <5626622A.3090707@yandex.ru> <87zizdijbp.fsf@T420.taylan> <56267302.7050606@yandex.ru> <87io61igyu.fsf@T420.taylan> <56267CDF.6010201@yandex.ru> <87wpuhh15s.fsf@T420.taylan> <562683B9.1060305@yandex.ru> <83y4exe71v.fsf@gnu.org> <87y4ewoqbs.fsf@fastmail.com> <83si54e2qx.fsf@gnu.org> <87y4ew8fue.fsf@fastmail.com> <83zizcurco.fsf@gnu.org> <87k2qgw3q1.fsf@fastmail.com> <83lhawuny4.fsf@gnu.org> <22055.54617.848927.986392@turnbull.sk.tsukuba.ac.jp> <85a8rcrs8q.fsf@iznogoud.viz> <83fv14ukna.fsf@gnu.org> <854mhkrqwe.fsf@iznogoud.viz> <838u6wujeu.fsf@gnu.org> <85eggnuq9w.fsf@iznogoud.viz> <83fv13t07m.fsf@gnu.org> <5629039F.9030107@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445529272 32672 80.91.229.3 (22 Oct 2015 15:54:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 15:54:32 +0000 (UTC) Cc: random832@fastmail.com, stephen@xemacs.org, wjenkner@inode.at, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 17:54:24 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 1ZpIC2-0005Oq-K2 for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 17:54:18 +0200 Original-Received: from localhost ([::1]:60839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpIC1-0004OK-Tm for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 11:54:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpIBy-0004O9-Fj for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:54:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpIBu-0008SJ-68 for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:54:14 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:55802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpIBt-0008Rz-Ts for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:54:10 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NWM00200P5TA400@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 22 Oct 2015 18:52:33 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWM0014DPFKUCB0@a-mtaout22.012.net.il>; Thu, 22 Oct 2015 18:52:33 +0300 (IDT) In-reply-to: <5629039F.9030107@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:192406 Archived-At: > Cc: random832@fastmail.com, stephen@xemacs.org, emacs-devel@gnu.org > From: Paul Eggert > Date: Thu, 22 Oct 2015 08:41:19 -0700 > > On 10/22/2015 08:03 AM, Eli Zaretskii wrote: > >> I beg to differ: IMHO, on Unix-like systems, there's no point for > >> >`shell-command' and friends to support anything but /bin/sh, which is > >> >certainly a Bourne shell and hopefully reasonably POSIX compliant. > > I see your point. However, this is contrary to a very old and > > documented behavior. Would such a change be acceptable? > > > > I suppose it would be an incompatible change, but I think it'd be a good > idea. Then maybe we should do this now. > People writing Elisp code shouldn't have to worry about the syntax > of the C shell, or of some MS-Windows shell. The change I had in mind was one limited to Posix platforms. Commands that should run on all supported platforms cannot assume a Posix shell on all of them. The issue at hand is unrelated to MS-Windows, since $SHELL is not set there unless the user sets it, and Emacs on MS-Windows overrides it (by pointing to cmdproxy) even if it is set. And since there are no good native ports of a Posix shell to MS-Windows, we cannot ask our users to install such a shell as a prerequisite for Emacs shell-command and its ilk.