From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency Date: Mon, 21 Mar 2022 16:50:20 +0800 Message-ID: <875yo7lmer.fsf@yahoo.com> References: <8735jcalip.fsf.ref@aol.com> <8735jcalip.fsf@aol.com> <87y214lqnn.fsf@yahoo.com> <20220320164551.gbtd7jm5zfh7awq3@Ergus> <87sfrckt3d.fsf@yahoo.com> <1F0BB0AE-F49D-4BEB-A091-CF439BAC9272@aol.com> <87cziflsq5.fsf@yahoo.com> <20220321073730.elfdlnimraftgvsm@Ergus> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36616"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 54472@debbugs.gnu.org To: Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 09:52:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nWDlq-0009OC-IM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 09:52:10 +0100 Original-Received: from localhost ([::1]:44880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWDlp-0000pO-5Y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 04:52:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWDkj-0007UM-TR for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 04:51:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWDkj-0000PT-KZ for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 04:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWDkj-000893-Ji for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 04:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2022 08:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54472 X-GNU-PR-Package: emacs Original-Received: via spool by 54472-submit@debbugs.gnu.org id=B54472.164785265231295 (code B ref 54472); Mon, 21 Mar 2022 08:51:01 +0000 Original-Received: (at 54472) by debbugs.gnu.org; 21 Mar 2022 08:50:52 +0000 Original-Received: from localhost ([127.0.0.1]:35814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWDka-00088g-Bo for submit@debbugs.gnu.org; Mon, 21 Mar 2022 04:50:52 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:40323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWDkK-00088B-BF for 54472@debbugs.gnu.org; Mon, 21 Mar 2022 04:50:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647852630; bh=/lmLccLwQlhcl3zIVpJ/xXo8M5Usdki3VJjx2imV9v4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=AXVlKBnVcflQpS0ajMkzJ+SK3mMYPBfLc3/T1sYRPvnkkwf6PX8picAzELNmnBZ1tVjdAgsk2GrWrxLYZAPlkfKVP6HZ1QUGsjGfbVygdFqdzG86r+avUAEu/t2S1TIuW3MQUlnn6oEal1PtFb+h1+ezGERGOfIzZIZ4cfeBDqJNltldTtLBOvKqclc3S3m+rihuAvzDVVoGHJrX4fCpLDnVEe5SPjkcZnGks4o5eXacpOs+eCIGB8ugxleifpEJLeLiWD5zUNGDMYSjdfY7htvakqXQjzG3zu9M1aEryg1+uEMKZ1dRMi9v1tQQpL3fyxSb4NndhyBNiCHzTUfr6w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647852630; bh=vsfzM6viN+cTp3aVdBFPdceoJf83gInX5UR2bbaW0v2=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=B+6d4em2cAIXJETQnL0bdwlYyTjd9fyTiDDJAJYhkG2YSiHU8doOmUayGrwlzPrZvU1TcIoPscxnAmALlDb/Pp85bvBjWYi3PgYjzrMcJJQniZmzzMN0sRcYKVLg3ut8Gp6PhX55ppGGVY7zrXX9fB3bw4iSFNKFfD4TPA67T8U5ax2wIdPe5TCq8esd2XZXX052kTTjPO0puzQT9pJBhDlTGMpK3a6mnbMsx5MKOqP7T8diAhI87Y/dKjdDMqvmdcxG5+apSoTrK/GSVBg4aX8iER+75+bYlpyo1z4rbnyhZzQQSQdD/zhx1BrVy/WTuZ/2J2+fM7PLAAIE5LvN6g== X-YMail-OSG: 4Ob1roIVM1mdyt8NoQskgM.MKFrCQFf3hxHWDbkzIgJg7fJwkYamSWWT9.QctGS kF0668C6iCHEbw0PvKO1U3HzY1hSnkRydHGYhIaAG3Z90riYFbwESFgKjCb51qAeMIdYrDUC0Htn bGUPGu0RG17tTC6XtykOmJVcgAEGS54mSnrfhG.oENhHAff7ormtPxoqHzpG07ym5M7gU4Hw9F5g sUKWOBKz_MDXGy7R9MN3efFHjBxfwDlQNxAAyqWS0LFWLKazZPBra_n2XD.hp38w3U3mGBnrqCF7 7NuMepjPwYMHBtLYLN2nKGrPmUx.Ws2wshRQhctgVrtSh20vcEjBTqH2iwHq_2.bjgGgE1K_daLa fTBzzs97vHWvAJAfc0YCBdcA._ShwGYkyxfYSAE1YnOCQhMpinOAFUwsE12fTXgWSxLpAfEYBHa0 MK7pstKC5btVVLDurwhK1.XMbWsIZFMjUg8_Le6soh._vtpIKJ6NRtGJxhhHAXhiSIP.yyrllIHO G0K3r8VmNBZk26VQ3LCejqF7oRZ62L.kvSE9QZv69ASLZ3bAi5T6EmBXBMkEeYQonmrrDDVVCO8s Bj_TtJ5QR3IrrGCdLlMnepk0vhJVDa5wLIvmHaMaf4BSgS0vzKRdaNUUGVEGFQqi4QcbQ.JPDWig lXOTdrUFduxbwFsb9MSmNXuAmZb_V.SPE4fxlofMbcyfCqjXn_ObxOzo_OFrAmUDLSZ8iSChE0Ez CEQoP7UBXg7lOxcyLoOr4ea.zmHboWRySjUD4yfmAj5bpEAnNQ4jkF9Qpcoqxmenmpl6RAduQThU xoHb.1AqaBFTdrDomG.iLP_k2tx925uRWt7qZO2NBP X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Mon, 21 Mar 2022 08:50:30 +0000 Original-Received: by kubenode518.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 810c9ad4b8e6625c3f4d6f92f5359919; Mon, 21 Mar 2022 08:50:24 +0000 (UTC) In-Reply-To: <20220321073730.elfdlnimraftgvsm@Ergus> (Ergus's message of "Mon, 21 Mar 2022 08:37:30 +0100") X-Mailer: WebService/1.1.19894 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228652 Archived-At: Ergus 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 ;; mwheel-scroll > ESC [ < 6 5 ; 8 0 ; 1 9 M ;; 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.