GNU bug report logs - #51886
29.0.50; pixel-scroll-mode garbage collects like crazy

Previous Next

Package: emacs;

Reported by: Po Lu <luangruo <at> yahoo.com>

Date: Tue, 16 Nov 2021 07:22:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Full log


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

From: Po Lu <luangruo <at> yahoo.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 51886 <at> debbugs.gnu.org
Subject: Re: bug#51886: 29.0.50; pixel-scroll-mode garbage collects like crazy
Date: Wed, 21 Sep 2022 18:50:31 +0800
Stefan Kangas <stefankangas <at> gmail.com> writes:

> It still isn't clear to me why it doesn't just replace the old mode (if
> we need to keep it, why not name it `pixel-scroll-old-mode'?).  Maybe
> I'm missing something.

I think Eli preferred to keep the old mode.

> "Device: A..... G3"

Did you censor some information with the periods, or is that literally
what was printed?

> BTW, is it expected that it ignores the first scroll on the mouse wheel,
> and prints the above only on the second?  (Tested in both directions.)

Yes, that's a limitation of the X API.  Emacs needs to swallow an
initial event in order to obtain the "initial" value of the scroll
wheel, before it can obtain scroll deltas by comparing it with the
absolute values of subsequent events.

Thanks.




This bug report was last modified 1 year and 160 days ago.

Previous Next


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