[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature/android a496509ced 1/2: Update Android port
From: |
Po Lu |
Subject: |
Re: feature/android a496509ced 1/2: Update Android port |
Date: |
Thu, 17 Aug 2023 08:30:35 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> I don't really understand how this answers my question.
>>> Is "the mouse position list" an "posn"?
>> Yes. We refer to "posns" as mouse position lists.
>
> Ah, great, thanks.
>
>>> If yes, then why doesn't `event-start/end` return it?
>> It does, so I've removed the redundant code from widget.el.
>
> Where?
>
> The code I see on `master` is:
>
> (defun event-end (event)
> "Return the ending position of EVENT.
> EVENT should be a click, drag, or key press event.
>
> See `event-start' for a description of the value returned."
> (declare (side-effect-free t))
> (or (and (consp event)
> (not (memq (car event) '(touchscreen-begin
> touchscreen-update
> touchscreen-end)))
> (nth (if (consp (nth 2 event)) 2 1) event))
> (event--posn-at-point)))
>
> so for `touchscreen-begin` we return (event--posn-at-point).
> What am I missing?
>
>
> Stefan
That's simply an omission on my fault, which I apologize for. I'll fix
it ASAP.
- Re: feature/android a496509ced 1/2: Update Android port, Stefan Monnier, 2023/08/16
- Re: feature/android a496509ced 1/2: Update Android port, Po Lu, 2023/08/16
- Re: feature/android a496509ced 1/2: Update Android port, Stefan Monnier, 2023/08/16
- Re: feature/android a496509ced 1/2: Update Android port, Po Lu, 2023/08/16
- Re: feature/android a496509ced 1/2: Update Android port, Stefan Monnier, 2023/08/16
- Re: feature/android a496509ced 1/2: Update Android port, Po Lu, 2023/08/16
- Re: feature/android a496509ced 1/2: Update Android port, Stefan Monnier, 2023/08/16
- Re: feature/android a496509ced 1/2: Update Android port,
Po Lu <=
- Re: feature/android a496509ced 1/2: Update Android port, Stefan Monnier, 2023/08/16