I was wondering if there is an inverse function (kbd) that I could use to get a meaningful description from the key code, for example Cb from 2 .
Normally (format "%c" x) works, but not for the previous example, as well as for many others, since key bindings, especially to Emacs, are often more complicated than a single character, and even when they really are a single character, they can be space or tab.
It seems that the documentation functions use the (describe-buffer-bindings) function, which is written in C and therefore immutable, and I would like to avoid this route, if possible, and manipulate the data in my path to provide more interesting functions.
konr
source share