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: Tue, 20 Oct 2015 19:11:39 +0200 Message-ID: <87r3kpihx0.fsf@T420.taylan> 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> <56266A24.6060004@cs.ucla.edu> 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 1445361133 28377 80.91.229.3 (20 Oct 2015 17:12:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2015 17:12:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 20 19:12:04 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 1ZoaS8-0000gL-CL for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 19:12:00 +0200 Original-Received: from localhost ([::1]:47176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoaS7-0007gq-TM for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 13:11:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoaRr-0007gl-F4 for emacs-devel@gnu.org; Tue, 20 Oct 2015 13:11:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoaRq-0008E7-Ks for emacs-devel@gnu.org; Tue, 20 Oct 2015 13:11:43 -0400 Original-Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:33894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoaRq-0008Dq-EE for emacs-devel@gnu.org; Tue, 20 Oct 2015 13:11:42 -0400 Original-Received: by wikq8 with SMTP id q8so56380451wik.1 for ; Tue, 20 Oct 2015 10:11:41 -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=Q0NoZKyKNBpO05DXvLlFPI7xc6LxcaBTEY4lEXI4fB4=; b=baK9ssqra0pEVvC+UqSDL3SG4EsabvFcHeGfAkIpmZrZtI1IymtV/jDyKmBdiNHnOU BdtpgoblmLjMBwFgNkwKgD5aW/Ai4sMYvvo9M3MtenMzDuNaibiibDG1I+EhAkYov4FN sGihS070ON2+ApgXKieXfZEhKn16rc4CFIcn7nblwgabESepaatMh3xKjbr8hHHESdJH Djon4yCXy5RSv4IgHR327H4fOQrZDnxPHWO6gEKdFRGgZZ7Y8lfohkxiWbuS/KTU5/6X w0RXNt0IcrEGCWI7byGgsGDGL+f2mvBpOUEifM7X4MExZY/agHIXBnTj48Bun9pOcJTK KG/g== X-Received: by 10.180.76.177 with SMTP id l17mr6014994wiw.16.1445361101586; Tue, 20 Oct 2015 10:11:41 -0700 (PDT) Original-Received: from T420.taylan ([2a02:908:c32:4740:221:ccff:fe66:68f0]) by smtp.gmail.com with ESMTPSA id r4sm20134298wia.19.2015.10.20.10.11.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 10:11:40 -0700 (PDT) In-Reply-To: <56266A24.6060004@cs.ucla.edu> (Paul Eggert's message of "Tue, 20 Oct 2015 09:21:56 -0700") 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::22b 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:192207 Archived-At: Paul Eggert writes: > Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer wrote: >> (shell-command (shqq (./foo bar baz))) >> /bin/bash: ./foo: No such file or directory >> >> I don't see a problem. > > Nor do I. And you can use the same technique to run "./break" or > "/bin/break", should anyone be crazy enough to create a file with > either name. The point is that shqq's quoting mechanism doesn't work > any better than shell-quote-argument does for contrived examples like > "break". I didn't say it would work better in that case. >> I will use shell-quote-argument once the real problem with it is fixed. > > No case has been presented that there's a significant problem with > it. The argument that one might want to run an executable named "if" > is, as you say, a trivial one, i.e., not significant. Yes, a serious case has been presented multiple times. Taylan