Questions tagged [menus]
The menus tag has no summary.
31 questions
0 votes
1 answer
117 views
How to fully and completely remove a menu defined by easy-menu-define
Given an example menu created via easy-menu: (easy-menu-define my-example-menu-map java-mode-map "My example menu" `("ExampleMenu" ["Hello World" 'ignore] ; ... more ...
1 vote
0 answers
44 views
In terminal Emacs, is it possible to increase the spacing between Menu Bar items?
To me, the way the menu bar is displayed in the terminal (with only a single space between items) makes it look like a run-on sentence. Is it possible to make the menu bar display with e.g. 3 spaces ...
0 votes
1 answer
62 views
Strings in menu cons
I am making a topmenu named MCP with a submenu named Daphne. ;; Topmenu MCP (define-key-after global-map [menu-bar mcp-menu] (cons "MCP" (make-sparse-keymap "MCP")) 'Tools) ...
-2 votes
1 answer
94 views
Adding separators between menu items
Have made the following KMAP keymap, and would like to add separators in the menu. To separate the Hide keymap from the Show keymap. How can I do it? (defvar tika-outlmenu-kmap (let ((kmap (make-...
4 votes
2 answers
315 views
How to go up one level in the menu-bar when using the keyboard to access menus
When I go many levels down into the menus in the menu bar, is there a way to go back up just one level? To illustrate: Start Emacs Press F10 to open the menu bar Press Ctrlf to reach the "Edit&...
0 votes
0 answers
49 views
Is it possible to change the menu separator?
Consider the following menu item: Notice that the separator is "--" (between *Messages* and Next Buffer). Is there a way to change the separator? I would like to change it to "======&...
0 votes
0 answers
77 views
How to add a kill-buffer item at the beginning of the Buffers menu-bar menu?
When I want to kill a buffer and I have my hands on the keyboard it's simply C-x k RET but if I have already the right hand on the mouse the k RET part is a bit out of reach for my left hand… ...
1 vote
1 answer
468 views
How can I show a quick menu for the user from Emacs Lisp?
I found EasyMenu and and I tried the example: (easy-menu-define my-menu global-map "My own menu" '("My Stuff" ["One entry" my-function t] ("Sub Menu" ["My subentry" my-obscure-function ...