Questions tagged [menus]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
36 views

Is there a way (a package?) to “redirect” pop-up menus to the minibuffer, ido, or completion buffer; either generic or flyspell-specific

Sometimes I must use Emacs (in X mode) over a network connection (for example, working on a cloud VM). I am pretty comfortable with the interface responsiveness inside a frame, although X is ...
3
votes
0answers
28 views

How to advise code to keep popup menus within frame?

How to advise code that pops up menus (like the ones you get by left-clicking a major-mode indicator in the modeline) to stay within the current Emacs frame? Background: Probably this is a bug within ...
1
vote
1answer
33 views

right click for menu with choices (to change font size)?

I am using emacs 26.1 under macos. when I right-click with the mouse, emacs seems to want to select the region. alas, I would prefer to see a popup menu where I can select a few choices that I would ...
1
vote
2answers
213 views

Command to invoke menu-bar's open-file?

The traditional way of opening a file is via C-x C-f (find-file). I don't know since when this has been the case, but in Emacs 27.0.50 (Linux), using the menu bar's File -> Open File invokes the GTK ...
0
votes
2answers
199 views

How to use a menu to jump between sections of a document?

I would like to define my own rules for what a section of a document is, then use this so I can popup a list of sections I can auto-complete or use arrow keys to jump between them. Take a simple ...
1
vote
0answers
35 views

put menus, defined in packages, as submenu into own menu-bar menu

Introduction: The menu-bar is a nice institution of emacs to remember a command and its shortcut. Using then easy-menu-define for defining own menus is pretty awesome with regard to this purpose. So ...
0
votes
0answers
167 views

Spacemacs menu in mini-buffer displays Dired+ “C-x D A” command unreliably

Two weeks ago I installed Dired+. I successfully used Dired+ C-x D A (diredp-add-to-dired-buffer) command. But the Dired+ C-x D A command is not always available. Sometimes after C-x, the D appears ...
1
vote
1answer
58 views

Key assignments in init file issue

I am customizing emacs X11 on a Linux box. By default, C-x C-s is bound to save-buffer, and C-x C-s shows as the keyboard shortcut in the File->Save menu. If I put into my .emacs file the following ...
0
votes
0answers
53 views

Duplicate menu items in spacemacs

As you can see in the screen shot below: Subdir appears twice under Subdir. All the submenu items are identical It also happens to Operate, Mark, Regexp and Immediate too Here are the screenshot of ...
4
votes
1answer
109 views

buffer menu unsort entries

Where can I handle how the control + left-click menu displays entries? This is how it looks when it is displayed the way I want, i.e. with no fancy sorting by file type: And this is how it looks ...
2
votes
1answer
216 views

menu navigation in source file

Is it available a mode that, entering a source file, scans it to find all the function, class and methods declarations and eventually install a menu that enables jumping around in the source file? I ...
4
votes
3answers
486 views

How do I page when “ESC - (1 of n) [C-h paging/help]” shows in the emacs status bar?

I am an Emacs newbie having some problems navigating around when using the terminal, but pressing the ESC key brings up a huge list of key options which gives me the option of paging down and possibly ...
3
votes
2answers
692 views

How to write a function with an interactive choice of the value of the argument?

How to write a function in Emacs Lisp that interactively would give the opportunity to choose one of the options? Choose your animal: Cow Rabbit Dog You have to press 1 to select Cow, 2 to select ...
1
vote
0answers
124 views

how to prevent buffer menu from folding

Is there a way to prevent emacs from folding the buffer menu? Example, when I Control + 'right click' on a buffer I see a menu like this: Buffer Menu ----------- JavaScript > XQuery > Custom &...
1
vote
2answers
427 views

How can I create custom menu prompts in elisp?

I have two elisp functions: $ cat ~/myelisp/myoptions.el (defun get-my-name (arg) "Prompt user to enter a string, with input history support." (interactive (list (read-string "Enter your ...
0
votes
0answers
80 views

How to write a loop to remove all the items in menubar?

The menubar of the mac port emacs can not be disabled. I currently use (define-key global-map [menu-bar file] nil) (define-key global-map [menu-bar edit] nil) (define-key global-map [menu-bar ...