bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57995: <wheel-right> with pixel-scroll-precision-mode


From: Tak Kunihiro
Subject: bug#57995: <wheel-right> with pixel-scroll-precision-mode
Date: Tue, 8 Nov 2022 10:47:50 +0900

I typed in the results.

>  (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
^

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)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]