From: Eli Zaretskii <eliz@gnu.org>
To: Amin Bandali <bandali@gnu.org>,
Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Cc: 45628@debbugs.gnu.org
Subject: bug#45628: 28.0.50; Scrolling on echo area with pixel-scroll-mode enabled locks up Emacs
Date: Sun, 03 Jan 2021 19:30:33 +0200 [thread overview]
Message-ID: <83ble6c4hy.fsf@gnu.org> (raw)
In-Reply-To: <87zh1qc80k.fsf@gnu.org> (message from Amin Bandali on Sun, 03 Jan 2021 11:14:35 -0500)
> From: Amin Bandali <bandali@gnu.org>
> Date: Sun, 03 Jan 2021 11:14:35 -0500
>
> As the Subject says, scrolling using the mouse wheel on the echo area
> causes Emacs to freeze/lock up (cursor is changed to spinning circle),
> when pixel-scroll-mode is enabled.
>
> I can reproduce in emacs -Q after evaluating the following in *scratch*:
>
> (require 'pixel-scroll)
> (pixel-scroll-mode 1)
Thanks.
Tak, can you please look into this? The code infloops inside
pixel-scroll-down, here:
(while (pixel-point-at-bottom-p amt) ; prevent too late (multi tries)
(vertical-motion -1)) ; move point upward
because the mini-window is normally just one screen line high, so its
top and bottom coincide.
Shouldn't we exit the loop when vertical-motion returns zero, which
means it didn't move?
A similar loop exists in pixel-scroll-up, AFAICS.
next prev parent reply other threads:[~2021-01-03 17:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-03 16:14 bug#45628: 28.0.50; Scrolling on echo area with pixel-scroll-mode enabled locks up Emacs Amin Bandali
2021-01-03 17:30 ` Eli Zaretskii [this message]
2021-01-04 8:57 ` Tak Kunihiro
2021-01-04 15:16 ` Eli Zaretskii
2021-01-06 0:47 ` Tak Kunihiro
2021-01-09 9:22 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ble6c4hy.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=45628@debbugs.gnu.org \
--cc=bandali@gnu.org \
--cc=tkk@misasa.okayama-u.ac.jp \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.