From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#47432: 28.0.50; Dired using ! or & on file should fail without command supplied Date: Mon, 29 Mar 2021 21:55:19 +0300 Message-ID: References: <86sg4hnkdo.fsf@protected.rcdrun.com> <877dlrs7d7.fsf@gnus.org> <877dlrl3wm.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21449"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: 47432@debbugs.gnu.org, Lars Ingebrigtsen To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 29 21:03:50 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQxAz-0005T0-DN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 21:03:49 +0200 Original-Received: from localhost ([::1]:36538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQxAy-0001B5-CV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 15:03:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQx4R-0005Ei-Kd for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 14:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQx4R-00025f-De for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 14:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQx4Q-0000o8-Uw for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 14:57:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Mar 2021 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47432 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 47432-submit@debbugs.gnu.org id=B47432.16170442073074 (code B ref 47432); Mon, 29 Mar 2021 18:57:02 +0000 Original-Received: (at 47432) by debbugs.gnu.org; 29 Mar 2021 18:56:47 +0000 Original-Received: from localhost ([127.0.0.1]:49612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQx4B-0000nV-5v for submit@debbugs.gnu.org; Mon, 29 Mar 2021 14:56:47 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:54361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQx45-0000n3-6g for 47432@debbugs.gnu.org; Mon, 29 Mar 2021 14:56:41 -0400 Original-Received: from localhost ([::ffff:41.202.241.58]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001E1DB.00000000606222E2.000005EB; Mon, 29 Mar 2021 11:56:34 -0700 Content-Disposition: inline In-Reply-To: <877dlrl3wm.fsf@igel.home> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203267 Archived-At: Andreas Schwab [2021-03-28 18:00]: > On Mär 28 2021, Lars Ingebrigtsen wrote: > > > I think that would be a bit odd. But I see that the doc string doesn't > > explicitly say that happens here, so I've added the following sentence > > to the doc string in Emacs 28: > > > > ---- > > When executing, FILE-LIST is appended to the COMMAND string. > > ---- > > No, this is very wrong. The docstring already adequately and correctly > documents that case: > > Otherwise, this runs COMMAND on each file individually with the > file name added at the end of COMMAND (separated by a space). I probably do not understand what you two understand, what I don't understand why should FILE-LIST be appended to empty string, as those files will not be executed unless they are in path, and unless they are executables. ! and & should verify if those files are executables -- and if not, not execute images and directors -- OR -- maybe developer shall decide what is meant with ! or & -- is it maybe meant to execute marked files? And if so, then marked files shall be executed in the default-directory with prepended ./ and not as general system commands searched only in $PATH. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns