GNU bug report logs - #79352
30.2; key release events handling

Previous Next

Package: emacs;

Reported by: Yurii Pytomets <pitometsu <at> gmail.com>

Date: Sun, 31 Aug 2025 02:42:02 UTC

Severity: normal

Merged with 74423

Found in version 30.2

To reply to this bug, email your comments to 79352 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#79352; Package emacs. (Sun, 31 Aug 2025 02:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yurii Pytomets <pitometsu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 31 Aug 2025 02:42:02 GMT) Full text and rfc822 format available.

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

From: Yurii Pytomets <pitometsu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.2; key release events handling
Date: Sun, 31 Aug 2025 05:40:50 +0300
Hello!

It's a feature request.

As a user, I want to be able to set up not only a key press, but a key
release event.

How can it be useful?
- according to Jeff Raskin, modes are evil and so any keyboard
prefixes or modes must be forgotten, since the modifier was released:
don't push the user to track in mind UX-related things principle.
So it's enough to map the (keyboard-quit) on any modifier key release
for the prefix hotkeys.
- it's possible to start the key input repeatedly, e.g. by pressing it
2-3 times and holding it, so repeating action would start immediately
and you would be sure about the speed of repeating: don't force the
user to wait (no timeout required) principle.

How can it be achieved technically?
AFAIK X/Wayland already supports key release events.  For the terminal
version, there's https://sw.kovidgoyal.net/kitty/keyboard-protocol/
which AFAIK could manage key release events as well for the compatible
terminals.  So the only thing is to forward that possibility to the
user to let them hook a demanded behavior.


EMACS already is pretty close to having a pretty UX, so let's
incorporate modern keyboard layer abilities to make it perfect!


-- 
With best regards,
Yuriy Pitomets




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79352; Package emacs. (Sun, 31 Aug 2025 05:40:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yurii Pytomets <pitometsu <at> gmail.com>
Cc: 79352 <at> debbugs.gnu.org
Subject: Re: bug#79352: 30.2; key release events handling
Date: Sun, 31 Aug 2025 08:39:37 +0300
forcemerge 79352 74423
thanks

> From: Yurii Pytomets <pitometsu <at> gmail.com>
> Date: Sun, 31 Aug 2025 05:40:50 +0300
> 
> As a user, I want to be able to set up not only a key press, but a key
> release event.

Someone is working on adding low-level keyboard events to Emacs.  When
that work is done, you will have what you want.  See bug#74423, where
this enhancement is discussed.

Thanks.




Forcibly Merged 74423 79352. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 31 Aug 2025 05:40:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79352; Package emacs. (Sun, 31 Aug 2025 05:48:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yurii Pytomets <pitometsu <at> gmail.com>
Cc: 79352 <at> debbugs.gnu.org
Subject: Re: bug#79352: 30.2; key release events handling
Date: Sun, 31 Aug 2025 08:47:49 +0300
[Please always use Reply to All to reply.]

> From: Yurii Pytomets <pitometsu <at> gmail.com>
> Date: Sun, 31 Aug 2025 08:41:48 +0300
> 
> Appreciate your feedback, thank you for pointing this out! <3




This bug report was last modified 5 days ago.

Previous Next


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