all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.