GNU bug report logs - #54472
29.0.50; mouse-wheel-scroll-amount inconsistency

Previous Next

Package: emacs;

Reported by: Ergus <spacibba <at> aol.com>

Date: Sun, 20 Mar 2022 11:54:01 UTC

Severity: normal

Found in version 29.0.50

Full log


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

From: Po Lu <luangruo <at> yahoo.com>
To: Ergus <spacibba <at> aol.com>
Cc: 54472 <at> debbugs.gnu.org
Subject: Re: bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency
Date: Mon, 21 Mar 2022 16:50:20 +0800
Ergus <spacibba <at> 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.




This bug report was last modified 3 years and 86 days ago.

Previous Next


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