unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to do reverse lookup in function-key-map?
@ 2005-08-12 22:52 Kevin Rodgers
  0 siblings, 0 replies; only message in thread
From: Kevin Rodgers @ 2005-08-12 22:52 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-12 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12 22:52 how to do reverse lookup in function-key-map? Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).