GNU bug report logs - #22163
Feature request: Add support for key release event

Previous Next

Package: emacs;

Reported by: Simon Friis Vindum <simonfv <at> gmail.com>

Date: Sun, 13 Dec 2015 17:51:02 UTC

Severity: wishlist

Full log


Message #8 received at 22163 <at> debbugs.gnu.org (full text, mbox):

From: John Wiegley <jwiegley <at> gmail.com>
To: Simon Friis Vindum <simonfv <at> gmail.com>
Cc: 22163 <at> debbugs.gnu.org
Subject: Re: bug#22163: Feature request: Add support for key release event
Date: Mon, 14 Dec 2015 14:17:06 -0800
>>>>> Simon Friis Vindum <simonfv <at> 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




This bug report was last modified 9 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.