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 05:38:58 +0300 Message-ID: <8337x3vd8d.fsf@gnu.org> References: <87si59wj42.fsf@T420.taylan> <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> <8737x4vyyg.fsf@fastmail.com> <83bnbsujqd.fsf@gnu.org> <87y4ewujf8.fsf@fastmail.com> <837fmguixu.fsf@gnu.org> <87twpkhugn.fsf@fastmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445481561 15875 80.91.229.3 (22 Oct 2015 02:39:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 02:39:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Random832 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 04:39:11 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 1Zp5mW-0001wq-5E for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 04:39:08 +0200 Original-Received: from localhost ([::1]:55348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp5mU-0005H5-UQ for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 22:39:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp5mR-0005Go-TN for emacs-devel@gnu.org; Wed, 21 Oct 2015 22:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp5mO-000077-Mm for emacs-devel@gnu.org; Wed, 21 Oct 2015 22:39:03 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:43688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp5mO-00006h-E8 for emacs-devel@gnu.org; Wed, 21 Oct 2015 22:39:00 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NWL00800NVDTB00@mtaout24.012.net.il> for emacs-devel@gnu.org; Thu, 22 Oct 2015 05:32:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWL004R0ODUOW50@mtaout24.012.net.il>; Thu, 22 Oct 2015 05:32:18 +0300 (IDT) In-reply-to: <87twpkhugn.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.180 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:192338 Archived-At: > From: Random832 > Date: Wed, 21 Oct 2015 15:50:32 -0400 > > Eli Zaretskii writes: > > Sorry, you lost me. If it's not Emacs who will interpret the command, > > then it must be some real shell. So are you talking about forcing > > Emacs to run /bin/sh and nothing else? If so, you can simply bind > > shell-file-name to that (and maybe also bind shell-command-switch > > accordingly). Or am I (again) missing something? > > /bin/sh might not be a POSIX shell. on Solaris you need > /usr/xpg4/bin/sh. And you might need environment variables set such as > POSIXLY_CORRECT or PATH to get POSIX behavior from all utilities. OK, but that still boils down to binding some more variables. If we want to help users with these factoids, we could have a small database of the known Posix shells and their requirements.