[Top][All Lists]

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

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

From: Po Lu
Subject: Re: master e37eb7f: Add support for pixel wheel deltas on NS
Date: Sat, 27 Nov 2021 19:05:50 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> 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.

I have no idea what they are, and as such couldn't document them.  (They
are not related to the pixel scrolling support.)

But I will try to find out.


reply via email to

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