emacs-devel
[Top][All Lists]
Advanced

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

Re: Physical keyboard events


From: Max Nikulin
Subject: Re: Physical keyboard events
Date: Wed, 30 Oct 2024 09:56:30 +0700
User-agent: Mozilla Thunderbird

On 30/10/2024 00:46, Eli Zaretskii wrote:
From: Yuri Khan Date: Tue, 29 Oct 2024 23:55:49 +0700
When I’m switched to a layout where the ‘a’ key produces an ‘ф’
character, or an ‘α’, or a ち, I’d still want Ctrl+this key to behave
as C-a.

Yes, but you want that _only_ for keys with modifiers.  Which is not
what will happen.  Some feature...

Not *for key with modifiers*, but during lookup in keymaps. There are enough keybindings that include keys without modifiers. It is a recurring confusion that appears in every discussion of related bugs and in mailing list threads, e.g.
<https://debbugs.gnu.org/43830>
"keyboard layout handling incompatible with rest of the OS"
Perhaps it is impossible to achieve in terminal frames.

Modifier-only gestures sounds like a different feature though.

Cecilio, in the case of severe resistance you may consider another approach: sniff keyboard events at lower level (xinput2? IBus plugin?) by a dedicated daemon and emit D-Bus events that may be interpreted by Emacs (and other applications). The bonus is support of Emacs frames inside terminal applications. Isolation of applications in Wayland may be a trouble, but perhaps some compositors support configurable gestures out of the box.




reply via email to

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