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: Thu, 22 Oct 2015 17:12:00 +0200 Message-ID: <87pp07vsxr.fsf@fencepost.gnu.org> References: <87si59wj42.fsf@T420.taylan> <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 X-Trace: ger.gmane.org 1445526795 16147 80.91.229.3 (22 Oct 2015 15:13:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 15:13:15 +0000 (UTC) Cc: random832@fastmail.com, stephen@xemacs.org, Wolfgang Jenkner , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 17:13:14 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 1ZpHXb-0003k5-S0 for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 17:12:32 +0200 Original-Received: from localhost ([::1]:60575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHXb-00043j-7a for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 11:12:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHXI-0003yd-MP for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:12:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpHXC-0000pp-S5 for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:12:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHX7-0000oA-PL; Thu, 22 Oct 2015 11:12:01 -0400 Original-Received: from localhost ([127.0.0.1]:46687 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ZpHX6-0005xu-FX; Thu, 22 Oct 2015 11:12:00 -0400 Original-Received: by lola (Postfix, from userid 1000) id 2B1EDDF4B4; Thu, 22 Oct 2015 17:12:00 +0200 (CEST) In-Reply-To: <83fv13t07m.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Oct 2015 18:03:09 +0300") 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:192399 Archived-At: Eli Zaretskii writes: >> From: Wolfgang Jenkner >> Cc: random832@fastmail.com, stephen@xemacs.org, emacs-devel@gnu.org >> Date: Thu, 22 Oct 2015 12:54:51 +0200 >> >> > 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. >> >> 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 think that M-x shell RET (namely interactive shells) should also cover csh and their ilk, and I consider it quite likely that shell-quote-argument will be called when preparing arguments to paste into the comint window. So I suspect that things are not as easy as that. -- David Kastrup