all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Wiegley <jwiegley@gmail.com>
To: Simon Friis Vindum <simonfv@gmail.com>
Cc: 22163@debbugs.gnu.org
Subject: bug#22163: Feature request: Add support for key release event
Date: Mon, 14 Dec 2015 14:17:06 -0800	[thread overview]
Message-ID: <m2io40ekv1.fsf@newartisans.com> (raw)
In-Reply-To: <CAGqLG_vE72KiBeUMbN8LMsokx9az1i4krzG=YyAQ0VozEyz6dg@mail.gmail.com> (Simon Friis Vindum's message of "Sun, 13 Dec 2015 09:58:07 +0100")

>>>>> Simon Friis Vindum <simonfv@gmail.com> writes:

> It should be possible to bind functions to the _release_ of a key.

Those who understand the fundamentals of event handling would know better, but
doing this right could be a rather invasive change. For example: Should
`read-event' return once a key is pressed down; or should it wait until the
key has been released, and then also give both the press-down and release
times? At the moment, it just notifies the user of the key?

Because once you have sensitive to "length of press", I imagine that's just
the start of additional information you'd want about events and how they
relate in time to each other...

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2





  reply	other threads:[~2015-12-14 22:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-13  8:58 bug#22163: Feature request: Add support for key release event Simon Friis Vindum
2015-12-14 22:17 ` John Wiegley [this message]
2015-12-15 20:15 ` Simon Friis Vindum
2015-12-15 20:27   ` John Wiegley

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=m2io40ekv1.fsf@newartisans.com \
    --to=jwiegley@gmail.com \
    --cc=22163@debbugs.gnu.org \
    --cc=simonfv@gmail.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.