unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: emacs-devel@gnu.org
Subject: Keybindings and changing keyboard layout [was: Writting Greek in Emacs]
Date: Sat, 21 Sep 2024 07:40:50 +0200	[thread overview]
Message-ID: <Zu5cYnLc3jksiRBh@tuxteam.de> (raw)
In-Reply-To: <87zfo1khkd.fsf@thanosapollo.org>

[-- Attachment #1: Type: text/plain, Size: 2253 bytes --]

On Sat, Sep 21, 2024 at 02:53:54AM +0300, Thanos Apollo wrote:
> Max Nikulin <manikulin@gmail.com> writes:
> 
> > As to input method using modifier keys, it might lead to conflicts with 
> > default key bindings for some commands.
> 
> Yes, when I write in Greek I do not have access to emacs keybindings
> (C-b etc).

Yes, this is somewhat annoying, but I haven't yet a good idea on how
to cope with that.

I like to change the keyboard layout at the X level, since then I can
also type in Greek into a terminal or into a (gasp!) browser, and the
keyboard layout stays consistent.

But Emacs (rightfully) balks at me that CTRL-β is a funny control sequence.

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.

Given the very dense keybindings in Emacs, this seems like a daunting
task: I even guess it has some ugly fuzzy borders: just blindly going
by "places" in the keyboard brings up issues like CTRL-Z and CTRL-Y
being switched for German layouts, and Germans would expect those bindings
to "move" with the key labels instead of following "geometry". Likewise
for French ("A" "Z" where usually "Q" and "W" are, etc).

So the "problem" seems to be ill-defined and lots of careful thinking
and tinkering needed to come up with a useful solution.

>   That's why I would like to implement a new greek input
> method in emacs.  It is even harder to use & configure Greek in emacs in
> different OS, depending on how emacs was installed.

I actually want to change the keyboard layout at the X level (read: the
"OS", but that would be a lie, because I haven't yet looked at the
Linux terminal), for the above reasons.

> (I'm not familiar with other OS outside of the GNU ecosystem, but this
> is what colleagues of mine claimed).

I guess "there is no magic". I haven't yet a 100% satisfying approach.

But I'd like to know whether/if people have come up with ideas :)

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2024-09-21  5:40 UTC|newest]

Thread overview: 37+ 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-20 14:23 ` Max Nikulin
2024-09-20 23:53   ` Thanos Apollo
2024-09-21  5:40     ` tomas [this message]
2024-09-21  8:23     ` Eli Zaretskii

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=Zu5cYnLc3jksiRBh@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=emacs-devel@gnu.org \
    /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).