Questions tagged [tool-bar]
15 questions
7
votes
1 answer
Removing tool bar oddly slow
(tool-bar-mode 0) takes up 11% of my initialization time (about a third of a second). It's not that big of a deal; it's just strange. I've tried it on multiple computers. I've also tried disabling everything but that line in my .emacs. It always…

Matthew Piziak
- 5,958
- 3
- 29
- 77
6
votes
1 answer
How to customize emacs toolbar?
Let say I want to add a Toolbar icon to emacs which when clicked should "Select all" text in the current window. We know for selecting text we can use M-x mark-whole-buffer. How can I use this command to make emacs toolbar icon?

Eka
- 173
- 1
- 7
3
votes
1 answer
tool-bar in emacsclient
I have the following for ridding of the toolbar on startup in graphical mode in my init configuration:
(if window-system
(tool-bar-mode -1)
)
the issue:
it works fine (albeit slow...see this post) when starting emacs but does not work with the…

manandearth
- 2,068
- 1
- 11
- 23
2
votes
1 answer
Buffer-name on separate "row" from toolbar icons?
Using macOS (11.3, M1 Mac mini) and an older Intel build of Emacs 27.1, when I load a file/buffer into Emacs, the path to the file/buffer shows up at the top of the window, above the toolbar:
But, using a newer "universal" build of Emacs 27.2, the…

jimtut
- 123
- 4
1
vote
0 answers
How to scale toolbar on HiDPI (4K) display on Microsoft Windows?
My laptop display is 3840x2160 and has about a 15" diagonal. My setting to "Change the size of text and apps" is set to Windows's recommendation of 250%. The title bar, text in the buffer, and menu items all have a very reasonable view, but the…

P.Hays
- 51
- 4
1
vote
1 answer
Add separator to main toolbar
How is a separator added to the main toolbar? I have no trouble adding an icon/item with tool-bar-add-item but can't find a way to add a separator.

David McCracken
- 111
- 6
1
vote
1 answer
Remove text from toolbar
my toolbar is filled with many buttons, and I'd like to know if it is possible to remove the text so it only shows the icon (and if it is possible, how to do it).
I currently have this :
But as you can see it is way too long, having just the icons…

Thibault
- 11
- 1
1
vote
1 answer
Strange toolbar icon in AUCTeX mode (on Mac)
I notice there is a strange box-shaped icon in the toolbar in the AUCTeX mode (circled in the picture below).
It should be a toolbar separator (for example, on Linux):
I am using GNU Emacs 26.1 with AUCTeX 12.1.1 on macOS 10.13.6. This problem…

Huihui Li
- 13
- 3
1
vote
0 answers
Is there a way to display png or tiff, instead of xpm, images on the Emacs toolbar for Microsoft Windows?
Is there an emacs version that supports displaying png / tiff images on the toolbar instead of only xpm?
On Mac the Mitsuharu Yamamoto version display TIFF images without any issue. I tried modifying tool-bar.el to add the tiff and png support but…

wizzardghost
- 11
- 2
1
vote
0 answers
Don't enable tool-bar mode when run in terminal?
I have .emacs in my ~ which turns off tool-bar-mode
The problem is that when I run Emacs from terminal, rather than standalone Mac app, it fails on that line Symbol's function definition is void: tool-bar-mode , and stops executing the rest of…

Yaroslav Bulatov
- 133
- 5
1
vote
1 answer
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 anything to help, would appreciate some ideas! …

KHekkus
- 13
- 2
1
vote
1 answer
Tool-bar icons are invisible
I'm having the following problem: In emacs the tool bar icons are invisible as can be seen here. There should be icons like visit new file, save buffer etc below the menu at the top and above the buffer. By the way, they aren't missing, I can still…

Lara
- 123
- 1
- 7
0
votes
2 answers
The (desktop-save-mode 1) thingy interferes with the (tool-bar-mode -1) thingy
Here is a simple Emacs config file:
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
(desktop-save-mode 1)
The toolbar should not appear, right? From some reason, it does. But if I remove the (desktop-save-mode 1) line, the toolbar…

Refael Sheinker
- 105
- 4
0
votes
3 answers
emacs org mode how to learn syntax and a tool-bar-add-item-from-menu syntax question
Thru another post:
Add Save as button to org mode toolbar
I was happy to get a solution:
(tool-bar-add-item-from-menu 'write-file "save" nil
:label "Save As")
And I wanted to look up the documentation on the syntax of this…

ironfish
- 149
- 8
0
votes
2 answers
Add Save as button to org mode toolbar
I have been trying to add a "Save as" button to the org mode toolbar.
Using the example from:
https://stackoverflow.com/questions/20917411/how-to-add-item-to-toolbar-in-emacs#28326863
(defun omar-hotel ()
"another nonce menu function"
…

ironfish
- 149
- 8