Questions tagged [scroll]
6 questions
4
votes
2 answers
How to scroll immediately by a pixel offset?
I was looking for a replacement to scroll-up / scroll-down that operates in pixel units.
pixel-scroll-mode animates the scroll, I didn't see any functions that apply an offset directly.
set-window-vscroll
Uses absolute position.
It needs the…

ideasman42
- 8,375
- 1
- 28
- 105
1
vote
1 answer
Bug-free smooth scrolling for Emacs 29
I want Emacs to scroll on [up] and [down] cursor keys one line at a time.
I have already installed and checked out following packages:
smooth-scroll
smooth-scrolling
good-scroll
Only smooth-scrolling works, but while scrolling down it starts…

Claudio
- 410
- 2
- 11
0
votes
1 answer
How can I scroll efficiently (quickly) up/down by one line without disturbing the cursor?
Having
(global-set-key "\M-n" "\C-u1\C-v")
(global-set-key "\M-p" "\C-u1\M-v")
does exactly what I want, but it's exceedingly slow for my machine and for my key-repeat-rate setting. It's as if it's doing way too much by hooking on and invoking…

Sam
- 317
- 1
- 11
0
votes
2 answers
How to prevent unwanted characters such as`[OB` and `^[OA` and hanging at bottom or top point on scrolling?
I am using emacs under iTerm2 on Mac. I am using mouse to scroll up and down. Please not that I haven't face with the issue when I remotely connected into a linux machine, which has exactly same emacs setup.
When I scroll to bottom OBB character is…

alper
- 1,238
- 11
- 30
0
votes
0 answers
Emacs Consistently Crashes when Scrolling Remote Files using Tramp
Whenever I scroll using the trackpad in a remote file, Emacs consistently crashes. (Also, other things crash Emacs in remote files, but this is the most common one I've come across)
I have tried Emacs v27 and v26.3 and have seen no difference. I've…

sshantt
- 1
0
votes
3 answers
How to detect the number of lines scrolled from scroll up/down?
When running scroll-up or scroll-down, it's possible emacs isn't scrolling the number of lines requested (if you hit the start/end of the buffer for eg).
Is there a convenient way to know how many lines were actually scrolled?

ideasman42
- 8,375
- 1
- 28
- 105