Questions tagged [menu-bar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14
votes
2answers
7k 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 ...
11
votes
1answer
1k 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 ...
4
votes
3answers
904 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?
4
votes
2answers
100 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&...
4
votes
3answers
1k 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. ...
3
votes
1answer
2k 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 ...
3
votes
1answer
118 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 ...
3
votes
0answers
800 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 ...
2
votes
2answers
32 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 ...
2
votes
1answer
38 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 ...
2
votes
1answer
268 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-...
2
votes
1answer
114 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
616 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....
1
vote
1answer
51 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 ...
1
vote
1answer
672 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.,...
1
vote
1answer
204 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 ...
1
vote
1answer
61 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-...
1
vote
1answer
106 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.
1
vote
2answers
868 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 ...
1
vote
0answers
13 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 ...
1
vote
0answers
24 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 ...
1
vote
0answers
29 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 ...
1
vote
1answer
127 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 ...
1
vote
0answers
22 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?
1
vote
0answers
166 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-...
0
votes
1answer
26 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, ...
0
votes
1answer
109 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 ...
0
votes
1answer
43 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.
0
votes
1answer
410 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 ...
0
votes
1answer
346 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 ...
0
votes
0answers
77 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 ...