Questions tagged [menu-bar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers
53 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&...
user avatar
  • 553
1 vote
2 answers
80 views

Can the menubar and scrollbar be customized?

In GTK versions of Emacs (or more generally any GUI version of Emacs), can the scrollbar and menubar colors be customized? I can probably change the look of ALL my GTK applications, but when running ...
user avatar
  • 379
0 votes
1 answer
49 views

Why emacs opens a menu with the keybinding bound to another command? [duplicate]

I want to use the command just-one-space which is bound to M-SPC, see the describe key associated with it: Unfortunately, if I press M-SPC a menu opens up in Emacs: I was expecting to execute just-...
user avatar
0 votes
2 answers
68 views

How to remove second row of menu entries (or is it a toolbar)?

I have installed OpenSuse Tumbleweed and later Emacs. If I start Emacs from the shell, $ emacs -Q I have a double row of menu entries File - Edit - Options - ... - Help New File - Open - Open ...
user avatar
  • 572
1 vote
2 answers
70 views

How to rearrange menu bar to show mode-specific items first

The Emacs menu bar places mode-specific menus after most of the default menu items, but before the "Help" menu*. Specifically: "File", "Edit", "Options", "...
user avatar
  • 553
0 votes
2 answers
578 views

How do I change the color of the menu bar in terminal Emacs?

I am using Emacs in a terminal. This is what the menu bar looks like: The menu bar has a white foreground and a black background. I want a green background with a pink foreground instead. Is there a ...
user avatar
  • 553
0 votes
1 answer
73 views

Blank menus with Athena / Lucid

I compiled Emacs 27.1 with --with-x-toolkit=lucid, now the menus are blank. I tried setting the colors in ~/.Xresources: Emacs.pane.menubar.background: black Emacs.pane.menubar.foreground: white Emacs....
user avatar
  • 105
1 vote
1 answer
61 views

How can I access Mac menu bar help via keyboard?

I'd like to be able to search Emacs's Mac menu bar entries using the keyboard, as you normally do in most other Mac applications using s-? (this answer suggest that it should be possible?). I've ...
user avatar
  • 1,463
0 votes
0 answers
55 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… ...
user avatar
  • 572
0 votes
1 answer
22 views

emacs deamon how to keep mode-line-frame-identification at 1

Each time when I open a new file using emacsclient -t -q file.txt, mode-line-frame-identification number keep increases. What is the reason for it, and can I reaccess to previously numbered frames? -...
user avatar
  • 1,102
0 votes
1 answer
94 views

Appearance of Menubar titles in gui

I have tried to get new version of Emacs using guix package manager. Which done successfully. Now I also have Emacs 26.1 alongside Emacs 24. But I am facing a problem that the gui menu-bar titles ...
user avatar
2 votes
1 answer
58 views

describe key for menu-bar items from `menu-bar-open` calls

Preface: I disabled menu-bar-mode and bound <mouse-3> to menu-bar-open, via (global-set-key [mouse-3] #'menu-bar-open) With this configuration, how can I get help for menu-bar items? (My ugly ...
user avatar
  • 4,211
3 votes
1 answer
163 views

How to add a right-aligned menu item to menu-bar?

I hide the window title bar, so I can't use the close window button in the top right corner. I want to add a menu item with no drop-down menu on the far right side of menu-bar, which can only be ...
user avatar
1 vote
0 answers
23 views

Prevent menu-bar from expanding too much

The way I have things configured, some Emacs modes end up adding a lot of entries to the menu-bar. As a result, the Emacs frame increases in width. This results in various annoyances. For now, I've ...
user avatar
1 vote
1 answer
280 views

Replace clicking a menu bar option from M-` to f10 behavior

When I click on File I want to see and not What can I change to provide this functionality? This question didn't really get the right answer.
user avatar
  • 83
2 votes
2 answers
82 views

suppress command echoes from menu-bar items

When selecting items from the menu-bar, then the echo area echoes the selected menu item. Test this by selecting menu-bar -> file -> new window below, when you clicked this menu-bar item, then ...
user avatar
  • 4,211
1 vote
0 answers
126 views

I want the color-theme to highlight the text in the buffers but not change the colors in the menu bar

I loaded a color-theme (manoj-dark) to highlight text in the buffers but it also changed the color of the menu bar. Now the menu bar icons are setting in a black background and the title bar of the ...
user avatar
  • 11
2 votes
1 answer
169 views

add command to the "Buffers" menu

Is it possible to ADD commands to the "Buffers" menu? I'd like to add menu entries for: Open new window below current buffer Split window Close current buffer ...and maybe more. I'd want to add ...
user avatar
  • 45
1 vote
0 answers
85 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 ...
user avatar
  • 4,211
2 votes
1 answer
78 views

How to delete menu item defined in a parent major from within derived mode?

I'm creating custom major mode derived from js-mode which comes with it's own menu entry "Javascript" (top-level entry, between Tools & Help (sorry, not sure what the correct name for that UI ...
user avatar
  • 123
0 votes
1 answer
708 views

Menu bar drop-downs empty

I am using Emacs 25.3.2 on Linux Ubuntu 16.04. The problem is that several of the menu bar items produce empty drop-downs. A grey box appears, but with nothing inside. It looks like this: I ...
user avatar
  • 619
1 vote
1 answer
283 views

Make Emacs 25 menu bar integrate with Unity

I recently upgraded to Emacs 25. With Emacs 24, the menu bar never integrated with Unity. Emacs always had its own menu bar – Gnome 2 style. One of the first things I noticed after upgrading to Emacs ...
user avatar
  • 845
2 votes
1 answer
1k views

How to use menu bar at the top via mouse?

I am opening emacs in --no-window-system mode and I switched xterm-mouse-mode on. Mouse clicks within a buffer work. However, I want the menu at the top of the window to open when I click on it. I.e.,...
user avatar
1 vote
1 answer
222 views

Large blank space between menu-bar and buffer window

There is a large blank space between the top of the buffer and the bottom of the menu-bar in my Emacs 24 on Ubunutu 16.10 that doesn't want to go away. I've tried Googling but can't really find ...
user avatar
  • 13
5 votes
1 answer
3k views

How do I disable menu-bar-mode only for tty frames?

I run both gui frames and tty frames on the same server. I'd like to only have the gui frames have the menu-bar and I want all tty frames to not have a menu bar. I'm confused by the menu bar docs, is ...
user avatar
0 votes
0 answers
131 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 ...
user avatar
  • 1,086
0 votes
1 answer
48 views

Variable names for the nw drop down menu faces?

I'm trying to set up a color theme I like when using an xterm. I'm looking through the variable names (e.g. "Font Lock Doc Face") for the theme 'deep-blue' using Custom Theme option. Unfortunately, ...
user avatar
1 vote
0 answers
24 views

Moving a sub menu to the main menu

How can you move a sub menu -- for example: Search Documentation under Help -- to the main menu?
user avatar
  • 1,388
1 vote
1 answer
96 views

How can I keep the emacs window at a constant size when hiding/showing the menu bar?

I don't like to waste screen space, so usually I have the menu bar hidden. Sometimes, I'd like to show it nevertheless, so I have bound the "menu" key to menu-bar-mode. Works perfectly: (global-set-...
user avatar
  • 461
1 vote
1 answer
984 views

Dropdown menu not working

The dropdown menus in my installation of Emacs 24.3.1 are not working anymore. Pressing F10 or M-x menu-bar-open opens the menu in a text buffer. I really miss the graphical dropdown menu in text mode....
user avatar
  • 135
5 votes
3 answers
2k views

How to add an item to the menu bar?

I have a set of functions that I'd like to put to menu bar for ease of access. For this, I need to create new menu item on menu bar. How can I achieve that?
user avatar
  • 1,343
1 vote
1 answer
160 views

Adding a menu with radio boxes or check boxes

How do you create options with radio boxes or check boxes in the menu bar? I can't find any examples.
user avatar
  • 1,388
1 vote
0 answers
235 views

Toolbar icons unable to load when running Emacs through xhost from FreeBSD to Ubuntu

I'm connected to a FreeBSD Computer using ssh [ip] -X, and emacs launches just fine, but this happens and all the icons are little pieces of paper with red X's: > emacs (emacs:22812): GdkPixbuf-...
user avatar
  • 165
4 votes
2 answers
113 views

Understanding "It is bound to ..." message in describe-function

If you ask for a function description, there is a line that starts: It is bound to <...> <...> <...> For example, for isearch it says: It is bound to <menu-bar> <search&...
user avatar
  • 1,581
0 votes
1 answer
186 views

Setting the default font from menu bar does not stick

I am running emacs 24.4.1 on Kubuntu 15.04 and when I open a new frame, Emacs' own default font (i.e. its default default font) is used as the font for that new font, rather than the default font that ...
user avatar
1 vote
2 answers
1k views

Fullscreen with no titlebar and no menubar in MS-Windows

Is there a way to easily switch to no-distractions writing environment in Emacs for MS-Windows? I would prefer to have Emacs started without window titlebar and without menubar and have that without ...
user avatar
4 votes
2 answers
2k views

How do I change the menu font size?

Right now the font in the menu bar is way too big, so I would like to add a line to my .emacs file that regulates that font size. I already have a line that takes care of the buffer font size, but it ...
user avatar
  • 41
1 vote
0 answers
103 views

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 &...
user avatar
  • 309
3 votes
1 answer
164 views

How can I use the console's menu-bar while running under xwindows?

I like the variable font size feature that emacs has under xwindows. But, I dislike the menus under xwindows. They are generated by GTK or something and they stick out like a sore thumb. Can I use ...
user avatar
  • 1,270
2 votes
1 answer
311 views

Why are some buffers not displayed in the menu-bar?

Notice in the screenshot below, the *Paradox Report* buffer is not displayed in the menu-bar, even though it's clearly a buffer in the buffer-list. An easy way to test this is to run M-: (get-buffer-...
user avatar
  • 22.3k
2 votes
1 answer
125 views

How to get UTF-8 displayed properly in Emacs menus?

I use GNU Emacs 23.4.1 that comes with Debian Wheezy and UTF-8 as system character encoding. When I add bookmark it displays properly in minibuffer and in the buffer, however the bookmark name is ...
user avatar
  • 121
19 votes
2 answers
13k views

How to use the menu bar in terminal emacs?

I am using emacs on the remote server, and I have no idea how to click on options in the menu bar across the top in this context. Here is a screen capture: For example, I want to click some options ...
user avatar
1 vote
1 answer
2k views

Emacs: How to enable toolbar mode and menubar mode only under a certain mode?

I use Emacs. However, I am not familiar with Lisp although I do know some functional programming, and hence I never really understood how to customize the init.el. So basically, I want to be able to ...
user avatar
4 votes
4 answers
2k views

Access menu-bar using keyboard on Mac OS X

When I hit C-f2 in any Mac OS X app (e.g., terminal, firefox), I get keyboard access to the menu bar (file/edit/options &c) In emacs I get a message <C-f2> is undefined in the Echo Area. ...
user avatar
  • 5,427
0 votes
1 answer
465 views

Dropdown Menus fail on mouse click with 'Wrong type argument'

Emacs 24.4 installed on OS X via homebrew: brew install --with-gnutls --cocoa Dropdown menus work fine with <F10>: But fail when clicked on with the mouse: I have recompiled as many files as ...
user avatar
  • 101
12 votes
1 answer
2k views

Emacs and OS X Menu Bar

Been looking for a solution to this for a while now. On OS X minors mode fill the menu bar with useless menu items. Here's a screenshot: If you can't tell, Emacs menu items are blocking the rest of ...
user avatar