emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding on-key-up event


From: Ag Ibragimov
Subject: Re: Regarding on-key-up event
Date: Fri, 03 Feb 2023 13:25:53 -0600

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Ag Ibragimov <agzam.ibragimov@gmail.com>
>> Date: Fri, 03 Feb 2023 11:31:46 -0600
>> 
>> 
>> Can someone please point to articles of some sort, or discussions on why
>> Emacs does not support on-key-up event and only recognizes when a
>> key is pressed.
>
> I don't think I understand the question.  Emacs produces a key event
> when a key was pressed and then released.  So technically, we already
> have an "on-key-up" event.

But you can't register "on-release" event, right? That makes for example
difficult to implement UX similar to an app switcher in a desktop
manager - Alt+Tab. Where as long you keep holding Alt, pressing Tab
performs an action, but releasing Alt-key gets you out. Or even
something much simpler, like temporarily increasing the font-size while you
hold the key.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]