From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61307: 30.0.50; pixel-scroll-precision-mode: window-scroll-functions? Date: Thu, 16 Feb 2023 10:22:43 +0200 Message-ID: <83edqq81f0.fsf@gnu.org> References: <87y1pbsgu5.fsf@web.de> <83h6vzq9at.fsf@gnu.org> <878rhascr8.fsf@web.de> <83wn4ngjvp.fsf@gnu.org> <875yc6cnmk.fsf@web.de> <83mt5ifdhn.fsf@gnu.org> <87o7pyb556.fsf@web.de> <83k00lg1ve.fsf@gnu.org> <873579jaot.fsf@web.de> <83edqse6qr.fsf@gnu.org> <87sff7374b.fsf@web.de> <83y1ozawtu.fsf@gnu.org> <877cwi1a35.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17148"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61307@debbugs.gnu.org To: Michael Heerdegen , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 16 09:24:25 2023 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 1pSZZ2-0004IP-Kj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Feb 2023 09:24:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSZYq-0006FF-6o; Thu, 16 Feb 2023 03:24:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSZYg-0006CU-I9 for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 03:24:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSZYf-0001vU-W8 for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 03:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSZYf-0001Mc-S1 for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 03:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Feb 2023 08:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61307 X-GNU-PR-Package: emacs Original-Received: via spool by 61307-submit@debbugs.gnu.org id=B61307.16765357875175 (code B ref 61307); Thu, 16 Feb 2023 08:24:01 +0000 Original-Received: (at 61307) by debbugs.gnu.org; 16 Feb 2023 08:23:07 +0000 Original-Received: from localhost ([127.0.0.1]:34791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSZXn-0001LO-F5 for submit@debbugs.gnu.org; Thu, 16 Feb 2023 03:23:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSZXl-0001Kf-SX for 61307@debbugs.gnu.org; Thu, 16 Feb 2023 03:23:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSZXg-0001pd-Ho; Thu, 16 Feb 2023 03:23:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iuwAor3mPssHlhst3DKOcx1327q1v8/oTdermFZzJHg=; b=VKN1i3cKiaW6 g+xuLqzpeJkYmKqKdDzqOywb1Pz6idXk2MqTqdQM+htelZyjyCvY71tUk6nf2PDOsc7/RDZeP3RZ9 5voU7HT7BCvM5T58irn1ceKDlbRgHivDy6AtWB1L3WAFtcRJWQZuEHgt6oNDHqSi558Xrzm6HpSok eFxKJB9HDfbAx+AMi+tFWLkNgYuXFpXHNgxa/akRKB0ybHZfOAiO9mJGYSjCyT8AbiVX7eFanLorf 6gT8ulr0wnziBdSYryJeJIFuqDWp+eXi6evclbWUoh/0Ux7OTI/XJ3QFl+Q2flA7f6wNTeMkYhdW0 0nJHFM6FVGxr+ftYW32WIg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSZXf-0006RC-VO; Thu, 16 Feb 2023 03:23:00 -0500 In-Reply-To: <877cwi1a35.fsf@web.de> (message from Michael Heerdegen on Thu, 16 Feb 2023 05:57:18 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255800 Archived-At: > From: Michael Heerdegen > Cc: 61307@debbugs.gnu.org > Date: Thu, 16 Feb 2023 05:57:18 +0100 > > Eli Zaretskii writes: > > > > But I understand that what I see when scrolling with a normal wheel > > > mouse is only one case we need to handle. > > > Right. Though on such a system, we should probably call > > window-scroll-functions every scroll. > > Is receiving and events a sufficient hint that > the user is scrolling using a "normal" wheel mouse? I'm not sure, but Po Lu will know. In any case, AFAIR some mice produce mouse-4 and mouse-5 events instead, so relying on the events' symbols might not be the best idea. We are supposed to know whether the device supports pixel precision, so maybe basing the decision on that is better?