Questions tagged [key-translation-map]
7 questions
4
votes
1 answer
How can I prevent/override key translation behavior such as: µ (translated from A-m) runs the command self-insert-command
I've bound a command to A-m, however some package that I load seems to modify input translation maps (input-decode-map, local-function-key-map, function-key-map, key-translation-map) that interfere with my intended behavior for the key, which is to…

aculich
- 326
- 1
- 7
2
votes
0 answers
Inconsistency between read-key and read-key-sequence-vector w.r.t. conditional application of local-function-key-map translations
While working with read-key-sequence-vector and read-key, I found that the former applies the local-function-key-map translations in a conditional manner but the latter does not. I am using Emacs 28.1 on a macOS system.
The function…

Susam Pal
- 161
- 5
2
votes
1 answer
How do I remove the key translation for function keys with modifiers?
I would like to bind the dedicated function keys (F1 through F10) using the standard modifier key, e.g. (define-key my-keymap (kbd "") #'my-function). However, this and similar keybindings have no effect.
describe-key reports: "…

Tom Davey
- 88
- 5
1
vote
0 answers
Stop translating M- commands to lower case?
In order to for me to be able to use meta + shift + v as a keybinding, I have to tell emacs to pass (kbd "M-V") to global-set-key - if I try and use (kbd "M-S-v") then this ignored, and when I do describe-key for "M-S-v" it says M-v (translated from…

John Graham
- 23
- 3
1
vote
1 answer
Trouble aliasing ctl-x-map, C-x 8 insert command?
I'm reading the beginning of the Emacs manual on inserting text. It says you can run C-x 8 [ to insert a left single curly quote. That works.
In my init.el I have this:
(define-key global-map [(control t)] ctl-x-map)
I like that because I use a…

Rob N
- 547
- 2
- 12
0
votes
1 answer
How to translate C-i to F8
I have tried the following:
(keyboard-translate ?\C-I (kbd ""))
(keyboard-translate ?\C-I [(f8)])
The representation of F8 key is wrong.

godblessfq
- 1,177
- 8
- 21
0
votes
1 answer
how to exchange ESC with C-g in spacemacs
I used C-g to cancel operation in spacemacs, but feel ESC is a better way than C-g. I tried the following, but not work, spacemacs will report issue when startup:
(define-key key-translation-map (kbd "ESC") (kbd "C-g"))
is there any way to exchange…

qbai
- 13
- 3