bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70856: 30.0.50; Hang when scrolling the echo-line with pixel-scroll-


From: Po Lu
Subject: bug#70856: 30.0.50; Hang when scrolling the echo-line with pixel-scroll-precision-mode
Date: Fri, 10 May 2024 11:02:01 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Steven Allen <steven@stebalien.com> writes:

> 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.

I've fixed this on master, please test and ack.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]