[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9751: 23.3; Alternative Keyboard Feature/Bug
From: |
Juri Linkov |
Subject: |
bug#9751: 23.3; Alternative Keyboard Feature/Bug |
Date: |
Sat, 22 Oct 2011 18:36:54 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) |
>> I can't find a way to translate keys on a per-mode basis
>> in modes where single keys are bound to non-self-inserting commands.
>
> Well, if you really have to, you can do it with something like:
>
> (define-key function-key-map [β]
> (lambda (_prompt) (if (derived-mode-p 'dired-mode) [?a] [?b])))
>
> but I wonder in which circumstance you'd want to do that.
The problem common to Greek and Cyrillic is how to configure
keybindings in such a way that single characters bound to
`self-insert-command' remained untranslated as they are typed
with a non-English system input method, but to translate
single characters to English letters when they are bound
to other Emacs commands (like `v' in Dired mode)
that would allow to run commands bound to them.
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, (continued)
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Nikos Pitsianis, 2011/10/14
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Eli Zaretskii, 2011/10/14
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Nikos Pitsianis, 2011/10/14
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/14
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Juri Linkov, 2011/10/19
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/19
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Juri Linkov, 2011/10/20
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/20
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Juri Linkov, 2011/10/21
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/21
- bug#9751: 23.3; Alternative Keyboard Feature/Bug,
Juri Linkov <=
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/23
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Andreas Schwab, 2011/10/23
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/23
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Juri Linkov, 2011/10/24
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/24
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Juri Linkov, 2011/10/24
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/24
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Juri Linkov, 2011/10/24
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Stefan Monnier, 2011/10/24
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Juri Linkov, 2011/10/25