From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add shell-quasiquote. Date: Sun, 18 Oct 2015 15:35:07 +0200 Message-ID: <87pp0cs3jo.fsf@T420.taylan> References: <87si59wj42.fsf@T420.taylan> <83eggt4esi.fsf@gnu.org> <87fv19wh7b.fsf@T420.taylan> <83bnbx4d7e.fsf@gnu.org> <87twppuzfu.fsf@T420.taylan> <83a8rh48if.fsf@gnu.org> <87io65utmt.fsf@T420.taylan> <5622B3C6.4030208@cs.ucla.edu> <871tctuqw5.fsf@T420.taylan> <5622C340.1050001@cs.ucla.edu> <87lhb1t9sm.fsf@T420.taylan> <83612451wb.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445175330 10981 80.91.229.3 (18 Oct 2015 13:35:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2015 13:35:30 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 18 15:35:29 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 1Zno7T-00045t-Lp for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 15:35:27 +0200 Original-Received: from localhost ([::1]:34039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zno7S-0002Ma-5Q for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 09:35:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zno7D-0002Kh-M7 for emacs-devel@gnu.org; Sun, 18 Oct 2015 09:35:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zno7C-0006i2-KE for emacs-devel@gnu.org; Sun, 18 Oct 2015 09:35:11 -0400 Original-Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:38102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zno7C-0006hx-E8; Sun, 18 Oct 2015 09:35:10 -0400 Original-Received: by wicll6 with SMTP id ll6so65423691wic.1; Sun, 18 Oct 2015 06:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=MXx0coVeNGcd7fceI6TyIYtdNF0IbhNAUb7au7F4vio=; b=PRROrVVZvYU1jonG/6bttr5pS7tvviaXg+RhFLTqQu4ExT7ML7YvQV60afX05Tiu3K XMMBZFetzST6gkxWh7HnbJsRsNKXDA6qoPzjskl5hKSx69JzDNu0D+jZ7Iqem5mPLdUg b99G0+2P1MWkE81OM9swRRCTi6XD4Jt6HdnH7WmGg2fsx6NKJorSjBKxzZBvO/B2XyYq 8N1Qikep4CDe6zEkaoVZUlUiWbhfjVegOiwYJpNJ3I+BPExLHx9eGfzB7HMe5Swlp8W+ z0MrgtqzkSKWGrugbi7JkyNHNZ59pyfR4PfERMqKYZ2dLGxoe/X8n8gJ+o3RX1qdf5AQ b4yw== X-Received: by 10.194.94.71 with SMTP id da7mr28011135wjb.8.1445175309831; Sun, 18 Oct 2015 06:35:09 -0700 (PDT) Original-Received: from T420.taylan ([2a02:908:c32:4740:221:ccff:fe66:68f0]) by smtp.gmail.com with ESMTPSA id bd4sm28182886wjb.15.2015.10.18.06.35.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Oct 2015 06:35:08 -0700 (PDT) In-Reply-To: <83612451wb.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 18 Oct 2015 05:47:00 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::232 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:191946 Archived-At: Eli Zaretskii writes: >> From: taylanbayirli@gmail.com (Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer) >> Date: Sun, 18 Oct 2015 00:22:33 +0200 >> Cc: emacs-devel@gnu.org >>=20 >> > On POSIX shells, shell-quote-argument is just as safe as >> > shqq--quote-string, and on non-POSIX shells it works better. So it's a >> > win, in both readability and in portability, to use >> > shell-quote-argument. >>=20 >> Fixing it does not seem easy at all given I can't trust >> shell-quote-argument. > > You can trust it. > >> And please be realistic in the amount of trust we can put on the >> complicated implementations for non-Unix shells. I can't judge them >> myself since I don't know the syntax of those shells at all. Does >> anyone here know their syntax comprehensively, or checked the >> implementation against the documentation of those shells? > > Yes, we do. Yes, we have. > >> (Actually, those things should be documented for shell-quote-argument, >> and my documentation would point there.) > > What do you think should be documented there that is missing? I just filed bug #21702 about this. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21702 Taylan