GNU bug report logs - #70856
30.0.50; Hang when scrolling the echo-line with pixel-scroll-precision-mode

Previous Next

Package: emacs;

Reported by: Steven Allen <steven <at> stebalien.com>

Date: Thu, 9 May 2024 22:57:02 UTC

Severity: normal

Found in version 30.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Steven Allen <steven <at> stebalien.com>
To: Charalampos Mitrodimas <charmitro <at> posteo.net>, "Steven Allen via Bug
 reports for GNU Emacs, the Swiss army knife of
 text editors" <bug-gnu-emacs <at> gnu.org>
Cc: 70856 <at> debbugs.gnu.org
Subject: Re: bug#70856: 30.0.50; Hang when scrolling the echo-line with
 pixel-scroll-precision-mode
Date: Thu, 09 May 2024 18:28:19 -0700
I think the fix is a little more complicated because, while a window may
be 1 line tall, the underlying buffer may have more than one line.

I believe we need two changes.

1. In `pixel-scroll-precision-scroll-down` and `-up`, set `max-height`
   to a minimum of `1` (pixel). It looks like someone already "fixed" the
   `-up` variant, but I'm not sure that that "fix" is correct as it
   prevents scrolling in a 1-line window.
2. Disable `pixel-scroll-precision-mode` in the echo area and
   minibuffer? It does not behave well in either case.

But I'm not sure. I'm happy to submit a patch if this sounds like the
right approach.




This bug report was last modified 1 year and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.