Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [menus]

The tag has no usage guidance.

2
votes
0answers
21 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
13 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
96 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
131 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
20 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
151 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
48 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
45 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 ...
5
votes
1answer
70 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 ...
3
votes
1answer
163 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 ...
2
votes
2answers
350 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 ...
2
votes
2answers
466 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
95 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
341 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
70 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 ...