Is it possible to hide menu items in Emacs in a selective way?

emacs

Solution

Menus are just `keymap`s in Emacs. See documentation

A word of caution though -- I spent a lot of time thinking about how to get menus exactly the way I want them in the beginning of my Emacs journey, but as I used Emacs more, I found I never used menus as a part of my workflow. Rarely, I would click on menus to get a quick overview of the feature organization of a new package.

EDIT:

IMO it's not healthy to dwell on things that just don't matter, but if you insist ... this is Emacs after all. :)

Here is an e-mail thread of someone asking this:

To remove psychotherapist:

(define-key menu-bar-help-menu [emacs-psychotherapist] nil)

Problem

I'd like to sanitize the menus in Emacs since I consider some of the options in them to be noise. Is there a way to remove menu options selectively?

Original source