From: <tomas@tuxteam.de>
To: Max Nikulin <manikulin@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Keybindings and changing keyboard layout [was: Writting Greek in Emacs]
Date: Tue, 24 Sep 2024 16:10:30 +0200 [thread overview]
Message-ID: <ZvLIVo8v4ixmZMBp@tuxteam.de> (raw)
In-Reply-To: <vctepl$55i$1@ciao.gmane.io>
[-- Attachment #1: Type: text/plain, Size: 2282 bytes --]
On Tue, Sep 24, 2024 at 11:22:12AM +0700, Max Nikulin wrote:
> On 23/09/2024 12:54, tomas@tuxteam.de wrote:
[...]
> A similar problem exists in Vim as well. It has its own "keyboard layout"
> switch C-^ (:set keymap), :set langmap to alleviate the issue with
> alternative layout active at the XKB layer, and various tricks to change XKB
> layout on switch from insert to normal mode
> <https://github.com/lyokha/vim-xkbswitch>
>
> My perception is that heavy usage of modifiers and multikey bindings in
> Emacs outweighs necessity to escape from insert mode in Vim, so switching
> keyboard for any command is more annoying.
:-)
I share your perception: it weighs more. But currently, to me, swithching
the layout feels the least ugly alternative. Input strategy changes, and
tends to batch command actions while typing.
> On 21/09/2024 12:40, tomas@tuxteam.de wrote:
> > Surprisingly, some applications seem to magically "cope" in some way. In
> > Firefox, CTRL-τ opens a new tab (as CTRL-t would do under a Latin layout).
> > But this doesn't really count: Firefox has just a few useful keybindings
> > and the whole model actually discourages using them, while Emacs has
> > a very rich set of bindings which is at the core of its user interaction.
>
> Most of applications, including Firefox, use Alt+something to access menus
> and accelerator keys for selecting menu items. It requires switching
> keyboard layout to match application locale and it is pain. Only some
> hotkeys work with both keyboard layouts.
Cοntrol sequences /sometimes/ work in the browser [1] and sometimes not
(which is what I've come to expect from that kind of application:
inconsistency keeps users humble). For example, C-w to close a tab (which
would be C-ς in the Greek layout) works, whereas C-q (Greek layout: C-;)
to close the whole frame doesn't.
Of note is that C-q doesn't work on Windows at all (and whines a lot on
Linux [2]), so perhaps we are seeing through several archeological UI
layers. But perhaps there's just someone editing C- mappings for every
possible keyboard layout under the sun and has forgotten that one.
Cheers
[1] browser == firefox, current Debian stable
[2] You sure you want to close me? Oooooh!
--
t
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2024-09-24 14:10 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-19 14:43 Writting Greek in Emacs Thanos Apollo
2024-09-19 14:57 ` Greg Farough
2024-09-19 16:12 ` Thanos Apollo
2024-09-19 16:49 ` Greg Farough
2024-09-19 16:19 ` Eli Zaretskii
2024-09-19 16:32 ` Thanos Apollo
2024-09-19 16:42 ` Robert Pluim
2024-09-19 16:44 ` Eli Zaretskii
2024-09-19 17:05 ` Thanos Apollo
2024-09-19 17:44 ` Eli Zaretskii
2024-09-19 18:06 ` Thanos Apollo
2024-09-19 18:27 ` Eli Zaretskii
2024-09-19 19:04 ` Thanos Apollo
2024-09-20 5:56 ` Eli Zaretskii
2024-09-19 18:03 ` Visuwesh
2024-09-19 18:13 ` Visuwesh
2024-09-19 19:03 ` Thanos Apollo
2024-09-19 18:07 ` Eli Zaretskii
2024-09-19 19:02 ` Thanos Apollo
2024-09-20 5:55 ` Eli Zaretskii
2024-09-20 9:18 ` Thanos Apollo
2024-09-20 9:47 ` Emanuel Berg
2024-09-20 10:40 ` Eli Zaretskii
2024-09-20 11:16 ` Thanos Apollo
2024-09-20 12:24 ` Thanos Apollo
2024-09-20 12:39 ` Robert Pluim
2024-09-20 12:55 ` Thanos Apollo
2024-09-20 13:41 ` Robert Pluim
2024-09-20 13:35 ` Eli Zaretskii
2024-09-20 13:54 ` Thanos Apollo
2024-09-20 14:48 ` Emanuel Berg
2024-09-20 22:00 ` Thanos Apollo
2024-09-21 8:19 ` Eli Zaretskii
2024-09-21 15:31 ` Emanuel Berg
2024-09-20 14:23 ` Max Nikulin
2024-09-20 23:53 ` Thanos Apollo
2024-09-21 5:40 ` Keybindings and changing keyboard layout [was: Writting Greek in Emacs] tomas
2024-09-21 17:55 ` Juri Linkov
2024-09-22 6:47 ` tomas
2024-09-22 11:29 ` Max Nikulin
2024-09-23 5:54 ` tomas
2024-09-24 4:22 ` Max Nikulin
2024-09-24 14:10 ` tomas [this message]
2024-09-21 8:23 ` Writting Greek in Emacs Eli Zaretskii
2024-09-23 3:28 ` Max Nikulin
2024-09-23 14:02 ` Thanos Apollo
2024-09-24 3:53 ` Max Nikulin
2024-09-24 14:37 ` Thanos Apollo
2024-09-24 13:54 ` tomas
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZvLIVo8v4ixmZMBp@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=emacs-devel@gnu.org \
--cc=manikulin@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).