Questions tagged [scroll-bars]
16 questions
12
votes
3 answers
Disable scrollbar on new frame
I would like to make sure that scrollbars never show up on my windows, but I recently noticed that when I created a new frame with C-x 5 2 the new frame gets a scrollbar, even though the original frame does not. The lines that might be relevant from…

Ryan
- 3,989
- 1
- 26
- 49
8
votes
2 answers
What are my options for scroll bars in terminal emacs?
I use emacs in the terminal. One thing that I miss sometimes from a more traditional GUI editor are scrollbars. Sure, there's the percentage in the modeline, but sometimes you just want a visualization. Also, the percentage doesn't visualize how…

asmeurer
- 1,552
- 12
- 30
5
votes
1 answer
Toggle window scroll bar
It's not clear to me how to disable a window scroll bar.
I have frame scrollbars turned off:
(scroll-bar-mode -1)
I can enable a window scroll bar with
(set-window-scroll-bars (selected-window) nil 'right)
I expect the following to remove the…

Lorem Ipsum
- 4,327
- 2
- 14
- 35
5
votes
1 answer
How can I disable the vertical scroll bar on just the minibuffer?
Look at this tiny scroll bar (circled in red):
I think I could use the elisp function set-window-scroll-bars, but I don't know how to specify the minibuffer.

daveloyall
- 1,280
- 9
- 21
5
votes
2 answers
Can Emacs provide a wide scrollbar (birds-eye view) of code?
Microsoft Visual Studio has a very useful wide scrollbar where you get to see the whole file scaled so it fits vertically. Is there a way to do this in Emacs?
I've looked into having a 2nd frame and changing the zoom of the font in that frame, but…

Iain Waugh
- 51
- 2
3
votes
2 answers
How can I stop my scrollbar "bouncing" into and out of existence
I just installed Spacemacs on a new Mac and am getting some weird behavior—the scroll bar appears when I scroll (making the window wider), then disappears when I stop scrolling. This doesn't happen on my other MacBook so I'm not sure exactly what's…

Patrick
- 81
- 4
3
votes
3 answers
Replace ugly scroll-bar with vertical line characters
Let's face it, the scroll bars for the graphical emacs are both ugly and, if you're sufficiently experienced, entirely unnecessary. Here's a picture of terminal emacs (which uses the | character to separate horizontally aligned buffers) adjacent to…

GJStein
- 593
- 3
- 9
2
votes
0 answers
Scroll bar area remains, blacked out, after launching with `scroll-bar-mode` disabled
I'm using Emacs in dwm window manager of suckless.org, with the following init.el:
(menu-bar-mode 0)
(scroll-bar-mode 0)
(tool-bar-mode 0)
When I launch Emacs, with the command $ emacs, my scroll bar thumb vanishes, as it should because I have used…

3N4N
- 177
- 1
- 7
2
votes
1 answer
Scrollbar only on selected buffer
I'm using toggle-scroll-bar to show scrollbar on my frame. But is there a way to show scrollbar only on the selected buffer?
I think I can use focus-in-hook to detect when a buffer is active, but I don't know how to show scrollbar on it.

rubenfa
- 103
- 6
2
votes
1 answer
emacs --daemon is not loading gui elements
I defined emacsclient as default editor in .bashrc so emacs -daemon will be called upon startup:
export ALTERNATE_EDITOR=""
export EDITOR=emacsclient
But compared to a normal load without client, if I call emacsclient afile, then some ui elements…

phonycollectibles
- 614
- 5
- 13
2
votes
0 answers
Native mac scrollbar in emacs?
Emacs comes with it's own solution for scrollbars(rather than using native macOS scrollbar) and honestly, I find them kinda intrusive and ugly. Can I somehow configure scrollbars to use native mac scrollbar which only pops up when scrolling. Kinda…

Chakravarthy Raghunandan
- 3,132
- 2
- 18
- 42
2
votes
0 answers
Floating Scroll Bars
In Mac OS X Lion and above, scroll bars can "float" on top of the content and only appear when scrolling. This provides insight on where you are in a document as well as the size of the document, without the scroll bar taking up room.
Emacs by…

Plutonium Overcast
- 93
- 4
1
vote
2 answers
Emacs 24.3 and 26.3 scrollbars refuses to move up if not moved up immediately, on various OS's and X-servers
The problem manifests on:
Emacs 26.3 on Fedora Release 31, using Xming on Windows 7 as X server, whether in -Q mode or not
Emacs 24.3 on RHEL7, using MobaXterm 12.2 4204, whether in -Q mode or not
The scrollbar I'm seeing is a medium-dark…

Swiss Frank
- 247
- 1
- 10
1
vote
0 answers
Remove scrollbar, faster
I like a clean interface. One without the clutter of scroll bars, or menu bars. So, to remove them, I have the following in my init.el
(progn
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tooltip-mode -1)
(tool-bar-mode -1)
(set-face-attribute…

user1762507
- 111
- 2
1
vote
2 answers
Horizontal Scroll Bar Mode with trackpad
How can I use my trackpad to scroll left and right, when in horizontal-scroll-bar-mode?
I am running GNU Emacs 25.3.3 (x86_64-apple-darwin13.4.0, Carbon Version 157 AppKit 1265.21) of 2017-09-28.
This is the MacPorts edition by Mitsuharu…

Adam
- 1,857
- 11
- 32