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

Previous Next

Package: emacs;

Reported by: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>

Date: Thu, 22 Sep 2022 03:52:01 UTC

Severity: normal

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tak Kunihiro <tak.kunihiro <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 57995 <at> debbugs.gnu.org, Tak Kunihiro <tak.kunihiro <at> gmail.com>
Subject: bug#57995: <wheel-right> with pixel-scroll-precision-mode
Date: Tue, 8 Nov 2022 14:28:36 +0900
> (lldb) p [theEvent scrollingDeltaX]
(CGFloat) $0 = -1

HTH

$ ./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
 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.
(lldb) p horizontal
(bool) $0 = true
(lldb) p emacs_event->kind
(event_kind) $1 = HORIZ_WHEEL_EVENT
(lldb) p totalDeltaX
(int) $2 = 0
(lldb) p emacs_event->modifiers
(unsigned int) $0 = 2
(lldb) p scrollUp
(int) $1 = 0
(lldb) p delta
error: expression failed to parse:
error: <user expression 2>:1:1: use of undeclared identifier 'delta'
delta
^
(lldb) p [theEvent scrollingDeltaX]
(CGFloat) $0 = -1
(lldb)





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

Previous Next


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