help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs 22: bind keymappings with cyrrilics to corresponding latin key


From: Xah Lee
Subject: Re: Emacs 22: bind keymappings with cyrrilics to corresponding latin keymappings?
Date: Sun, 28 Oct 2007 11:02:21 -0700
User-agent: G2/1.0

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
  address@hidden
∑ http://xahlee.org/

On Oct 28, 7:29 am, "address@hidden" <address@hidden> 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 via email to

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