GNU bug report logs - #57995
<wheel-right> with pixel-scroll-precision-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Tak Kunihiro <tkk@HIDDEN>; Keywords: moreinfo; dated Thu, 22 Sep 2022 03:52:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 8 Nov 2022 01:48:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 07 20:48:10 2022
Received: from localhost ([127.0.0.1]:35866 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1osDik-0002q0-Lh
	for submit <at> debbugs.gnu.org; Mon, 07 Nov 2022 20:48:10 -0500
Received: from mail-pg1-f182.google.com ([209.85.215.182]:45720)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tak.kunihiro@HIDDEN>) id 1osDij-0002pK-8e
 for 57995 <at> debbugs.gnu.org; Mon, 07 Nov 2022 20:48:09 -0500
Received: by mail-pg1-f182.google.com with SMTP id r18so12106597pgr.12
 for <57995 <at> debbugs.gnu.org>; Mon, 07 Nov 2022 17:48:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=0XTI4xY5KEBmy0R5c98n1EpVRsHD6QJRPX7USoWeGfg=;
 b=bx1OdZ16uMbl7GrVNEvaC7+30C/FOWsVYDMz5vRh9oKne760LXQFvKP2iWMkk+sL7p
 walkdL4Jx8a9rTst2p0jYKXpMoYb6vss1GFixYpKdJ9sfNaWDhKimjgq/Gml4o3Q8KYh
 MB8ukUa1vjaz5kM7FoRcpawVh9KJCabVKfDip/wPlVaAjBu81IaFCz4+1TsA0XT92u3P
 eQryb4pdunF1sD+xYUFmoo6+ENSzDMT66yUoapvWyz9d/SVe9+FXXLgMdWdeA0p14Yss
 RsICOfbCkFkmA/TIiu+QDGY8u7BkZuMSPx/lH6tkzhxodMpar7Ytry0iU/7usGFkWLzI
 JpqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=0XTI4xY5KEBmy0R5c98n1EpVRsHD6QJRPX7USoWeGfg=;
 b=qf5pRzNP4DAjeAamnRMuq8HTyd4Zt8WKDU+aZqg7nRTL5vp44hO0VMfN61ybb/w6JZ
 eNh171x8rHAUD0QZPWPaQjYmKj5eiPt40F2OCmBxDeqjpj0aTi/8FEm6+BsY2I1rOR3D
 /lFrxITbLEefFyBjRWnNW6s4YS2PvTkS/CHVDbdGh32daGzKNRN+Wq+ZGCDGBPPv7HgZ
 B/vs4i0ENXu4w+SWEm/CT8BaMALV1COwaNT5Wsxq8YTy5ODtDCkrTONAVxVFmgN3nzd0
 sSw//eKIw3Y7n6J6prYU2dTqhSol1gBeeFXOGWNtdeIVk5INTRZr9CVLNPsX1TwZ+gB6
 qGtQ==
X-Gm-Message-State: ACrzQf2PCooDtM46pHr1Dd4qeGYrBTu08Q4Ypr/imk+ak1yzk0M7UjP6
 dlMhEbVT5ykXTzJr34YdvBQ=
X-Google-Smtp-Source: AMsMyM7maDBeU0cUHtO+hkT8+/7pBjp7Rw1W5G90hjezQlXU5itsatcWUPvyblgyXPe/8ysxY/szLw==
X-Received: by 2002:a65:5582:0:b0:46f:6321:1b44 with SMTP id
 j2-20020a655582000000b0046f63211b44mr44673414pgs.462.1667872083380; 
 Mon, 07 Nov 2022 17:48:03 -0800 (PST)
Received: from smtpclient.apple ([150.46.201.82])
 by smtp.gmail.com with ESMTPSA id
 c11-20020a170902d48b00b00178a9b193cfsm5634573plg.140.2022.11.07.17.48.01
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 07 Nov 2022 17:48:02 -0800 (PST)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\))
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
From: Tak Kunihiro <tak.kunihiro@HIDDEN>
In-Reply-To: <87y1sm6x28.fsf@HIDDEN>
Date: Tue, 8 Nov 2022 10:47:50 +0900
Content-Transfer-Encoding: quoted-printable
Message-Id: <7E712811-2536-4903-9D0B-99933365EB10@HIDDEN>
References: <87bkr7eqk0.fsf@HIDDEN>
 <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
 <87edvya7pt.fsf@HIDDEN>
 <20220927.131552.1724748853665316882.tkk@HIDDEN>
 <m1zgd36rbi.fsf@HIDDEN> <87mt9384u8.fsf@HIDDEN>
 <6F714A91-7363-414F-9998-76F2EE4031DC@HIDDEN> <87y1sm6x28.fsf@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
X-Mailer: Apple Mail (2.3731.200.110.1.12)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: 57995 <at> debbugs.gnu.org, Tak Kunihiro <tak.kunihiro@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I typed in the results.

>  (lldb) p emacs_event->modifiers
(unsigned int) $0 =3D 2
>  (lldb) p scrollUp
(int) $1 =3D 0
>  (lldb) p delta
error: expression failed to parse:
error: <user expression 2>:1:1: use of undeclared identifier 'delta'
delta
^

HTH

$ ./configure CFLAGS=3D"-g -O0"
$ make
$ make install
$ lldb nextstep/Emacs.app/Contents/MacOS/Emacs
(lldb) br set --file src/nsterm.m --line 7363
(lldb) run -Q
M-: (setq mouse-wheel-tilt-scroll t)
M-: (pixel-scroll-precision-mode 1)
<wheel-right>
(lldb)
* thread #1, queue =3D 'com.apple.main-thread', stop reason =3D =
breakpoint 1.1
  frame #0: 0x000000010031f749 Emacs`-[EmacsView =
mouseDown:](self=3D0x0000000103023790, _cmd=3D"mouseDown:", =
theEvent=3D0x0000600003706b80) at nsterm.m:7373:5
  7370             ((delta > 0) ? up_modifier : down_modifier);
  7371         }
  7372 #endif
-> 7373     }
  7374   else
  7375     {
  7376       Lisp_Object tab_bar_arg =3D Qnil;
Target 0: (Emacs) stopped.
(lldb) p horizontal
(bool) $0 =3D true
(lldb) p emacs_event->kind
(event_kind) $1 =3D HORIZ_WHEEL_EVENT
(lldb) p totalDeltaX
(int) $2 =3D 0
(lldb) p emacs_event->modifiers
(unsigned int) $0 =3D 2
(lldb) p scrollUp
(int) $1 =3D 0
(lldb) p delta
error: expression failed to parse:
error: <user expression 2>:1:1: use of undeclared identifier 'delta'
delta
^
(lldb)





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 8 Nov 2022 01:43:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 07 20:43:17 2022
Received: from localhost ([127.0.0.1]:35862 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1osDe1-0002gS-0c
	for submit <at> debbugs.gnu.org; Mon, 07 Nov 2022 20:43:17 -0500
Received: from sonic314-21.consmr.mail.ne1.yahoo.com ([66.163.189.147]:38562)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1osDdy-0002gD-78
 for 57995 <at> debbugs.gnu.org; Mon, 07 Nov 2022 20:43:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1667871787; bh=CbtVFFfvMwuUQg2NpE2ueg/BZoCOirSixQ4jKlk+FDk=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=fcqOE1MwvLC+5IfEOeqjsZU1U7xWzjXdzB99w3xtn2Wr9rZ0WD+FP3dQ6PFRT0/3Kn0qNZbPXkwWiitMnPifSJ2UxISVoilxF3dMCVd62jX9i9cZGrgQiQWg56ZXBXwAm3PuqxL7JLn4t84Uvhv6HdO13jVyh4ob1xRXs6Q9nHOOILQSIPHD/P8rslor0ar6drh5QvOMmyfh6QkUElcImgRgrdS4DcKMKZ5WFLdLEOGtHcyqJVuF/KQJjway2zRu/8x/dU7DVdVTkAeVYMYYcp8pHYr7uhsUFW32kx4FGTlst4mqqxN6A2PnjI3IoInQc6FZsI7wcO+TBzUTWuAlCA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1667871787; bh=sA53IrgViVfR8mSm2NSiTykmh5g085AyOmfWsTHDgop=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=qin1SNdb+sIOlmNz3fwPrhlGxhU9segs+xKAxekA+pkw+o0zal5qoGtTO6HrfDfe30vR2WiileaiAOuBoitiOv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2FuhHFbQSPkSr8xjfF8KXUDoMbRZWNT8bAX16BtlG__UDWbHkt.rKdWi
 9MDNILFvrIlpU92f195uYayZI2CA2Nd.aUUc5feXppuFOIAUpH1jgbiJ.QNKXxB0wH0ckJcQrwAX
 xiKs.ezlcco.4d8HTLK8kR09aywxuLJPNxxFEK_u4_HGHLcaKUF8yeRx3kyUZeLYYD_KhzuRIpe8
 MaplFJBcIOVT_AQL5hDP4DDFD7USMKiuryaobTMhl4wI9u2LqLvFFMN0jZC9wb5mgIY5TPmhzE.J
 OsVBCQ3kpD8cFEc8xLCfcRy6e1vqwLtrIlqc1tKAJ_.ZX1TKVp60Dj1_afrpKYzIQNGQAxXXOEcx
 453h_LSIuHebzBCHZpQGfdfMb_Q7MNjNqQDY8kpe42epYUddDr.uPdVTWPjvbZ.._55Jx6iuxwBv
 faLwJEYR4XFIFtszEU4jH5Fedxvw04siV1jf7xpylzJbQTpANN6LD8q1BsOts4xzD3WUO
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic314.consmr.mail.ne1.yahoo.com with HTTP; Tue, 8 Nov 2022 01:43:07 +0000
Received: by hermes--production-sg3-6c8895b545-xbfp8 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 93869a53226eafa2292ed606d147fa6e; 
 Tue, 08 Nov 2022 01:43:01 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Tak Kunihiro <tak.kunihiro@HIDDEN>
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
In-Reply-To: <6F714A91-7363-414F-9998-76F2EE4031DC@HIDDEN> (Tak Kunihiro's
 message of "Tue, 8 Nov 2022 10:34:42 +0900")
References: <87bkr7eqk0.fsf@HIDDEN>
 <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
 <87edvya7pt.fsf@HIDDEN>
 <20220927.131552.1724748853665316882.tkk@HIDDEN>
 <m1zgd36rbi.fsf@HIDDEN> <87mt9384u8.fsf@HIDDEN>
 <6F714A91-7363-414F-9998-76F2EE4031DC@HIDDEN>
Date: Tue, 08 Nov 2022 09:42:55 +0800
Message-ID: <87y1sm6x28.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.20826
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 409
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: 57995 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tak Kunihiro <tak.kunihiro@HIDDEN> writes:

> Without modifying break point, I got following results.
>
>> (lldb) p horizontal
> (bool) $0 = true
>> (lldb) p emacs_event->kind
> (event_kind) $1 = HORIZ_WHEEL_EVENT
>> (lldb) p totalDeltaX
>
> (int) $2 = 0

Would you please print the contents of the following variables as well?

  (lldb) p emacs_event->modifiers
  (lldb) p scrollUp
  (lldb) p delta

TIA.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 8 Nov 2022 01:35:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 07 20:35:05 2022
Received: from localhost ([127.0.0.1]:35849 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1osDW5-0002UY-Br
	for submit <at> debbugs.gnu.org; Mon, 07 Nov 2022 20:35:05 -0500
Received: from mail-pl1-f171.google.com ([209.85.214.171]:43794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tak.kunihiro@HIDDEN>) id 1osDW2-0002Tz-Jk
 for 57995 <at> debbugs.gnu.org; Mon, 07 Nov 2022 20:35:03 -0500
Received: by mail-pl1-f171.google.com with SMTP id d20so11765339plr.10
 for <57995 <at> debbugs.gnu.org>; Mon, 07 Nov 2022 17:35:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=6Ir6Zn7dnk10eQafckmCf8/LOL1ejh3lk/sa38bcfWU=;
 b=e62+uJ/mx3AbIfC/rD3hLo5AJy+E1id4gBDICyNY/VnOc8yZ0BHhSVfIDHA8T87KNV
 8nddCsQgZW4/hOcgV6Nfr0yyO2BEZT+noxZx0/vCXdsXf33/6viMvNdDDEwVK4O6a/dX
 ZsJgSHI7Lz8E7UGJLxqzIzUgCpsl8vYZDusT4gV1RKRDL4EifK7trdLhuERJ426Jmcj4
 loeeUjIu3zj7wHBeQrqsyaLgCQKtX9mSZUt6fGi7cIw+EMyUcYwjQIVNslayKqpNSeqm
 wkG7yk8SHL6+LG6vqse0XHvNxhISBxg2xr6J5/XU+EaL5etNe4xrGHAsr6vEW4UHMxdW
 k7NA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=6Ir6Zn7dnk10eQafckmCf8/LOL1ejh3lk/sa38bcfWU=;
 b=eSmC+k7TPFPXw9L2tNAcfoilb3ttObzSQc2ZC17+IuRIkC0n0O56paKIvXPk8+3MnW
 V3tXnljmkmaUHZWJNqd/kV//eSY0uCEHD3Li51kR5Zr3dFQmhwNkk1ly375/xY8hD8n1
 4sJZrcAcInti1lvYXOgFNC++laRVp08TGyhMo8bkf666NFRRe6SJg3QfCpkXAxTzLJm7
 ppQoKhq0Bk6d/kB0lxAed/85BlmNxzTx/scGjLaUrupYiq/Bq0Qc8CURNXKtp91CDjw5
 FpwzbOtsisucT/8UBzY5KtUntf8IYT0MBCvc9CtpYaw4vjK7r+PIFiPTsGo8pKEo+VTe
 6tdA==
X-Gm-Message-State: ACrzQf34YAaEjtOCk8A1bXPbgr7GPzFwIsjcmXoeH09AHUCKtOYSsWKr
 MI1Nt3WLPT1469rIIoyIMmc=
X-Google-Smtp-Source: AMsMyM4di1ZThc8aMIPE9C1XIL/NL3tuZXMW7Aa22hmYJHET7FfCyjHnQfUe6c4l2YmEeKEog7L53g==
X-Received: by 2002:a17:902:d4cc:b0:186:f57d:ba61 with SMTP id
 o12-20020a170902d4cc00b00186f57dba61mr53366024plg.97.1667871296191; 
 Mon, 07 Nov 2022 17:34:56 -0800 (PST)
Received: from smtpclient.apple ([150.46.201.82])
 by smtp.gmail.com with ESMTPSA id
 c17-20020a170902d49100b001754cfb5e21sm5615982plg.96.2022.11.07.17.34.54
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 07 Nov 2022 17:34:55 -0800 (PST)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\))
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
From: Tak Kunihiro <tak.kunihiro@HIDDEN>
In-Reply-To: <87mt9384u8.fsf@HIDDEN>
Date: Tue, 8 Nov 2022 10:34:42 +0900
Content-Transfer-Encoding: quoted-printable
Message-Id: <6F714A91-7363-414F-9998-76F2EE4031DC@HIDDEN>
References: <87bkr7eqk0.fsf@HIDDEN>
 <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
 <87edvya7pt.fsf@HIDDEN>
 <20220927.131552.1724748853665316882.tkk@HIDDEN>
 <m1zgd36rbi.fsf@HIDDEN> <87mt9384u8.fsf@HIDDEN>
To: Po Lu <luangruo@HIDDEN>,
 57995 <at> debbugs.gnu.org
X-Mailer: Apple Mail (2.3731.200.110.1.12)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: Tak Kunihiro <tak.kunihiro@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Without modifying break point, I got following results.

> (lldb) p horizontal
(bool) $0 =3D true
> (lldb) p emacs_event->kind
(event_kind) $1 =3D HORIZ_WHEEL_EVENT
> (lldb) p totalDeltaX

(int) $2 =3D 0

HTH

$ ./configure CFLAGS=3D"-g -O0"
$ make
$ make install
$ lldb nextstep/Emacs.app/Contents/MacOS/Emacs
(lldb) br set --file src/nsterm.m --line 7363
(lldb) run -Q
M-: (setq mouse-wheel-tilt-scroll t)
M-: (pixel-scroll-precision-mode 1)
<wheel-right>
(lldb)
* thread #1, queue =3D 'com.apple.main-thread', stop reason =3D =
breakpoint 1.1
   frame #0: 0x000000010031f749 Emacs`-[EmacsView =
mouseDown:](self=3D0x0000000103023790, _cmd=3D"mouseDown:", =
theEvent=3D0x0000600003706b80) at nsterm.m:7373:5
   7350 #if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < =
1070
   7351        {
   7352          CGFloat delta =3D [theEvent deltaY];
   7353          /* Mac notebooks send wheel events with delta equal to =
0
   7354     when trackpad scrolling.  */
   7355          if (delta =3D=3D 0)
   7356            {
   7357              delta =3D [theEvent deltaX];
   7358              if (delta =3D=3D 0)
   7359                {
   7360                  NSTRACE_MSG ("deltaIsZero");
   7361                  return;
   7362                }
   7363              emacs_event->kind =3D HORIZ_WHEEL_EVENT;
   7364            }
   7365          else
   7366            emacs_event->kind =3D WHEEL_EVENT;
   7367
   7368          emacs_event->code =3D 0;
   7369          emacs_event->modifiers =3D EV_MODIFIERS (theEvent) |
   7370             ((delta > 0) ? up_modifier : down_modifier);
   7371         }
   7372 #endif
-> 7373     }
   7374   else
   7375     {
   7376       Lisp_Object tab_bar_arg =3D Qnil;
Target 0: (Emacs) stopped.
(lldb) p horizontal
(bool) $0 =3D true
(lldb) p emacs_event->kind
(event_kind) $1 =3D HORIZ_WHEEL_EVENT
(lldb) p totalDeltaX
(int) $2 =3D 0
(lldb)





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 7 Nov 2022 09:57:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 07 04:57:42 2022
Received: from localhost ([127.0.0.1]:33377 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1orysw-0000lK-7C
	for submit <at> debbugs.gnu.org; Mon, 07 Nov 2022 04:57:42 -0500
Received: from sonic312-23.consmr.mail.ne1.yahoo.com ([66.163.191.204]:40838)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1oryss-0000l4-LD
 for 57995 <at> debbugs.gnu.org; Mon, 07 Nov 2022 04:57:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1667815052; bh=DH05M+Ce9ZcQ9ZxpBEmKJWctfZQ0QhJw9QYQNRIqQgI=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=EgEdxPKWeJ8NaWCHJBJFhMbd2ikR3rEcBKO97jbBQu7C6468WdFvU7YGxbymOZC3+vROAI8CQtzSFHiSbEG6Mfsk0Xv8QO1w0KgnvhWKNJFlD+iVNasEgS1aRkMRYZn1B6ngxjPV8uuY4LhA6sSYvCiO5G4ASTKAZQqcCeuR/IYCOkplvIJv89k7NLUSRtRMQPXQkTJMa0WfgROHN5AKmsmHztohASqKGeYOgiy4kaxByXW69uZF6JadCjv75PhWee7rcTtFIryTgy/BK+7MgnKvW4VnBYSvd/WwYhHp4NFBwP+6tUzCEJYdMMf99YdawOUwoAXs9HNaaJnDXvydYQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1667815052; bh=Y9yd7n6thBZCRcjePO7Fskmz5ZaHUVT5dSRUrWlpM/e=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=EEqox4i/0pRuCk60EhkaGQgr4psrL3/UDJ/fUy+7WX6JQzj7xcOBrzRRzXoP84nmf9vESyNzzlHhSDl5Zcws4IfsfwqMs/MwRSv2wf1Rc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ZiJXz_.nEu2nuCWmk1oObq1xK7aYtHT4ZfilvVn9M377
 buh24m7KRNayTu29zYsUUeufEgzGFyoMEmrUvRx2j2garoMj0hsTPbLTeaMe0.2OxuLbz8tg_MOW
 vvDmJHL5j_G6yp7ha6S37XpaOh3Q0GAtzcT9Zf.lkmrVExxb_GgCwJsIoSHi280MrY4txtjoyNvT
 9necrwzJnLCKKfY7eJpJwp8aPPmSNYBvTDFyyEDAqYP6jLACdvaimxNw5qQkvYsY9AGKEi5o1dje
 4V_i9sSqnX0SM0j_a6FUUFEYgdiR_MAhnpPPJ64xviflgZMUgZaMKAT.cYJLD6Cs063yCwfenmkn
 OMSOdHG6gQT4LSgs577Uj3oeyH6C10pIDS4xvuoy_YVQzRQXATsinrsUHoEpKdFq8m52hrGb7CFf
 ouIjnX9PmM17hATouiD1iX1SbFWTdMv8AcZsofinD0iNS.fJb6U3M4BipxWHvYrlGzR8-
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic312.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Nov 2022 09:57:32 +0000
Received: by hermes--production-sg3-6c8895b545-66t5n (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 6497655d05c3e6d88684e33588dddebb; 
 Mon, 07 Nov 2022 09:57:26 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Tak Kunihiro <homeros.misasa@HIDDEN>
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
In-Reply-To: <m1zgd36rbi.fsf@HIDDEN> (Tak Kunihiro's message
 of "Mon, 07 Nov 2022 18:34:41 +0900")
References: <87bkr7eqk0.fsf@HIDDEN>
 <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
 <87edvya7pt.fsf@HIDDEN>
 <20220927.131552.1724748853665316882.tkk@HIDDEN>
 <m1zgd36rbi.fsf@HIDDEN>
Date: Mon, 07 Nov 2022 17:57:19 +0800
Message-ID: <87mt9384u8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.20826
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 2074
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: tkk@HIDDEN, 57995 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tak Kunihiro <homeros.misasa@HIDDEN> writes:

> I set a break point to line 7363 and run Emacs.  Event <wheel-left>
> stops at line 7373.  I'm not familiar with neither lldb and gdb.  Please
> tell me the next step specifically.
>
> TIA
>
> $ ./configure CFLAGS="-g -O0"
> $ make
> $ make install
> $ lldb nextstep/Emacs.app/Contents/MacOS/Emacs
> (lldb) br set --file src/nsterm.m --line 7363
> (lldb) run -Q
> M-: (setq mouse-wheel-tilt-scroll t)
> M-: (pixel-scroll-precision-mode 1)
> <wheel-right>
> (lldb)
> * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
>     frame #0: 0x000000010031f749 Emacs`-[EmacsView mouseDown:](self=0x0000000103023790, _cmd="mouseDown:", theEvent=0x0000600003706b80) at nsterm.m:7373:5
>    7350 #if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 1070
>    7351        {
>    7352          CGFloat delta = [theEvent deltaY];
>    7353          /* Mac notebooks send wheel events with delta equal to 0
>    7354	     when trackpad scrolling.  */
>    7355          if (delta == 0)
>    7356            {
>    7357              delta = [theEvent deltaX];
>    7358              if (delta == 0)
>    7359                {
>    7360                  NSTRACE_MSG ("deltaIsZero");
>    7361                  return;
>    7362                }
>    7363              emacs_event->kind = HORIZ_WHEEL_EVENT;
>    7364            }
>    7365          else
>    7366            emacs_event->kind = WHEEL_EVENT;
>    7367
>    7368          emacs_event->code = 0;
>    7369          emacs_event->modifiers = EV_MODIFIERS (theEvent) |
>    7370             ((delta > 0) ? up_modifier : down_modifier);
>    7371         }
>    7372 #endif
> -> 7373     }
>    7374   else
>    7375     {
>    7376       Lisp_Object tab_bar_arg = Qnil;
> Target 0: (Emacs) stopped.

Thanks.  I just realized that the code I asked you to break on is not
defined on your system.

Would you please print out the values of the following variables
instead?

  (lldb) p horizontal
  (lldb) p emacs_event->kind
  (lldb) p totalDeltaX




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 7 Nov 2022 09:34:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 07 04:34:53 2022
Received: from localhost ([127.0.0.1]:33348 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oryWq-0000AE-M7
	for submit <at> debbugs.gnu.org; Mon, 07 Nov 2022 04:34:53 -0500
Received: from mail-pf1-f180.google.com ([209.85.210.180]:42970)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <homeros.misasa@HIDDEN>) id 1oryWo-00009y-MC
 for 57995 <at> debbugs.gnu.org; Mon, 07 Nov 2022 04:34:51 -0500
Received: by mail-pf1-f180.google.com with SMTP id b185so10057971pfb.9
 for <57995 <at> debbugs.gnu.org>; Mon, 07 Nov 2022 01:34:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=DzG8MH8jimXRGbfeGu5PsX6cRhLx7gJy/ZQ+2oTj0ng=;
 b=dF/fCTVoReLz3+wfImDb2G6ZZkywSKH/OSsVfYUtZKSWpp4dGfKjf7q4QosE1uHfE0
 ziQoGnZOs2hPzINDKq+6QNsRqc8gbBDMfM3UFmmKg4NIgB/adJbaMJrCl5KjNaTCXVjl
 fnAOEaARRWcWBfqGr4AVlYMwfy/AX7M8ldrf+ZS9SI0U6YeNfLawRNDe6JUpCcqYQySG
 iYe30jE49H0YsiWqVatDcXDsiuQygxYOCA+rXbC6W3YfwEn4ANknzJ9QQpcXgdRaKb9A
 cBNpBEbspfUcLfRf1k8DHuT+K20eCfC7gzr9Wmouk2qP2KewAJV+Hqq3M1fcyU4hCrS3
 gm3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=DzG8MH8jimXRGbfeGu5PsX6cRhLx7gJy/ZQ+2oTj0ng=;
 b=XdjpAweNCgV2hVwJCviTbMFyMgmm9nc30dQPAtZem/HPeNhOW1upmxCzhYj2gb70E9
 PtgcXvjdUfU6TSmyiJ5JqP1kz1W39c1IAIL7alIBIJnRRKSvImg36h0IRjZFSZlTuJVC
 mRC6GCWMFh7IKxnvMeVoRMseQbjDxfHIlIfH6efdpXxQfzCbB0bgo8BB8K7TxQsaovnG
 q9IRwUfWnOM8QYsJUVmm+qNppdwkn9Ck8xzQhSx0mU5KKKLI2oxN0BeKKMR0pInKiGNV
 xilylwuXovKmjr465PNZq6JIIOXnQlKoNwA7RKiS6LuQmDEMmfcUmKQPBPGC2NF99pIB
 sNBQ==
X-Gm-Message-State: ACrzQf0qkmKEAYjqbv0w287ugwbrUy1w+3ko5QVLi+bxHuWXHy2hBwZ1
 uSMWxEUIF3fIkgfnNfh5XOY=
X-Google-Smtp-Source: AMsMyM6Hlg9vgvK7+WAPj6ZQP9fDIY85kQp2xYNsnd5KQCrArLkHTWZOUF1euK6h3m0RldfqkDQ8GQ==
X-Received: by 2002:aa7:8c44:0:b0:56c:f21f:5e0e with SMTP id
 e4-20020aa78c44000000b0056cf21f5e0emr49227794pfd.35.1667813684884; 
 Mon, 07 Nov 2022 01:34:44 -0800 (PST)
Received: from DreamMini2019.local ([150.46.201.82])
 by smtp.gmail.com with ESMTPSA id
 d16-20020a170902ced000b0017f49b41c12sm4538995plg.173.2022.11.07.01.34.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 07 Nov 2022 01:34:44 -0800 (PST)
From: Tak Kunihiro <homeros.misasa@HIDDEN>
X-Google-Original-From: Tak Kunihiro <tkk@HIDDEN>
To: luangruo@HIDDEN
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
References: <87bkr7eqk0.fsf@HIDDEN>
 <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
 <87edvya7pt.fsf@HIDDEN>
 <20220927.131552.1724748853665316882.tkk@HIDDEN>
Date: Mon, 07 Nov 2022 18:34:41 +0900
In-Reply-To: <20220927.131552.1724748853665316882.tkk@HIDDEN>
 (Tak Kunihiro's message of "Tue, 27 Sep 2022 13:15:52 +0900 (JST)")
Message-ID: <m1zgd36rbi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: tkk@HIDDEN, 57995 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I set a break point to line 7363 and run Emacs.  Event <wheel-left>
stops at line 7373.  I'm not familiar with neither lldb and gdb.  Please
tell me the next step specifically.

TIA

$ ./configure CFLAGS="-g -O0"
$ make
$ make install
$ lldb nextstep/Emacs.app/Contents/MacOS/Emacs
(lldb) br set --file src/nsterm.m --line 7363
(lldb) run -Q
M-: (setq mouse-wheel-tilt-scroll t)
M-: (pixel-scroll-precision-mode 1)
<wheel-right>
(lldb)
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x000000010031f749 Emacs`-[EmacsView mouseDown:](self=0x0000000103023790, _cmd="mouseDown:", theEvent=0x0000600003706b80) at nsterm.m:7373:5
   7350 #if defined (NS_IMPL_GNUSTEP) || MAC_OS_X_VERSION_MIN_REQUIRED < 1070
   7351        {
   7352          CGFloat delta = [theEvent deltaY];
   7353          /* Mac notebooks send wheel events with delta equal to 0
   7354	     when trackpad scrolling.  */
   7355          if (delta == 0)
   7356            {
   7357              delta = [theEvent deltaX];
   7358              if (delta == 0)
   7359                {
   7360                  NSTRACE_MSG ("deltaIsZero");
   7361                  return;
   7362                }
   7363              emacs_event->kind = HORIZ_WHEEL_EVENT;
   7364            }
   7365          else
   7366            emacs_event->kind = WHEEL_EVENT;
   7367
   7368          emacs_event->code = 0;
   7369          emacs_event->modifiers = EV_MODIFIERS (theEvent) |
   7370             ((delta > 0) ? up_modifier : down_modifier);
   7371         }
   7372 #endif
-> 7373     }
   7374   else
   7375     {
   7376       Lisp_Object tab_bar_arg = Qnil;
Target 0: (Emacs) stopped.

> I do not know how to call debugger.
> It will take a while to respond!
>
>>>>> With pixel-scroll-precision-mode, <wheel-right> and <wheel-left> does
>>>>> not work. Is this expected behavior?
>>>>> 
>>>>> 1. emacs -Q
>>>>> 2. (setq mouse-wheel-tilt-scroll t)
>>>>> 3. <wheel-right> or <wheel-left> scrolls buffer.
>>>>> 4. (pixel-scroll-precision-mode 1)
>>>>> 5. Then <wheel-right> or <wheel-left> does not scroll buffer.
>>>> 
>>>> Thanks for reporting this bug.  Could you please include the output from
>>>> `report-emacs-bug', as this is likely a system-specific issue?
>>>
>>> No buffer scroll with <wheel-right> and <wheel-left> by mouse with Mac.
>>> I confirm that I can scroll buffer with swipe-right and swipe-left by
>>> touchpad with MacBook.
>> 
>> Right, thanks.  Could you please run Emacs underneath a debugger (GDB or
>> LLDB), and see whether or not this code around line 7342 of nsterm.m is
>> ever hit:
>> 
>>           CGFloat delta = [theEvent deltaY];
>>           /* Mac notebooks send wheel events with delta equal to 0
>> 	     when trackpad scrolling.  */
>>           if (delta == 0)
>>             {
>>               delta = [theEvent deltaX];
>>               if (delta == 0)
>>                 {
>>                   NSTRACE_MSG ("deltaIsZero");
>>                   return;
>>                 }
>>               emacs_event->kind = HORIZ_WHEEL_EVENT; <================
>>             }
>>           else
>>             emacs_event->kind = WHEEL_EVENT;
>> 
>>           emacs_event->code = 0;
>>           emacs_event->modifiers = EV_MODIFIERS (theEvent) |
>>             ((delta > 0) ? up_modifier : down_modifier);
>> 
>> when you try to scroll left or right with your mouse while
>> pixel-scroll-precision-mode is enabled?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 27 Sep 2022 04:49:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 27 00:49:56 2022
Received: from localhost ([127.0.0.1]:52139 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1od2Xc-0004pB-9J
	for submit <at> debbugs.gnu.org; Tue, 27 Sep 2022 00:49:56 -0400
Received: from sonic306-22.consmr.mail.ne1.yahoo.com ([66.163.189.84]:33158)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1od2XZ-0004os-Sw
 for 57995 <at> debbugs.gnu.org; Tue, 27 Sep 2022 00:49:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1664254187; bh=2TWzwJPtgHSQWBPohrB32TPzHFd8y6EUTjbQKG8c2MI=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=PAMq5nQj3sbDLx23wI4pouIFtgJRK56agZ6XOIdqBSmlP4QwkCAVCIREU7ZErFPUXf/qOCZlPYBO2feai84Zr4nPNr+Yk43mKAW0ZsCOMjXVylTl1peGjeaOeJAeTYhOxkqFZTYbksBIc9+l56UwTjI8ser+8Ag5aHNl9SD1PSQBumhiYe22ueHr4jkanfmbb3iv5JIN2jzML80r1k8J2yDvICP37CWn+kHGLSMDfiYCGZqgzNjDLVs9Dp2OlmpsPfB+cFJ5Up6d7UPHYCC1gsDysGbatdgrxvBZG0+cOXY7M7y4yizjrO3p94olkHNdvYWgBoWNTxRAL0F9vUzoRQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c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2uviQFyTlyqLj9eN30Xmg
 iMaB_xrvS5hU8QXiCDk8Muq7oewdIK2A6SIbR0K8r.i3614c8Im0ziOkhU7EUMhCzhyfBciGrNce
 O.54nreRT9RN68IlJvoGD7qtjyw9xcgeGIN7Nz4B8bH3Vv.ZirqfPAg2qGsWYM5AnM4JG6y.fWQb
 Epq_gDnhY3swZrOfBtzml44rVkcglj3PQSbHKOMH8YvT14bvawznG1ifvFhh9jE7nvNsCIyUVDIU
 Stdm7cGeQn9YKO2EfQeaRZPLumQVhDu71W.hSOJSap6uKVipdx3GQgr0m3Wt_MeFBaz0QPsOMgIU
 N4J2rJXryTOv_V3xmbg1wUKesH2Pzrgy7h9rjoEjsO3iMwDhid4erhItZiZrgjcN5gJF29CmKYeM
 982DsuwTX7aRJi.rWTrZJ_psRv3UaTOmdDW85tRiHLslBMDYreUXAl2Dsj4M6warWk_d7dWUT1BW
 QyNgWwCkbwov_4PTW7lS7_RqG5mUOIjdLlyvQYE9YbNuRMvDM2BlXkE9vN3f.T_sizvPQhpyVwtW
 3fMT0LJor8e_CiQuKP6Udj2OAqtvWAHagdd6hNQ1.H.Ks8NFqdNgJWbqfv8fRCdHMIKojtdtETmA
 b72Ikwpqs.ItRtjqq39Exw25fLKLl8M6XVq76qsEmAEsutQ0_8tunWOCN0t1aUmkDhr1mfrGcQv6
 lcf2NiJx5FAkV
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic306.consmr.mail.ne1.yahoo.com with HTTP; Tue, 27 Sep 2022 04:49:47 +0000
Received: by hermes--production-sg3-dfffdfbd4-h5t56 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID e14d78346c1ecc5863d361e1f505a531; 
 Tue, 27 Sep 2022 04:49:40 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Tak Kunihiro <tkk@HIDDEN>
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
References: <87bkr7eqk0.fsf@HIDDEN>
 <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
 <87edvya7pt.fsf@HIDDEN>
 <20220927.131552.1724748853665316882.tkk@HIDDEN>
Date: Tue, 27 Sep 2022 12:49:34 +0800
In-Reply-To: <20220927.131552.1724748853665316882.tkk@HIDDEN>
 (Tak Kunihiro's message of "Tue, 27 Sep 2022 13:15:52 +0900 (JST)")
Message-ID: <87sfkd8lr5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.20702
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 196
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: 57995 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tak Kunihiro <tkk@HIDDEN> writes:

> I do not know how to call debugger.
> It will take a while to respond!

Does that mean the debugger freezes?  I'm not sure what you mean here.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 27 Sep 2022 04:16:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 27 00:16:01 2022
Received: from localhost ([127.0.0.1]:52133 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1od20n-0003qC-5c
	for submit <at> debbugs.gnu.org; Tue, 27 Sep 2022 00:16:01 -0400
Received: from jlsv301.okayama-u.ac.jp ([150.46.12.5]:25624)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tkk@HIDDEN>) id 1od20j-0003pw-7K
 for 57995 <at> debbugs.gnu.org; Tue, 27 Sep 2022 00:15:59 -0400
Received: from localhost (unknown [172.24.2.23])
 by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id 5AF227608EA;
 Tue, 27 Sep 2022 13:15:53 +0900 (JST)
Date: Tue, 27 Sep 2022 13:15:52 +0900 (JST)
Message-Id: <20220927.131552.1724748853665316882.tkk@HIDDEN>
To: luangruo@HIDDEN
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
From: Tak Kunihiro <tkk@HIDDEN>
In-Reply-To: <87edvya7pt.fsf@HIDDEN>
References: <87bkr7eqk0.fsf@HIDDEN>
 <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
 <87edvya7pt.fsf@HIDDEN>
X-Mailer: Mew version 6.8 on Emacs 28.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: tkk@HIDDEN, 57995 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I do not know how to call debugger.
It will take a while to respond!

>>>> With pixel-scroll-precision-mode, <wheel-right> and <wheel-left> does
>>>> not work. Is this expected behavior?
>>>> 
>>>> 1. emacs -Q
>>>> 2. (setq mouse-wheel-tilt-scroll t)
>>>> 3. <wheel-right> or <wheel-left> scrolls buffer.
>>>> 4. (pixel-scroll-precision-mode 1)
>>>> 5. Then <wheel-right> or <wheel-left> does not scroll buffer.
>>> 
>>> Thanks for reporting this bug.  Could you please include the output from
>>> `report-emacs-bug', as this is likely a system-specific issue?
>>
>> No buffer scroll with <wheel-right> and <wheel-left> by mouse with Mac.
>> I confirm that I can scroll buffer with swipe-right and swipe-left by
>> touchpad with MacBook.
> 
> Right, thanks.  Could you please run Emacs underneath a debugger (GDB or
> LLDB), and see whether or not this code around line 7342 of nsterm.m is
> ever hit:
> 
>           CGFloat delta = [theEvent deltaY];
>           /* Mac notebooks send wheel events with delta equal to 0
> 	     when trackpad scrolling.  */
>           if (delta == 0)
>             {
>               delta = [theEvent deltaX];
>               if (delta == 0)
>                 {
>                   NSTRACE_MSG ("deltaIsZero");
>                   return;
>                 }
>               emacs_event->kind = HORIZ_WHEEL_EVENT; <================
>             }
>           else
>             emacs_event->kind = WHEEL_EVENT;
> 
>           emacs_event->code = 0;
>           emacs_event->modifiers = EV_MODIFIERS (theEvent) |
>             ((delta > 0) ? up_modifier : down_modifier);
> 
> when you try to scroll left or right with your mouse while
> pixel-scroll-precision-mode is enabled?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 26 Sep 2022 07:57:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 03:57:56 2022
Received: from localhost ([127.0.0.1]:49206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocj00-0000gV-D3
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 03:57:56 -0400
Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:33280)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1ocizt-0000gA-Vz
 for 57995 <at> debbugs.gnu.org; Mon, 26 Sep 2022 03:57:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1664179062; bh=4DtqJmvVHdn9gPUxbeUttFD/chnAFg8XN6a16tkkJp4=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=E+a9ZU6ZUuAlgGzzQGURoQJXCvrP6J5tbFz6e4ZHXUsOkSgWUg+qWT7yPLdTEadPFIjpUZSXFuFccLjAuWgHbCLg3DC2z33Kap6u/Ohl6ajela/by+vCf9pqKhN/wMkae+tPJdCou2iWQrEilb48HQilU/Ab3jnjaaQILqlb4GPNtxgkhDyyA4fjuIJAvdOc7fT0MYdTPmxLvc67d/lbDYyVNyeSWUqsZ0iz3gu+ua2YjSljWuviyjigqHTLnA6Bn8iuvSrU5ROhetUvIv2TEMwj+5nr3Y+oOLBoDFM9AzHSvJ6B2bZ6WqtED1EWP819j7OPJlTnKmDpOjVcGwkG2g==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relax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ZpFUGjAVe
 tyE.cb2M_WK6UTe3luwPeULCUHFcOAV1dvsEFc5ldfygq5y.Q6azymcgICilIrmlMNRin2j82cw_
 r_6ZdlV3mrV5gMkhKmNr7UPI08twvkMO29L5ivrYgXn4o04XWjkexAL_HiDCv0DMOoDWT6rsTHga
 NMXuZFiQBiTP6qYSi6Dyw07vU0jATrudnvVUx2XxJZXqLBHcG5fKugQMbzJjuYHWvQff.MM4DyxA
 r_giF7FMSjw6Xcq2fCZ_v5dbUg8IsH.7kd3.RzpKAqKjt.7Z5TqcKg5U70G.UDubmBvH1BxXtcg9
 WgSh7SDfhqXNlRYsfZe.QCIQbBuJhIgOxeo_1nuDq5P83GG4T5YBbgtzk8qQQokqhG8h34qEWkKA
 c2iFKuM0i2Q7kbk1D0MltuiUgzOyxJXdaLiPvTqPSiaMCE0dEOfcLuSAfGB1Fic_ZaFrV4zyB.LP
 G5tOWCsb5HH1IkVQpuMDRKjwrnpQM2ZokFOPO6pJlQN4EOuwCalvavks9Al5kqeqbsXunJc0jxLN
 RkaMsiO_jobEqNCHmi0IIzoKXaWQKrCVroJtBzX1q6eVvO8SEH2qQ.fhzCVPP4_6k_8WkdXhEYmx
 b1iLFABO7Dvz1M07avXpenLQpr8cFQ.5MovHQc4qx.h2nl2chz9KHj6B7mz5Cnc8T27HyOF6WAqN
 4j0maVaJtpX2v
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic315.consmr.mail.ne1.yahoo.com with HTTP; Mon, 26 Sep 2022 07:57:42 +0000
Received: by hermes--production-sg3-dfffdfbd4-cpz6p (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID e6b7a194e0dbb052a4c0c9c328d64bd4; 
 Mon, 26 Sep 2022 07:57:39 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Tak Kunihiro <tkk@HIDDEN>
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
References: <20220922.125014.244096231780689299.tkk@HIDDEN>
 <87bkr7eqk0.fsf@HIDDEN>
 <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
Date: Mon, 26 Sep 2022 15:57:34 +0800
In-Reply-To: <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
 (Tak Kunihiro's message of "Mon, 26 Sep 2022 14:43:13 +0900")
Message-ID: <87edvya7pt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.20702
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1625
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: 57995 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tak Kunihiro <tkk@HIDDEN> writes:

>>> With pixel-scroll-precision-mode, <wheel-right> and <wheel-left> does
>>> not work. Is this expected behavior?
>>> 
>>> 1. emacs -Q
>>> 2. (setq mouse-wheel-tilt-scroll t)
>>> 3. <wheel-right> or <wheel-left> scrolls buffer.
>>> 4. (pixel-scroll-precision-mode 1)
>>> 5. Then <wheel-right> or <wheel-left> does not scroll buffer.
>> 
>> Thanks for reporting this bug.  Could you please include the output from
>> `report-emacs-bug', as this is likely a system-specific issue?
>
> No buffer scroll with <wheel-right> and <wheel-left> by mouse with Mac.
> I confirm that I can scroll buffer with swipe-right and swipe-left by
> touchpad with MacBook.

Right, thanks.  Could you please run Emacs underneath a debugger (GDB or
LLDB), and see whether or not this code around line 7342 of nsterm.m is
ever hit:

          CGFloat delta = [theEvent deltaY];
          /* Mac notebooks send wheel events with delta equal to 0
	     when trackpad scrolling.  */
          if (delta == 0)
            {
              delta = [theEvent deltaX];
              if (delta == 0)
                {
                  NSTRACE_MSG ("deltaIsZero");
                  return;
                }
              emacs_event->kind = HORIZ_WHEEL_EVENT; <================
            }
          else
            emacs_event->kind = WHEEL_EVENT;

          emacs_event->code = 0;
          emacs_event->modifiers = EV_MODIFIERS (theEvent) |
            ((delta > 0) ? up_modifier : down_modifier);

when you try to scroll left or right with your mouse while
pixel-scroll-precision-mode is enabled?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 26 Sep 2022 05:43:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 26 01:43:22 2022
Received: from localhost ([127.0.0.1]:48944 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ocgtl-0003Os-KF
	for submit <at> debbugs.gnu.org; Mon, 26 Sep 2022 01:43:22 -0400
Received: from jlsv301.okayama-u.ac.jp ([150.46.12.5]:33314)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tkk@HIDDEN>) id 1ocgth-0003Og-JG
 for 57995 <at> debbugs.gnu.org; Mon, 26 Sep 2022 01:43:20 -0400
Received: from smtpclient.apple (vesta.misasa.okayama-u.ac.jp [150.46.48.154])
 by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id 3CBC276005D;
 Mon, 26 Sep 2022 14:43:14 +0900 (JST)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
From: Tak Kunihiro <tkk@HIDDEN>
In-Reply-To: <87bkr7eqk0.fsf@HIDDEN>
Date: Mon, 26 Sep 2022 14:43:13 +0900
Content-Transfer-Encoding: 7bit
Message-Id: <D52A8A3E-421B-46EF-9372-00646AEC4ADA@HIDDEN>
References: <20220922.125014.244096231780689299.tkk@HIDDEN>
 <87bkr7eqk0.fsf@HIDDEN>
To: Po Lu <luangruo@HIDDEN>,
 57995 <at> debbugs.gnu.org
X-Mailer: Apple Mail (2.3696.120.41.1.1)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: Tak Kunihiro <tkk@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>> With pixel-scroll-precision-mode, <wheel-right> and <wheel-left> does
>> not work. Is this expected behavior?
>> 
>> 1. emacs -Q
>> 2. (setq mouse-wheel-tilt-scroll t)
>> 3. <wheel-right> or <wheel-left> scrolls buffer.
>> 4. (pixel-scroll-precision-mode 1)
>> 5. Then <wheel-right> or <wheel-left> does not scroll buffer.
> 
> Thanks for reporting this bug.  Could you please include the output from
> `report-emacs-bug', as this is likely a system-specific issue?

No buffer scroll with <wheel-right> and <wheel-left> by mouse with Mac.
I confirm that I can scroll buffer with swipe-right and swipe-left by
touchpad with MacBook.

TIA


In GNU Emacs 29.0.50 (build 5, x86_64-apple-darwin21.6.0, NS
 appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-09-26 built on
 DreamMini2019.local
Repository revision: 9ed03040d5bfb228c8d41f1df44e74a824d0cd44
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.6

Configured features:
ACL GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG SQLITE3
THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  pixel-scroll-precision-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils shortdoc text-property-search help-fns
radix-tree help-mode pixel-scroll cua-base ring time-date subr-x
cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
faces cus-face macroexp files window text-properties overlay sha1 md5
base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns lcms2
multi-tty make-network-process emacs)

Memory information:
((conses 16 52175 5069)
 (symbols 48 5509 0)
 (strings 32 15658 2663)
 (string-bytes 1 444888)
 (vectors 16 11714)
 (vector-slots 8 175953 5557)
 (floats 8 316 76)
 (intervals 56 1096 60)
 (buffers 1000 12))





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 57995 <at> debbugs.gnu.org:


Received: (at 57995) by debbugs.gnu.org; 22 Sep 2022 08:56:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 04:56:03 2022
Received: from localhost ([127.0.0.1]:36328 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obI03-0007Ll-As
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 04:56:03 -0400
Received: from sonic302-20.consmr.mail.ne1.yahoo.com ([66.163.186.146]:41063)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1obHzz-0007L6-8e
 for 57995 <at> debbugs.gnu.org; Thu, 22 Sep 2022 04:56:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1663836952; bh=04i1lMBt9PquFe8puwsYryoSmwUcRz/gUAHeSW22hS0=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=cgLBTSerFdu1nhzPnxvrVNPT2qukqEP2SD+1vEL0gcYfdvwvWee7T3QjteWFlT5/DAHHTEvPFx3OPWepJ+ydE/UMZ7uGGKDJPetL0lPdW5YbUPfeVdJeiDiZcBC2UesP5MOyikCxyEbx8nR9UOGOiyXObIKb+R8IAq1fjw1l+8gpmOv/eQjt61b7JvGNsjOlwbSFJHXhRnXB9Kp8shE3vqnNM2wHesvz3Hwe9djhh4fkPMxQ9uKMAdgG7uLhdi/vlbjGkJ9Sj1EHwrM/t44bxxMEOGYe0HPtaC+H7VyBdpbsDmsaK85VRX4Pjc+7k1MBb06KXFAlroqmBsav3h6f0Q==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1663836952; bh=XV+NOqR95wl3Nhe5spQx+4d1xXG8GGwnxAkQXgPym+P=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=bAZlOSNVMB6KogthUVGca/kdd+X2C3HPJP1ilLyd73WTLXKosnefFzBSpEvM8GOoRrOOieI4odEIgFdElJktOuLsgrp55YljJbeJrZr2gJ7SmNy93eUIOwt2ULjWZ8VIUo/PE/KxdyI0SpWgI3aMABK7GHzcUL9BjDjbnUT5oyP5sXn3awkCSrBZvofhI4vIrEHdSsX/P2AIIluIKA+zj7Ify5lAvLShG6dodv1KTTm8nVlpRStar5TmjddFeQ+k+NRpWrERt7g7EE+Zhis1O8q/vHG88/ZYShr5HT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P46TCEDCK20128MxZdeYjcPmggai7QUHHp.y4qnehf89T3yY6u0MxgtbQfo
 DgG9IlXihYaTS3bNt5qf5UvTJqsa6TGJX4u3iGHTOb7ntdlCPdXyg59pQ5kPnHdwTukgEgCPqusZ
 uyjjQNVdCObqastB2Bldso9BHA6os0AY87D8KgazSSoa_gwPcn2DpdCNxlODrVv9gYRv2HsMxKVx
 uGQQhe3R3aVhaF7buVoslstqyQ.N_Ick1.9gvXk1bOowyUT0fIEwGXldR6Qjyf65FDMUid_0HVNS
 SgkB0iym52TDdVzPu3Q--
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic302.consmr.mail.ne1.yahoo.com with HTTP; Thu, 22 Sep 2022 08:55:52 +0000
Received: by hermes--production-sg3-6d76f6b48d-lv6dj (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID c51d075bf779dacd70205843fe5997a3; 
 Thu, 22 Sep 2022 08:55:49 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Tak Kunihiro <tkk@HIDDEN>
Subject: Re: bug#57995: <wheel-right> with pixel-scroll-precision-mode
References: <20220922.125014.244096231780689299.tkk@HIDDEN>
Date: Thu, 22 Sep 2022 16:55:43 +0800
In-Reply-To: <20220922.125014.244096231780689299.tkk@HIDDEN>
 (Tak Kunihiro's message of "Thu, 22 Sep 2022 12:50:14 +0900 (JST)")
Message-ID: <87bkr7eqk0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.20663
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 590
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57995
Cc: 57995 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tak Kunihiro <tkk@HIDDEN> writes:

> pixel-scroll-precision-mode is very nice.  I appreciate Po Lu to work
> on this.
>
> With pixel-scroll-precision-mode, <wheel-right> and <wheel-left> does
> not work. Is this expected behavior?
>
> 1. emacs -Q
> 2. (setq mouse-wheel-tilt-scroll t)
> 3. <wheel-right> or <wheel-left> scrolls buffer.
> 4. (pixel-scroll-precision-mode 1)
> 5. Then <wheel-right> or <wheel-left> does not scroll buffer.

Thanks for reporting this bug.  Could you please include the output from
`report-emacs-bug', as this is likely a system-specific issue?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Sep 2022 03:51:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 23:51:27 2022
Received: from localhost ([127.0.0.1]:35726 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obDFH-000113-9W
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 23:51:27 -0400
Received: from lists.gnu.org ([209.51.188.17]:52880)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tkk@HIDDEN>) id 1obDFF-00010w-Ue
 for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 23:51:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52616)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tkk@HIDDEN>)
 id 1obDFF-0000uI-KV
 for bug-gnu-emacs@HIDDEN; Wed, 21 Sep 2022 23:51:25 -0400
Received: from jlsv301.okayama-u.ac.jp ([150.46.12.5]:32766)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <tkk@HIDDEN>) id 1obDFC-0007BM-5B
 for bug-gnu-emacs@HIDDEN; Wed, 21 Sep 2022 23:51:24 -0400
Received: from localhost (unknown [172.24.1.212])
 by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id 7D6E17609B9;
 Thu, 22 Sep 2022 12:50:15 +0900 (JST)
Date: Thu, 22 Sep 2022 12:50:14 +0900 (JST)
Message-Id: <20220922.125014.244096231780689299.tkk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: <wheel-right> with pixel-scroll-precision-mode
From: Tak Kunihiro <tkk@HIDDEN>
X-Mailer: Mew version 6.8 on Emacs 28.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=150.46.12.5;
 envelope-from=tkk@HIDDEN; helo=jlsv301.okayama-u.ac.jp
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
Cc: tkk@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

pixel-scroll-precision-mode is very nice.  I appreciate Po Lu to work
on this.

With pixel-scroll-precision-mode, <wheel-right> and <wheel-left> does
not work. Is this expected behavior?

1. emacs -Q
2. (setq mouse-wheel-tilt-scroll t)
3. <wheel-right> or <wheel-left> scrolls buffer.
4. (pixel-scroll-precision-mode 1)
5. Then <wheel-right> or <wheel-left> does not scroll buffer.




Acknowledgement sent to Tak Kunihiro <tkk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#57995; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 8 Nov 2022 02:00:02 UTC

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