From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#41524: 26.3; Request for 'x' for 'execute' in dired menu Date: Sun, 23 Aug 2020 20:26:33 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000008b471505ad94a37c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9909"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: jan , 41524@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 24 02:27:11 2020 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 1kA0KN-0002Px-5o for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 02:27:11 +0200 Original-Received: from localhost ([::1]:48866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kA0KL-0005QO-Jj for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Aug 2020 20:27:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kA0KE-0005PX-3B for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 20:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kA0KD-0000S9-Qr for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 20:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kA0KD-00067E-MU for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 20:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Aug 2020 00:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41524 X-GNU-PR-Package: emacs Original-Received: via spool by 41524-submit@debbugs.gnu.org id=B41524.159822880123458 (code B ref 41524); Mon, 24 Aug 2020 00:27:01 +0000 Original-Received: (at 41524) by debbugs.gnu.org; 24 Aug 2020 00:26:41 +0000 Original-Received: from localhost ([127.0.0.1]:55394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA0Js-00066H-Rz for submit@debbugs.gnu.org; Sun, 23 Aug 2020 20:26:41 -0400 Original-Received: from mail-yb1-f179.google.com ([209.85.219.179]:43502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kA0Jr-00065y-OI for 41524@debbugs.gnu.org; Sun, 23 Aug 2020 20:26:40 -0400 Original-Received: by mail-yb1-f179.google.com with SMTP id m200so4225212ybf.10 for <41524@debbugs.gnu.org>; Sun, 23 Aug 2020 17:26:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=AF6sX3ZSHK8TuYko+6FFphsgsH/d6nKwvnKpwwVHEpY=; b=lrs0p0dUserfFV/mt54LGGqBat6ik+W9G+BJhFP0OiV/z8MRQVDbPqMxIc+BaGX43q Cfz1NO+q94z5ecruW5x9u/N3csl1hv+zXRT++f6RE84m/LIwrvAv87zoXc7vGB/F9fyT We2sqNOp+VCYdDvkm1WkObK9+JtY/U0+G0S9/tef+ec5xIG5PzHrLmML8C3JYJ8UFnOq D/W+uZ+ohLxMAC4zBBtyL78vSUsZkLWuBqJTVLl90UlnthUQxF3hkxb3V9wdjR6nq3Vh wltq+nnLMG+IcMiBJNdRTPP4tnB5YUxS3mRb2CAq4Zd/0s6SUFiFRq0GjJ7nVhBEUPkv GH6Q== X-Gm-Message-State: AOAM531EQLNlSIEgND82SO0MOcyZJFdTXXQx+yBCLSZ821SL/CDaFJH7 3gl5A1MQHgBaSeUqOkDh41Kf/jeQDznDBZLHYb0= X-Google-Smtp-Source: ABdhPJz6KmJ7qVPFNrvj3A7UNbngy53ezn+KhJQNK3B/jbunkPbJ1t0GO9LlkZjd+m0V+AaNCVNpwDfEeYQZTUnpJrc= X-Received: by 2002:a5b:508:: with SMTP id o8mr4735838ybp.43.1598228794124; Sun, 23 Aug 2020 17:26:34 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 23 Aug 2020 20:26:33 -0400 In-Reply-To: (Drew Adams's message of "Mon, 25 May 2020 08:05:25 -0700 (PDT)") 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:186099 Archived-At: --0000000000008b471505ad94a37c Content-Type: text/plain; charset="UTF-8" tags 41524 + patch thanks Drew Adams writes: >> I was using dired recently after a very long break from it. >> >> I marked some files for deletion, wasn't sure how to actually trigger >> the delete, had a suspicion it was 'x' but checked the menu anyway (I >> often use the menu merely as a handy cheat-sheet for the keyboard >> commands). It appears not to be there. >> >> If it is actually missing I request it be added as it makes no sense >> for >> beginners, who may actually use the menu with the mouse, to be able to >> variously mark stuff but then lack a way of carrying them out. > > Yes, `x' is not in a menu-bar menu. It should be. > > If you use Dired+, it is. There, you have submenu > `Delete', with menu items `Delete Marked (not Flagged)' > and `Delete Flagged'. The former has key `D', and the > latter has key `x'. > > (In Dired+, menu-bar menu `Operate' is named `Multiple', > so submenu `Delete' is `Multiple > Delete', not `Operate >> Delete'.) How does the attached patch look? (I had a look at Dired+ and lifted some help strings from there. Thanks Drew.) Best regards, Stefan Kangas --0000000000008b471505ad94a37c Content-Type: text/x-diff; charset="US-ASCII"; name="0001-Add-Delete-submenu-to-Dired-Mark-menu.patch" Content-Disposition: attachment; filename="0001-Add-Delete-submenu-to-Dired-Mark-menu.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 8ac13103c7575ec4_0.1 RnJvbSA5MzU2ODM2MDhkYzNlOWFiMGQ2MDdmYjVjZGYwZWNhM2Q1MGIyODBkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBNb24sIDI0IEF1ZyAyMDIwIDAyOjE3OjUyICswMjAwClN1YmplY3Q6IFtQQVRDSF0g QWRkICJEZWxldGUiIHN1Ym1lbnUgdG8gRGlyZWQgIk1hcmsiIG1lbnUKCiogbGlzcC9kaXJlZC5l bCAoZGlyZWQtbW9kZS1tYXApOiBBZGQgIkRlbGV0ZSIgc3VibWVudS4KKEJ1ZyM0MTUyNCkKLS0t CiBsaXNwL2RpcmVkLmVsIHwgMTAgKysrKysrKysrKwogMSBmaWxlIGNoYW5nZWQsIDEwIGluc2Vy dGlvbnMoKykKCmRpZmYgLS1naXQgYS9saXNwL2RpcmVkLmVsIGIvbGlzcC9kaXJlZC5lbAppbmRl eCBhYWQ0NGE2ZDY5Li43ZDcwZjQyODhlIDEwMDY0NAotLS0gYS9saXNwL2RpcmVkLmVsCisrKyBi L2xpc3AvZGlyZWQuZWwKQEAgLTIwNjUsNiArMjA2NSwxNiBAQCBkaXJlZC1tb2RlLW1hcAogCQkg IDpoZWxwICJSZXBsYWNlIG1hcmtlciB3aXRoIGFub3RoZXIgY2hhcmFjdGVyIikpCiAgICAgKGRl ZmluZS1rZXkgbWFwIFttZW51LWJhciBtYXJrIHVubWFyay1hbGxdCiAgICAgICAnKG1lbnUtaXRl bSAiVW5tYXJrIEFsbCIgZGlyZWQtdW5tYXJrLWFsbC1tYXJrcykpCisgICAgKGRlZmluZS1rZXkg bWFwIFttZW51LWJhciBtYXJrIGRlbGV0ZV0KKyAgICAgIGAobWVudS1pdGVtICJEZWxldGUiCisg ICAgICAgICAgICAgICAgICAsKGxldCAoKG1lbnUgKG1ha2Utc3BhcnNlLWtleW1hcCAiRGVsZXRl IikpKQorICAgICAgICAgICAgICAgICAgICAgKGRlZmluZS1rZXkgbWVudSBbZGVsZXRlLWZsYWdn ZWRdCisgICAgICAgICAgICAgICAgICAgICAgICcobWVudS1pdGVtICJEZWxldGUgRmxhZ2dlZCBG aWxlcyIgZGlyZWQtZG8tZmxhZ2dlZC1kZWxldGUKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgOmhlbHAgIkRlbGV0ZSBhbGwgZmlsZXMgZmxhZ2dlZCBmb3IgZGVsZXRpb24gKEQp IikpCisgICAgICAgICAgICAgICAgICAgICAoZGVmaW5lLWtleSBtZW51IFtkZWxldGUtbWFya2Vk XQorICAgICAgICAgICAgICAgICAgICAgICAnKG1lbnUtaXRlbSAiRGVsZXRlIE1hcmtlZCAoTm90 IEZsYWdnZWQpIEZpbGVzIiBkaXJlZC1kby1kZWxldGUKKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgOmhlbHAgIkRlbGV0ZSBjdXJyZW50IGZpbGUgb3IgYWxsIG1hcmtlZCBmaWxl cyAobm90IGZsYWdnZWQgZmlsZXMpIikpCisgICAgICAgICAgICAgICAgICAgICBtZW51KSkpCiAg ICAgKGRlZmluZS1rZXkgbWFwIFttZW51LWJhciBtYXJrIHN5bWxpbmtzXQogICAgICAgJyhtZW51 LWl0ZW0gIk1hcmsgU3ltbGlua3MiIGRpcmVkLW1hcmstc3ltbGlua3MKIAkJICA6dmlzaWJsZSAo ZmJvdW5kcCAnbWFrZS1zeW1ib2xpYy1saW5rKQotLSAKMi4yOC4wCgo= --0000000000008b471505ad94a37c--