unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Steven Allen <steven@stebalien.com>
Cc: charmitro@posteo.net, 70856@debbugs.gnu.org
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	[thread overview]
Message-ID: <87le4i1iae.fsf@yahoo.com> (raw)
In-Reply-To: <871q6acv64.fsf@stebalien.com> (Steven Allen's message of "Thu, 09 May 2024 18:28:19 -0700")

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	other threads:[~2024-05-10  3:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-09 22:56 bug#70856: 30.0.50; Hang when scrolling the echo-line with pixel-scroll-precision-mode Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-09 23:53 ` Charalampos Mitrodimas
2024-05-10  1:28   ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-10  3:02     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-05-10  4:48       ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-10  6:01         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-10  7:21         ` Eli Zaretskii
2024-05-10 15:03           ` Steven Allen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-10 15:45             ` Eli Zaretskii
2024-05-10  7:09       ` Eli Zaretskii

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=87le4i1iae.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=70856@debbugs.gnu.org \
    --cc=charmitro@posteo.net \
    --cc=luangruo@yahoo.com \
    --cc=steven@stebalien.com \
    /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).