unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 51886@debbugs.gnu.org
Subject: bug#51886: 29.0.50; pixel-scroll-mode garbage collects like crazy
Date: Wed, 21 Sep 2022 18:50:31 +0800	[thread overview]
Message-ID: <87zgetgfwo.fsf@yahoo.com> (raw)
In-Reply-To: <CADwFkmmeWWeHu8L+zPmGYXiPfD_47RoZ2iEkfs2=93SfnEu5vQ@mail.gmail.com> (Stefan Kangas's message of "Wed, 21 Sep 2022 01:55:24 -0700")

Stefan Kangas <stefankangas@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.





  reply	other threads:[~2022-09-21 10:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ee7gwop0.fsf.ref@yahoo.com>
2021-11-16  7:21 ` bug#51886: 29.0.50; pixel-scroll-mode garbage collects like crazy Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-16 13:05   ` Eli Zaretskii
2021-11-16 13:17     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-16 13:37       ` Eli Zaretskii
2021-11-16 13:28     ` Robert Pluim
2021-11-16 13:38       ` Eli Zaretskii
2021-11-16 13:41         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-16 14:35         ` bug#51886: 29.0.50; pixel-scroll-mode garbage collects like crazy, " Robert Pluim
2022-09-20 15:16   ` Lars Ingebrigtsen
2022-09-21  2:09     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-21  6:37       ` Stefan Kangas
2022-09-21  7:15         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-21  8:55           ` Stefan Kangas
2022-09-21 10:50             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-01-10 10:59               ` Stefan Kangas
2024-01-10 11:34                 ` Po Lu 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgetgfwo.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=51886@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=luangruo@yahoo.com \
    --cc=stefankangas@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).