From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add shell-quasiquote. Date: Thu, 22 Oct 2015 08:41:19 -0700 Organization: UCLA Computer Science Department Message-ID: <5629039F.9030107@cs.ucla.edu> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445528514 17568 80.91.229.3 (22 Oct 2015 15:41:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 15:41:54 +0000 (UTC) Cc: random832@fastmail.com, stephen@xemacs.org, emacs-devel@gnu.org To: Eli Zaretskii , Wolfgang Jenkner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 17:41:45 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 1ZpHzi-0008BG-PN for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 17:41:34 +0200 Original-Received: from localhost ([::1]:60790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHzi-0007MT-0R for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 11:41:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHze-0007MN-Ni for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:41:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpHzd-00034I-Ix for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:41:30 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHza-00032E-7Y; Thu, 22 Oct 2015 11:41:26 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C794E160707; Thu, 22 Oct 2015 08:41:24 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id uOAoH-yEoENw; Thu, 22 Oct 2015 08:41:24 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1C125160D51; Thu, 22 Oct 2015 08:41:24 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Y58WbX7uPrpO; Thu, 22 Oct 2015 08:41:24 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id F2A69160707; Thu, 22 Oct 2015 08:41:23 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: <83fv13t07m.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:192404 Archived-At: 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. Emacs already distinguishes between interactive shells and shells invoked as utilities, and uses explicit-shell-file-name for the former but shell-file-name for the latter. We could put into the documentation that the latter should be a POSIX-syntax shell (not "POSIX-conforming" because strict POSIX conformance is relatively rare). People writing Elisp code shouldn't have to worry about the syntax of the C shell, or of some MS-Windows shell.