[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keybindings in non-Latin layout
From: |
Juri Linkov |
Subject: |
Re: Keybindings in non-Latin layout |
Date: |
Tue, 05 May 2009 02:57:08 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (x86_64-pc-linux-gnu) |
>> This is possible with the following patch:
>> http://thread.gmane.org/gmane.emacs.devel/46455/focus=46602
>
> I've read the thread you pointed out, and the fact that devs consider the
> current GNU Emacs behavior a bug gives some hope. From the discussion I
> understand that the patch doesn't solve the problem completely, i.e. C-x b
> won't
> work in Russian layout anyway.
As you already noticed `C-x b' won't work, and a Mozilla-like patch
won't help with a single characters like `b' in a key sequence.
Now I see one way to fix this problem. What if we would define
a parallel branch in a keymap where every defined key sequence
has a copy translated according to a conversion table.
So, for example, a define-key call:
(define-key global-map [(control ?x) ?b] 'switch-to-buffer)
would also define [(control ?ч) ?и] with the same binding
in the same keymap as if it were defined explicitly with:
(define-key global-map [(control ?ч) ?и] 'switch-to-buffer)
--
Juri Linkov
http://www.jurta.org/emacs/
- Keybindings in non-Latin layout, Андрей Парамонов, 2009/05/02
- Re: Keybindings in non-Latin layout,
Juri Linkov <=
- Re: Keybindings in non-Latin layout, Miles Bader, 2009/05/04
- Re: Keybindings in non-Latin layout, Stefan Monnier, 2009/05/05
- Re: Keybindings in non-Latin layout, Samuel Bronson, 2009/05/05
- Re: Keybindings in non-Latin layout, Andrey Paramonov, 2009/05/05
- Re: Keybindings in non-Latin layout, Lennart Borgman, 2009/05/05
- Re: Keybindings in non-Latin layout, James Cloos, 2009/05/06
- Re: Keybindings in non-Latin layout, Andrey Paramonov, 2009/05/06
- Re: Keybindings in non-Latin layout, Juri Linkov, 2009/05/05