From: Vasilij Schneidermann <v.schneidermann@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 19464@debbugs.gnu.org
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: Mon, 31 May 2021 18:41:04 +0200 [thread overview]
Message-ID: <CAPGgwWQPvJEDCf15J_ARBSgc2v6LopMnmdN16T354a6PhFO+fA@mail.gmail.com> (raw)
In-Reply-To: <87cztbzl7u.fsf@gnus.org>
Yes, I do. My reproducer relies on having a file spanning more than a
screenful open.
- Run `emacs -Q`
- Paste the following code block into the scratch buffer
- Evaluate with `M-x buffer`
(find-library "subr")
(setq scroll-conservatively 10000)
(set-window-vscroll nil 9000 t)
On Fri, May 28, 2021 at 3:43 AM Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> 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
next prev parent reply other threads:[~2021-05-31 16:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-29 16:42 bug#19464: 24.4; Customizing either scroll-step or scroll-conservatively makes Emacs hang up when calling set-window-vscroll with large values Vasilij Schneidermann
2015-01-26 16:56 ` Vasilij Schneidermann
2021-05-28 1:43 ` Lars Ingebrigtsen
2021-05-31 16:41 ` Vasilij Schneidermann [this message]
2021-05-31 18:45 ` Eli Zaretskii
2021-06-01 6:04 ` Lars Ingebrigtsen
2021-06-30 13:20 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPGgwWQPvJEDCf15J_ARBSgc2v6LopMnmdN16T354a6PhFO+fA@mail.gmail.com \
--to=v.schneidermann@gmail.com \
--cc=19464@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).