all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xah@xahlee.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs 22: bind keymappings with cyrrilics to corresponding latin keymappings?
Date: Sun, 28 Oct 2007 11:02:21 -0700	[thread overview]
Message-ID: <1193594541.400435.216580@z24g2000prh.googlegroups.com> (raw)
In-Reply-To: <1193581781.070428.213270@o80g2000hse.googlegroups.com>

i'm thinking that at most you just have to do about 26x2=52 lines of
keymap code?

i.e.

(global-set-key (kbd "C-Þ C-Á") 'find-file)
(global-set-key (kbd "C-Ì") 'kill-line)
...

i don't know if there's a easy systematic way... but i'm guessing
manually doing the above is probably easier than hacking up a
systematic way...

as you migt know, C-h k lets you find out the command of a given
shortcut.
C-h f tells you the shortcuts of a given command.

The following might be convenient:

• Emacs's Keybinding Layout
http://xahlee.org/emacs/emacs_kb_shortcuts.html

• How to Define Keyboard Shortcuts in Emacs
http://xahlee.org/emacs/keyboard_shortcuts.html

  Xah
  xah@xahlee.org
∑ http://xahlee.org/

On Oct 28, 7:29 am, "cmr.P...@gmail.com" <cmr.P...@gmail.com> wrote:
> Hello!
>
> I enjoy Emacs 22.1 under Debian. My locale is UTF-8, and I use qwerty/
> ÊÃÕËÅÎ keyboard layouts.
>
> Recently I began to feel irritated that Emacs ignores keymappings when
> I am at cyrrilic layout. For example, I enter some russian text in say
> LaTeX mode and want to refill paragraph. So I need to switch to latin
> layout, hit M-q, and switch back to continue typing. If I just hit M-q
> while at cyrrilic layout, Emacs says she doesn't know how to handle M-
> Ê. Well, that has logic, but slows me down big time.
>
> Is there a way to map *all* the [latin] keymappings to corresponding
> "cyrrilic" ones, so C-Þ-C-Á is C-x-C-f, C-Ì is C-k and so on? Any help
> greatly appreciated.
>
> Andrey

  reply	other threads:[~2007-10-28 18:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28 14:29 Emacs 22: bind keymappings with cyrrilics to corresponding latin keymappings? cmr.Pent
2007-10-28 18:02 ` Xah Lee [this message]
2007-10-28 18:20 ` Oleg Katsitadze
     [not found] ` <mailman.2680.1193595620.18990.help-gnu-emacs@gnu.org>
2007-10-28 18:59   ` cmr.Pent
2007-10-28 19:06     ` cmr.Pent
2007-10-28 21:50       ` Peter Dyballa

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1193594541.400435.216580@z24g2000prh.googlegroups.com \
    --to=xah@xahlee.org \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.