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

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

bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency


From: Po Lu
Subject: bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency
Date: Mon, 21 Mar 2022 16:50:20 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Ergus <spacibba@aol.com> writes:

> I'm pretty sure now that this is related with the events...
>
> With `emacs -nw` when I scroll 1 tick and `C-h l` I see:
>
> ```
>  ESC [ < 6 5          ; 8 0 ; 1 9 M <mouse-5> ;; mwheel-scroll
>  ESC [ < 6 5          ; 8 0 ; 1 9 M <mouse-5> ;; mwheel-scroll
>  C-h l                        ;; view-lossage
> ```

I think this is a bug in xterm-mouse-mode: IIRC (though this may be very
inaccurate) xterm sends an escape sequence both for a mouse button being
pressed and for one being released.

On X Windows, moving the scroll wheel will result in both a ButtonPress
and a ButtonRelease event for the appropriate scroll wheel button.

But I'm by no means an xterm expert, so this may very well be wrong.




reply via email to

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