[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: |
Thu, 20 Oct 2011 03:12:31 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) |
>> What is the way in emacs to alias Ctr-chi to Ctr-x ?
>
> I'd do it in input-decode-map:
>
> (define-key input-decode-map [?\C-χ] [?\C-x])
> (define-key input-decode-map [?\C-ψ] [?\C-s])
The problem is that this method doesn't work for self-inserting characters,
i.e. to be able to handle keybindings that contain characters without
modifiers like e.g. `C-x b' we can't use
(define-key input-decode-map [?β] [?b])
because it will translate all plain self-inserting characters,
and this is not desirable.
So users have to bother about rebinding all keybindings individually like
(define-key input-decode-map [?\C-χ ?β] [?\C-x ?b])
...
I have no idea how to cover all keybindings automatically.
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Nikos Pitsianis, 2011/10/14
- bug#9751: 23.3; Alternative Keyboard Feature/Bug, Juanma Barranquero, 2011/10/14
- 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 <=
- 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, 2011/10/22
- 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