[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature/android a496509ced 1/2: Update Android port
From: |
Stefan Monnier |
Subject: |
Re: feature/android a496509ced 1/2: Update Android port |
Date: |
Wed, 16 Aug 2023 11:03:34 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> 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
- 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 <=
- 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