From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add shell-quasiquote. Date: Mon, 19 Oct 2015 18:41:05 -0700 Organization: UCLA Computer Science Department Message-ID: <56259BB1.3070908@cs.ucla.edu> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445306210 17102 80.91.229.3 (20 Oct 2015 01:56:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2015 01:56:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?UTF-8?Q?Taylan_Ulrich_Bay=c4=b1rl=c4=b1/Kammer?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 20 03:56:41 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 1ZoMAG-0002Uo-Vy for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 03:56:37 +0200 Original-Received: from localhost ([::1]:42953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoMAG-0002zN-0k for ged-emacs-devel@m.gmane.org; Mon, 19 Oct 2015 21:56:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoLvn-0000LE-1e for emacs-devel@gnu.org; Mon, 19 Oct 2015 21:41:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoLvH-0006q3-Vf for emacs-devel@gnu.org; Mon, 19 Oct 2015 21:41:11 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoLvH-0006pr-Ps for emacs-devel@gnu.org; Mon, 19 Oct 2015 21:41:07 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 05073160D2B; Mon, 19 Oct 2015 18:41:07 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gZ5z-rYxuoys; Mon, 19 Oct 2015 18:41:06 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3BD9B160D74; Mon, 19 Oct 2015 18:41:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hn5q1vcjT4qw; Mon, 19 Oct 2015 18:41:06 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 1D426160D2B; Mon, 19 Oct 2015 18:41:06 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <87a8ren5ys.fsf@T420.taylan> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:192141 Archived-At: Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer wrote: > Who ever talked about running files in the current directory? It's normal to run files in the current directory. Any function that want= s to=20 run arbitrary shell commands needs to be able to do that. Concerns were r= aised=20 about not being able to run arbitrary commands, so the topic is relevant. > the shell does not try to run the . file as a script, no matter what > PATH is. No, the shell command ". ." tries to run the . file as a script, assuming= that=20 PATH starts with ".:". > How is PATH even relevant to the topic?) PATH can be relevant if a shell command name lacks slashes. Admittedly it's weird to try to run "." as a shell script, but what can I= say?=20 This thread already went down that rabbit hole when the idea of running a= =20 command named "if" was raised. And "." is not a unique case here; for exa= mple,=20 shqq won't run an executable named "break" either.