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: Wed, 28 Apr 2021 08:49:52 -0400 Message-ID: <20210428124952.anyz3ddhgvlcxyj3@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> <20210428030025.75hiu5zgrll2qzeq@E15-2016.optimum.net> <87fszbnd70.fsf@gmail.com> <20210428095054.wkpyxl2axhdx26dq@E15-2016.optimum.net> <838s52hb7h.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="26646"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 Cc: 48072@debbugs.gnu.org, kevin.legouguec@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 28 14:51:18 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 1lbjeu-0006ne-89 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 14:51:16 +0200 Original-Received: from localhost ([::1]:58406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbjet-0001fi-AS for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 08:51:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbjeg-0001fQ-CY for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 08:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbjeg-0001SG-4t for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 08:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbjeg-0006xL-4G for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 08:51:02 -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 12:51:02 +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.161961420526666 (code B ref 48072); Wed, 28 Apr 2021 12:51:02 +0000 Original-Received: (at 48072) by debbugs.gnu.org; 28 Apr 2021 12:50:05 +0000 Original-Received: from localhost ([127.0.0.1]:52017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbjdl-0006w2-21 for submit@debbugs.gnu.org; Wed, 28 Apr 2021 08:50:05 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:43065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbjdi-0006vL-2e for 48072@debbugs.gnu.org; Wed, 28 Apr 2021 08:50:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619614195; bh=H07WKEobMI9Ri51t/VEF1psXsG2sIUtDS/8SaMKJlj8=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=KYiwzi3WkyjWMpPey4zk7HTzAso20y8godnf21lQzN6zk/7I53RMA2vm9AJJZK+RM UP0WSSTVm4zhOu3P8XgVJ2Eym0YxM8QX39DncQAfHoazMD2ZypYEVbmrWDnryILwCO NhLD2ksPhBl4unzXqJigA/MyPPXE1uAXPH18go5U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([70.19.86.82]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mlf4c-1lC3mq3seo-00in64; Wed, 28 Apr 2021 14:49:55 +0200 Content-Disposition: inline In-Reply-To: <838s52hb7h.fsf@gnu.org> X-Provags-ID: V03:K1:oSoqEZVplJEPGpGcK/UXpLpjazco7JQRhWfvrEo+XDNSwN11BWM g9PO6E2tXGVdDyEfMeaDmdIAWD/4FBMyxkDU7y75TpLBwWhLYvAIrsdhNAsdKleIbRvwT91 CRXwpYwZUtRdKN9turCLtjBBZICeNb8MR7hOiiplL8AG5YV2Wwy/PwujI1cSZrsfgb71GKp nnVgPdSlCH4Tl8erxtdHQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:w4+4QawBCGs=:wSPPb2Fqw+SIDpxhakQxkI AZ1Ymx6WU6ldtzvGfI+4DPsH0jqCtgiPQGPOHzyZGLHhpVF7ic3KkpONoFpjfBm7ErDWJ0E1E 0BXY+g/p0cgr6EJKKyoiOHYtHb/JupFzLvZWYj72fpqAN13f6b0/1HezIN805jtvDUqj3QdvG LUwuBpXemEXMYAbX9ksL0FQ1RZQU/+O2s2MdbELt9JCnwthD7iz6SpmvPGwu4MGScg6FVwwPI AHxfZCItqT3lukrtVRmeyCSQQqbBIzJwEjUMiu3eibFS5dCW2gcw3lKcIhyaz72dB4Ko+1cWI 2A/xzThx0ZZ862R8jaywk3MqAFIl4xj48huPjwZRznv0u7dYyf75D6DsLs6lABZpZK3lih6i2 METBci3cUsQsK6yZrZYpCeqCRGRSSCpTnt4o0sIKFp/UTElooALWSlqIIc+64/SM0Vf5RUFoT ziom8OqT7jl6PJsDwumYD0iYKZLXlUFlAX2kyO8c4xkN+l9XB2L1Q5QtjkXmn203EDxaq0KyT pI/rlnZp6WzuFn9U56VV+vnhZDm0EuCBzavNASGCGLE11xudhn9hu9yWpKwSHS24VPW1wP2mR TmcKyTElCZTcAkP0AkSE9XhpO4xUsH9Zji4OYmon6MEFcag4XSvX4bBZcM4jNyMxPoqKzd2rs tiXTsp50NR1oxRaZ/wDcEzbBxJveqT1IS5Y0xLsFnAsKPIaVc9FyrijhjpITxuB9by/aNXxtn mM9Nn2PTEc+eXxAJIVDJ5cnZ1fnEbMdznh5aDrD2dGSXmiRA+hJXrGdaiqiAi/ZjqdwVyFRf 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:205107 Archived-At: On 2021-04-28 14:58, Eli Zaretskii wrote: > > Date: Wed, 28 Apr 2021 05:50:54 -0400 > > From: Boruch Baum > > Cc: Eli Zaretskii , 48072@debbugs.gnu.org > > > > I could restrict the check to the preparation of list of completion > > candidates for the defaults put into the mini-buffer history (already > > done in diredc, as an advice around function dired-guess-default), and > > give dired users feedback when a command returns an error condition (o= n > > this week's plan anyway). > > I'm not sure I understand what you are suggesting. Do you mean set up > the completion candidates so that they would only include executable > files found on the system, but allow users also to type commands that > are not among the completion candidates? I think this could be > confusing, and I don't think we have a precedent for such a behavior > elsewhere. I don't understand what your point of confusion is, but it's your call, of course. Your position has emacs offering users impossible choices, choices guaranteed to fail. =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0