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#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll the screen up and down. Date: Sun, 20 Aug 2023 08:19:49 +0800 Message-ID: <87bkf2efa2.fsf@yahoo.com> References: <85lee88fej.wl--xmue@d1.dion.ne.jp> <83v8dc2on4.fsf@gnu.org> <83cyzj1n7p.fsf@gnu.org> <83350fyvma.fsf@gnu.org> 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="15188"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: hiroya.ebine1@gmail.com, kzhr@d1.dion.ne.jp, max@mal-richtig.de, 65070@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 20 02:21:18 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 1qXWBw-0003kn-Vb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Aug 2023 02:21:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXWBj-0005Ho-1f; Sat, 19 Aug 2023 20:21:03 -0400 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 1qXWBh-0005HM-G4 for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 20:21:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXWBh-00079b-7x for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 20:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXWBi-0007VO-BI for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 20:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Aug 2023 00:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65070 X-GNU-PR-Package: emacs Original-Received: via spool by 65070-submit@debbugs.gnu.org id=B65070.169249081028782 (code B ref 65070); Sun, 20 Aug 2023 00:21:02 +0000 Original-Received: (at 65070) by debbugs.gnu.org; 20 Aug 2023 00:20:10 +0000 Original-Received: from localhost ([127.0.0.1]:52483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXWAr-0007UA-UU for submit@debbugs.gnu.org; Sat, 19 Aug 2023 20:20:10 -0400 Original-Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:34602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXWAo-0007TW-0R for 65070@debbugs.gnu.org; Sat, 19 Aug 2023 20:20:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692490799; bh=SxCQnBUC1jxY1LEvURQo1R7aq4CwxknPABjvJtpROy4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=BFw5PkVNMrvoFs5Jkm/AfeINBEsg+kAql/25MA0oVK1Jrd9r/3l+LtnopLMu5mCZPFH7Pcy5lE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6ab9hX36JLeA4AmpgZwGdJ5zAmcdtfaDNYzwHBJdHtS5J7hQTedl1ZHVvNTAqGjiTK fw9Hh8cgO3gXnQYbsWUDnMeJ5IXsaRsILoyCPiRmlNp_k7GCe2dnT._8Jh8J.8ULIQEq6smOq8.J B8yjxjdfoDPpX0Fk_iRPkUB4HLNDkkALgNvgjqNUlKwNjsmtJqxu7BxsPa7iiyRRngwUge63nMkt 92ki6gkEbxcDsdI6bX01NWcXl3pm4K_4bJAXUUiayW4NppaRqRXiUDvx0foGjrWjokBMeoTuFw_r KB0.IyBs7obNy6Xb6fGVSVLxmV7YVNEW.YBmGIEZBUWz5JHM5EqxiZ2HLPk2v.gROKZUOOIpFYY5 uE7kRFuQWCojDDeR6iXm.nM46wTLmsYP7PCMQaMlZbVBY.JEUVOvpNDs8SPCCSBEOrYf8oL6UDbq rM8GTobNALN1eu7O1hokfcw_Sbcxs2OGUzGD4SHYXsVS_a3P6kOM0DlFOkS0Ii8_23b5WEbj92W4 7_XQN6vuCUd4Pv7g5m1D4aOkdP56Cr0QR2inHnEfAj X-Sonic-MF: X-Sonic-ID: ff95032e-7498-4370-a83f-4511337c12e2 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Sun, 20 Aug 2023 00:19:59 +0000 Original-Received: by hermes--production-sg3-69654d8bd-cgvfq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cee6371cd8b294275979076ff3d7c34d; Sun, 20 Aug 2023 00:19:53 +0000 (UTC) In-Reply-To: <83350fyvma.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Aug 2023 17:06:37 +0300") X-Mailer: WebService/1.1.21732 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267930 Archived-At: Eli Zaretskii writes: >> Cc: hiroya.ebine1@gmail.com, max@mal-richtig.de, 65070@debbugs.gnu.org >> Date: Sat, 19 Aug 2023 10:54:34 +0300 >> From: Eli Zaretskii >> >> Po Lu, I'd appreciate if you'd take me through the code that produces >> and uses these wheel events, documented in the ELisp reference manual >> as (wheel-up/down POSITION CLICKS LINES PIXEL-DELTA). Specifically: >> >> . what is the conventions for signs in the data of the PIXEL-DELTA >> cons cell? The pertinent delta is the one for the axis whose value is larger. If more scrolling has taken place on the X axis, then the relevant delta is that for the Y axis. Otherwise, it is the delta for the Y axis. If that delta is less than 0, a wheel-down event is produced. Otherwise, a wheel-up event is produced instead. >> . where and how are the PIXEL-DELTA data used for scrolling? Only in pixel-scroll-precision-mode; the traditional mouse wheel scrolling code derives the direction in which to scroll from the type of the wheel event.