From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.bugs Subject: bug#48072: 28.0.50: dired-read-shell-command: handle empty input properly [PATCH] Date: Tue, 27 Apr 2021 23:00:25 -0400 Message-ID: <20210428030025.75hiu5zgrll2qzeq@E15-2016.optimum.net> References: <20210427190243.n5yg3gywd5wma3jl@E15-2016.optimum.net> <83lf93h6x1.fsf@gnu.org> <20210427193253.ourhlr3nxdem3e6t@E15-2016.optimum.net> <83k0ongnc7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5840"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 Cc: 48072@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 28 05:01:11 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 1lbaRp-0001Mc-Pw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 05:01:09 +0200 Original-Received: from localhost ([::1]:33572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbaRo-0002MI-Pb for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 23:01:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbaRi-0002M2-6b for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 23:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbaRh-00021c-To for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 23:01:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbaRh-0008Ec-SO for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 23:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Apr 2021 03:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48072 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 48072-submit@debbugs.gnu.org id=B48072.161957883831613 (code B ref 48072); Wed, 28 Apr 2021 03:01:01 +0000 Original-Received: (at 48072) by debbugs.gnu.org; 28 Apr 2021 03:00:38 +0000 Original-Received: from localhost ([127.0.0.1]:51414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbaRK-0008Dp-CF for submit@debbugs.gnu.org; Tue, 27 Apr 2021 23:00:38 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:46383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbaRH-0008Da-6R for 48072@debbugs.gnu.org; Tue, 27 Apr 2021 23:00:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619578828; bh=GhvOZ7dcIdhpgh34uUcDxDacuLPx47D4QPzIN5giZ9Y=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=INfWbEljvkRPlA1MhT79oovwFZ7s1IOQFTFQcUrgXGCvlfzP1FCUxkZhpNfHrYfMj SGqKye8knQHJzlcBWLZJ291m5IIaO7EiMPfqL3ZZCK3tvNvOe5Otl12rKpy7bkZzKC DWli5K0AnYcm3IXURnhJONuCuCYzU2eZ+tH47bw8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([70.19.86.82]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1N2mBQ-1lRVB20agm-0133BB; Wed, 28 Apr 2021 05:00:28 +0200 Content-Disposition: inline In-Reply-To: <83k0ongnc7.fsf@gnu.org> X-Provags-ID: V03:K1:vSzA0RGeOuOE4ACxeRyVi3IoVSgIX2UpAxodscbjJz0hoLEhCv4 a03VqHtry3UWCYwu2j2NET6J3AYGvOtM7bRQzkbObN2EG1oudnc8A7nalyCPoC0dGfD5tU3 ORZTtmC4mZCakLlb8XLhjOizVuKczbpJdE+/BQzdeggyuRdjpM1PkS3VlMrpOGV2H7N95Yp uGCE5HIu0lPB0G+HGzwCg== X-UI-Out-Filterresults: notjunk:1;V03:K0:Y0fVFtQIIaE=:eXxYjdnDoCy1ogmbdjAaah PLaBT4T+wVOiBVfXITwUvckbQootWRiIDVEx0MDZbfhfcGq8CivRcI+zsFo6jGELzN45jE+Aj YyfHJyYdj6TDufACRU+bhaG7IT7ldedXFiK9dtf/B8GxttT6vTV2MCvAY5DweBGfLdbpqxhmO 0zoPNVAmXbedVHSa7PqOsoE55NeWfOgusVZlBtHPl9jtRP8jHtGzRlnoV7I/xl7khNaAxL9lp ZQkCz8nFPMpk5c51MLy6XduiC9AZqEbzV1VisXDb0avSay51xbTEvJo4noh7QPEhfyT+htRf+ Xq892N22NHhrQX8IvEC9547FaqI1VE8IbwDkMZPIFIHgwD5QTsH3rrLjDTtLwY3gB3kzrS+5v j50abJvKv1jYcU2vDtcf1SyXnS12yPMpkbk591wWb5Tlg+JR8xYdtK30xwKtM3xsDtzEH21cv yrppGeSH4DiJSsIpGxExTrz96bSyDDxOjZ7McohZLIY8G34OL7W1ZPQ3yaawNPIB7kDWHkIq7 t7vwL/gxiU57qz0TEfVnl6tYh2y4NYVVtWq70ejCEFBgIg2S/atjROwpAv6hqQZv8ncipHGHW LK2Cs6wsmRkyxCyaH2/2iLONN9n/c6AA4/P5VjOxBL7BBupMkcZdnCoH0944U2Flnv7NtLZvY Z7TWbz5FU+wRS8F25nrLnNQFv3i6Sukr2/47/5Q75hPdrqT2dWlJVYZm5fwoSdcJigj/B5Zsr 4Xo+8u/B/l196rTC/4KGBti9lM3JDOJ97nU8YwpJi1GDalanvLVPj5XCE7ug43T1K78IM+Pg 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:205077 Archived-At: On 2021-04-28 05:22, Eli Zaretskii wrote: > > Date: Tue, 27 Apr 2021 15:32:53 -0400 > > From: Boruch Baum > > Cc: 48072@debbugs.gnu.org > > > > > > validates the entered command as a valid shell executable. > > > > > > This is certainly a mistake: a valid shell command doesn't have to b= e > > > a file that executable-find is able to find. Shells are known to > > > support all kinds of internal and magic commands. > > > > My testing indicates otherwise. > > Would you care to share the details of that testing, please? I evaluated shell-command-to-string for shell aliases and shell functions, all of which returned error of type 'command not found'. That would indicate that the class of 'internal commands' aren't valid in the current state of emacs. =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0