How can I find out what escape sequence is bound to a function key?

For example, xterm.el binds `ESC [ A' to <up>, and while running
`emacs -nw -q --no-site-file`:

(lookup-key function-key-map "\e[A") ==> [up]
(lookup-key function-key-map "\eOA") ==> [up]

But the inverse lookup doesn't work:

(where-is-internal 'up function-key-map) => nil
(where-is-internal [up] function-key-map) => nil

And `<up> C-h l' shows: ESC O A

--
Kevin Rodgers



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to