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:03:42 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Sat, 27 Nov 2021 18:54:42 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >                      The event may have additional arguments after
> >   @var{position}.  The third argument after @var{position}, if present,
> >   is a pair of the form @w{@code{(@var{x} . @var{y})}}, where @var{x}
> >   and @var{y} are the number of pixels to scroll by in each axis.
> 
> > It mentions the 3rd argument (starting from 1, I presume, given the
> > format of the event shown in @item).  But the code in pixel-scroll.el
> > does:
> 
> It says "the third argument after @var{position}", which is the fifth
> element (1-based) in the lispy event, as position is the second element
> (again, one-based) of the event.
> 
> But I agree that the wording is confusing and can probably be improved
> to just mention that the fifth element contains the pixel information.

So what are the two arguments between POSITION and (X . Y), the 3rd
and the 4th elements in the Lispy event?  They should be documented in
the general form of the event.




reply via email to

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