From: Po Lu <luangruo@yahoo.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: feature/android a496509ced 1/2: Update Android port
Date: Thu, 17 Aug 2023 08:30:35 +0800 [thread overview]
Message-ID: <87cyzmik7o.fsf@yahoo.com> (raw)
In-Reply-To: <jwv1qg3jakg.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 16 Aug 2023 11:03:34 -0400")
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.
next prev parent reply other threads:[~2023-08-17 0:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <167413804086.19235.17391196197706660128@vcs2.savannah.gnu.org>
[not found] ` <20230119142043.05B19C00613@vcs2.savannah.gnu.org>
2023-08-16 12:12 ` feature/android a496509ced 1/2: Update Android port Stefan Monnier
2023-08-16 12:21 ` Po Lu
2023-08-16 12:35 ` Stefan Monnier
2023-08-16 12:41 ` Po Lu
2023-08-16 13:44 ` Stefan Monnier
2023-08-16 14:15 ` Po Lu
2023-08-16 15:03 ` Stefan Monnier
2023-08-17 0:30 ` Po Lu [this message]
2023-08-17 3:02 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cyzmik7o.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.