Questions tagged [easy-menu]

5 questions
2
votes
1 answer

How to remove menu with easymenu?

Easymenu is great for creating menus, but how can you remove a top-level menu that was created with it? Here's an example. A minor mode might create the following menu: (easy-menu-define some-minor-mode-menu some-minor-mode-map "Menu keymap…
GrB
  • 207
  • 1
  • 6
1
vote
0 answers

easy-menu primary menu separator problem

I really like easy-menu but have discovered an item separator problem; a minimum working example is given below. When I hybrid define-key-after with easy-menu-add-item, the item separators in the "Words and Lines" submenu are fine. However in the…
zugzwang
  • 319
  • 1
  • 14
0
votes
1 answer

Getting easy-menu to display a submenu

I am using easy-menu but cannot get the submenu to work (defvar mcp-outl-subm '("Outl" ["Hide Direct Body" outline-hide-entry :help "Hide Entry"] ["Expose Direct Body" outline-show-entry :help "Show Entry"] …
Dilna
  • 1,173
  • 3
  • 10
0
votes
0 answers

default menu-bar :enable functions -- what are they for?

In the default Emacs menubar (menu-bar.el), a lot of menu items are defined the following way: [...] '(menu-item "Menu item" foo :enable (and (menu-bar-menu-frame-live-and-visible-p) (menu-bar-non-minibuffer-window-p)) My…
GrB
  • 207
  • 1
  • 6
-2
votes
1 answer

Submenus with easy-menu

Can easy-menu-define defined sub-menus that can be activated with the mouse?
Dilna
  • 1,173
  • 3
  • 10