Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

emacs

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?

like image 336
EpsilonVector Avatar asked Feb 21 '23 10:02

EpsilonVector


1 Answers

Menus are just keymaps 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)
like image 90
event_jr Avatar answered Feb 22 '23 23:02

event_jr