Subject: bug#37594: Menu rearrangement

From: Juri Linkov <[email-masked]>
Date: Wed, 15 Jan 2020 02:04:21 +0200

>>> +** Print menu items in the File menu moved to submenu.
>>
>> I suggest to name the entry "The File menu-bar menu was re-arranged"
>> and describe also the new entries for tabs there.
>
> Installed with these changes.

Also a very useful command async-shell-command has no menu item.
I propose to add a new submenu  "Shell" and add to it two existing
menu items "Shell command" and "Shell command on region",
and two new items "Async shell command" and "Run shell":

Shell:
  Shell command
  Shell command on region
  Async shell command
  Run shell

Also noticed there is no lazy-count menu item in Isearch menu.
Should it be?

diff --git a/lisp/isearch.el b/lisp/isearch.el
index c987393725..25f7cba8e0 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -572,6 +572,11 @@ isearch-menu-bar-map
                   :help "Search for literal char"))
     (define-key map [isearch-special-char-separator]
       '(menu-item "--"))
+    (bindings--define-key map [isearch-lazy-count]
+      (menu-bar-make-toggle toggle-isearch-lazy-count isearch-lazy-count
+                            "Hit count"
+                            "Indication of hit count %s"
+                            "Indicate hit count, globally"))
     (define-key map [isearch-toggle-word]
       '(menu-item "Word matching" isearch-toggle-word
                   :help "Word matching"