From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Koning <dk@danielkoning.com>
Cc: 43379@debbugs.gnu.org
Subject: bug#43379: [PATCH] Double-click events can occur without preceding single-click events
Date: Sun, 13 Sep 2020 20:30:26 +0300 [thread overview]
Message-ID: <83imchbn4d.fsf@gnu.org> (raw)
In-Reply-To: <m2imchwr1h.fsf@danielkoning.com> (message from Daniel Koning on Sun, 13 Sep 2020 12:00:10 -0500)
> From: Daniel Koning <dk@danielkoning.com>
> Date: Sun, 13 Sep 2020 12:00:10 -0500
>
> ++++
> +** Repeat events are now produced only when the modifier keys are the same.
What will this do if the modifier key is "simulated" using "C-x @"?
More generally, for a change this deep and wide, I'd like to
understand better what exactly are the problems being solved, and also
how can we be sure (by testing or otherwise) we are not getting
regressions in some use cases. Could you please clarify that?
> +Before, when the user pressed the same mouse button repeatedly within
> +the bounds specified by 'double-click-fuzz' and 'double-click-time',
> +it always produced a 'double-' or 'triple-' event, even if the user
> +was holding down modifier keys on one click and not another. This
> +meant that it was possible for Emacs to read a double-click event
> +without reading the same kind of single-click event first. Emacs now
> +looks at modifier keys to determine if a mouse event is a repeat.
Beyond theoretical (un)cleanliness, what other practical problems did
you find with the current code and fix in these patches?
> This variable is also the threshold for motion of the mouse to count
> -as a drag.
> +as a drag. (But if the mouse moves from one screen position to
> +another while the button is held down, it always counts as a drag, no
> +matter the value of @code{double-click-fuzz}.)
Isn't this an incompatible change?
Thanks.
next prev parent reply other threads:[~2020-09-13 17:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-13 17:00 bug#43379: [PATCH] Double-click events can occur without preceding single-click events Daniel Koning
2020-09-13 17:30 ` Eli Zaretskii [this message]
2020-09-13 20:20 ` Daniel Koning
2021-07-21 12:45 ` Lars Ingebrigtsen
2021-11-12 8:22 ` Lars Ingebrigtsen
2021-12-23 10:32 ` Lars Ingebrigtsen
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=83imchbn4d.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=43379@debbugs.gnu.org \
--cc=dk@danielkoning.com \
/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.