I am migrating from GNU/Linux to Mac. I am using an MS Windows numeric keyboard (Logitech K200), and I cannot seem to map the keypad keys (kp-N
) into anything (I had been doing that using global-set-key
in my .emacs
).
When I run describe-key
and press a key I see it gets translated to the related number key, e.g. describe-key
then press kp-5
yields: 5 (translated from <kp-5>) runs the command Custom-no-edit...
.
Similarly for Ctrl-/Meta-/Shift-. Adding e.g. (global-set-key <C-kp-5> 'goto-line)
to my .emacs
does not change anything that I can see, so I assume the translation is happening before the key mapping.
How can I disable the translation of all the kp-
Ns so I can redfine them using global-set-key
?