Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [scroll-bars]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13 votes
3 answers
5k views

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 ...
Ryan's user avatar
  • 4,049
8 votes
2 answers
2k views

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 ...
asmeurer's user avatar
  • 1,582
6 votes
1 answer
928 views

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's user avatar
  • 1,300
5 votes
2 answers
1k views

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 ...
Iain Waugh's user avatar
5 votes
1 answer
414 views

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) ...
Lorem Ipsum's user avatar
  • 4,517
3 votes
2 answers
902 views

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 ...
Patrick's user avatar
  • 81
3 votes
3 answers
2k views

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 ...
GJStein's user avatar
  • 603
3 votes
1 answer
618 views

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 ...
phonycollectibles's user avatar
2 votes
1 answer
271 views

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 ...
rubenfa's user avatar
  • 103
2 votes
0 answers
321 views

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 ...
3N4N's user avatar
  • 177
2 votes
0 answers
674 views

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 ...
Chakravarthy Raghunandan's user avatar
2 votes
0 answers
183 views

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, ...
Plutonium Overcast's user avatar
1 vote
2 answers
193 views

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 ...
Swiss Frank's user avatar
1 vote
2 answers
439 views

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. ...
Adam's user avatar
  • 1,897
1 vote
0 answers
727 views

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-...
user1762507's user avatar
0 votes
0 answers
574 views

Scroll bar in spacemacs?

How can I get a scroll bar in spacemacs? Simply doing this doesn't seem to have any effect for me: (scroll-bar-mode t) In the past, I think I recall enabling it and it having some kind of odd ...
Croad Langshan's user avatar