[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19464: 24.4; Customizing either scroll-step or scroll-conservatively
From: |
Lars Ingebrigtsen |
Subject: |
bug#19464: 24.4; Customizing either scroll-step or scroll-conservatively makes Emacs hang up when calling set-window-vscroll with large values |
Date: |
Fri, 28 May 2021 03:43:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Vasilij Schneidermann <v.schneidermann@gmail.com> writes:
> I've been experimenting around to make Emacs scroll with pixel-level
> precision and have soon discovered `set-window-vscroll' which allows one
> to adjust the vertical scrolling of a window in pixel steps with its
> fourth argument. In an attempt to scroll further than a screenful, I
> executed (set-window-vscroll nil 9000 t) which hung up Emacs. Bisection
> of my init file revealed that this issue doesn't happen with an
> uncustomized Emacs and that it's sufficient to either customize
> `scroll-step' to have a value of 1 or `scroll-conservatively' to have a
> large value (which is a common hack to allow line-level scrolling).
(I'm going through old bug reports that unfortunately got no response at
the time.)
I tried reproducing this with
emacs -Q and:
(progn
(setq scroll-step 1)
(set-window-vscroll nil 9000 t))
But I didn't get any hangs. Are you still seeing this problem in more
recent Emacs versions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#19464: 24.4; Customizing either scroll-step or scroll-conservatively makes Emacs hang up when calling set-window-vscroll with large values,
Lars Ingebrigtsen <=