[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
key-translation-map not taken into account?
From: |
Alan Schmitt |
Subject: |
key-translation-map not taken into account? |
Date: |
Fri, 05 Jun 2015 11:45:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
Hello,
I have configured my f19 key to act as an apps key:
#+begin_src emacs-lisp
(define-key key-translation-map (kbd "<f19>") (kbd "<apps>"))
#+end_src
It works great and I can bind it to many things. Unfortunately, there is
one thing I don't know how to do: how to use this key to input another
binding. I thought the following would work:
#+begin_src emacs-lisp
(define-key key-translation-map (kbd "<apps> d") (kbd "C-c"))
#+end_src
but when I try to see if it gets translated, I see that it does not:
,----
| <apps> d (translated from <f19> d) is undefined
`----
Is there a way to make this work?
Thanks,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
signature.asc
Description: PGP signature
- key-translation-map not taken into account?,
Alan Schmitt <=