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 17:05:10 +0300 Message-ID: <83si54e2qx.fsf@gnu.org> References: <87si59wj42.fsf@T420.taylan> <878u6znii9.fsf@T420.taylan> <877fmjj9p6.fsf@fencepost.gnu.org> <87zizfm2dq.fsf@T420.taylan> <871tcr7yvq.fsf@fastmail.com> <87mvvfm0bd.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445436380 6992 80.91.229.3 (21 Oct 2015 14:06:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 14:06:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Random832 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 21 16:06: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 1Zou1r-0003PF-43 for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 16:06:11 +0200 Original-Received: from localhost ([::1]:51732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zou1l-0005TB-50 for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 10:06:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zou1X-0005Jn-RS for emacs-devel@gnu.org; Wed, 21 Oct 2015 10:05:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zou1T-00062o-Pw for emacs-devel@gnu.org; Wed, 21 Oct 2015 10:05:51 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zou1T-00062j-C7 for emacs-devel@gnu.org; Wed, 21 Oct 2015 10:05:47 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NWK00B00PN9S300@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 21 Oct 2015 17:05:03 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWK00A3TPSEWAC0@a-mtaout22.012.net.il>; Wed, 21 Oct 2015 17:05:03 +0300 (IDT) In-reply-to: <87y4ewoqbs.fsf@fastmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:192278 Archived-At: > From: Random832 > Date: Tue, 20 Oct 2015 23:25:43 -0400 > > > That's also my point, exactly. Any code in Emacs should use standard > > APIs, and if those APIs need to be fixed, they should be fixed > > regardless. But the need to be fixed does not mean the APIs should be > > bypassed. > > Strictly speaking, Emacs doesn't *have* an API for "quote for POSIX > shells" Of course it does: it's called "shell-quote-argument". It does support Posix shells. > The objection to the feature of only supporting POSIX shells is > substantive but has little to do with bypassing an API. That objection is not the primary consideration, it was just the first thing that caught my eye (because a comment in the code explicitly said so). The primary consideration is the need to use established interfaces for standard jobs.