emacs-devel
[Top][All Lists]
Advanced

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

Re: master e37eb7f: Add support for pixel wheel deltas on NS


From: Eli Zaretskii
Subject: Re: master e37eb7f: Add support for pixel wheel deltas on NS
Date: Sat, 27 Nov 2021 13:40:45 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Sat, 27 Nov 2021 19:34:19 +0800
> 
> >> @var{clicks}, if present, is the number of times in quick succession
> >> the wheel has been moved.
> 
> > By "if present", do you mean it can be absent, or do you mean it can
> > be nil?  If the latter, then "present" is not the right word.
> 
> It can be absent, not nil.  Thanks.

Hmm... now I'm confused.  Isn't this produced by this code in
keyboard.c:

        if (CONSP (event->arg))
          return list5 (head, position, make_fixnum (double_click_count),
                        XCAR (event->arg), Fcons (XCAR (XCDR (event->arg)),
                                                  XCAR (XCDR (XCDR 
(event->arg)))));

?  If so, this always produces a 5-element list, and CLICKS is always
included.  Right?



reply via email to

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