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: Wed, 21 Oct 2015 22:10:49 +0300 Message-ID: <838u6wujeu.fsf@gnu.org> References: <87si59wj42.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> <85a8rcrs8q.fsf@iznogoud.viz> <83fv14ukna.fsf@gnu.org> <854mhkrqwe.fsf@iznogoud.viz> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445454728 4774 80.91.229.3 (21 Oct 2015 19:12:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 19:12:08 +0000 (UTC) Cc: random832@fastmail.com, stephen@xemacs.org, emacs-devel@gnu.org To: Wolfgang Jenkner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 21 21:11:58 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 1Zoyna-0004Lb-7n for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 21:11:46 +0200 Original-Received: from localhost ([::1]:53614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoynZ-00016p-Ac for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 15:11:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoyml-00015u-Bq for emacs-devel@gnu.org; Wed, 21 Oct 2015 15:10:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zoymg-0005Zz-S6 for emacs-devel@gnu.org; Wed, 21 Oct 2015 15:10:55 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:39816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoymg-0005Za-Jd for emacs-devel@gnu.org; Wed, 21 Oct 2015 15:10:50 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NWL00I003MV7D00@mtaout26.012.net.il> for emacs-devel@gnu.org; Wed, 21 Oct 2015 22:14:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWL00J4243HVY00@mtaout26.012.net.il>; Wed, 21 Oct 2015 22:14:06 +0300 (IDT) In-reply-to: <854mhkrqwe.fsf@iznogoud.viz> 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:192321 Archived-At: > From: Wolfgang Jenkner > Cc: random832@fastmail.com, stephen@xemacs.org, emacs-devel@gnu.org > Date: Wed, 21 Oct 2015 20:57:21 +0200 > > On Wed, Oct 21 2015, Eli Zaretskii wrote: > > > That's the documented behavior, see the User Manual. > > I know. But you said in http://permalink.gmane.org/gmane.emacs.bugs/107739 > > The standard shell of each > OS is well defined and known to the users of the respective systems. > Moreover, Emacs by default uses that shell automatically. > > I'd say the standard shell is /bin/sh, which may be different from the > (default) login shell (which is the value of SHELL, usually). Yes, all true. Which means we have a potential problem, because the shell that Emacs uses to run shell commands might not be "the standard shell", but some "unusual shell" for which shell-quote-argument might (albeit in rare cases) produce incorrect results. And that's what the updated doc string says, in effect. I guess patches to extend shell-quote-argument to cover more shells on Posix systems should be welcome, and should get higher priority than we thought.