From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add shell-quasiquote. Date: Wed, 21 Oct 2015 20:24:24 +0200 Message-ID: <87oafsxep3.fsf@fencepost.gnu.org> References: <87si59wj42.fsf@T420.taylan> <56250803.5080601@cs.ucla.edu> <87a8ren5ys.fsf@T420.taylan> <56259BB1.3070908@cs.ucla.edu> <878u6ykmvt.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445451885 23027 80.91.229.3 (21 Oct 2015 18:24:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 18:24:45 +0000 (UTC) Cc: Random832 , Eli Zaretskii , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 21 20:24:44 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 1Zoy41-0005Uc-5G for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 20:24:41 +0200 Original-Received: from localhost ([::1]:53411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoy3z-0008RB-QK for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 14:24:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoy3v-0008Qy-Td for emacs-devel@gnu.org; Wed, 21 Oct 2015 14:24:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zoy3u-00075c-80 for emacs-devel@gnu.org; Wed, 21 Oct 2015 14:24:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoy3m-00075G-Ez; Wed, 21 Oct 2015 14:24:26 -0400 Original-Received: from localhost ([127.0.0.1]:56851 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1Zoy3l-0004AN-CO; Wed, 21 Oct 2015 14:24:25 -0400 Original-Received: by lola (Postfix, from userid 1000) id D5795DF4C3; Wed, 21 Oct 2015 20:24:24 +0200 (CEST) In-Reply-To: <22055.54617.848927.986392@turnbull.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Thu, 22 Oct 2015 03:11:37 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:192309 Archived-At: "Stephen J. Turnbull" writes: > Eli Zaretskii writes: > > > Next, I could see why users on a Posix host might want to execute > > some commands with a particular non-default shell. I don't see why > > Emacs packages, perhaps with a sole exception of Tramp, would need > > that. > > Sometimes it pays to be precise. All of the OS distributions gave up > on bash because it didn't quite conform to POSIX (even when invoked in > POSIX compatibility mode), and that caused bugs in package > installation and management for packages that used sh scripts rather > than perl or python. That's why shells like ash and dash exist. I think it was more a question of size and startup speed. bash has a lot of features beyond those in the POSIX specs, and the main arguments I saw for replacing bash with dash on systems such as Ubuntu were based on benchmarks. This choice led to a lot of fun with people having to clean their shell scripts from "bashisms", constructs not available in POSIX standards but provided by bash. The "function" keyword for shell functions is one of the most frequent offenders. -- David Kastrup