From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Ergus <spacibba@aol.com>
Cc: 54472@debbugs.gnu.org
Subject: bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency
Date: Mon, 21 Mar 2022 16:50:20 +0800 [thread overview]
Message-ID: <875yo7lmer.fsf@yahoo.com> (raw)
In-Reply-To: <20220321073730.elfdlnimraftgvsm@Ergus> (Ergus's message of "Mon, 21 Mar 2022 08:37:30 +0100")
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.
next prev parent reply other threads:[~2022-03-21 8:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8735jcalip.fsf.ref@aol.com>
2022-03-20 11:52 ` bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-20 13:06 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-20 16:45 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 1:11 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 6:07 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 6:33 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 7:37 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 8:50 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-03-21 9:37 ` Andreas Schwab
2022-03-22 9:49 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=875yo7lmer.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=54472@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
--cc=spacibba@aol.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 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.