unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* pp-keymap?
@ 2007-09-01 22:40 Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2007-09-01 22:40 UTC (permalink / raw)
  To: Help-Gnu-Emacs

Anyone have or know of a function that will pretty-print a keymap, that is,
show the keys in user-friendly fashion rather than as character codes and
such?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pp-keymap?
       [not found] <mailman.142.1188686529.18990.help-gnu-emacs@gnu.org>
@ 2007-09-01 23:12 ` Johan Bockgård
  2007-09-02 13:27   ` pp-keymap? Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2007-09-01 23:12 UTC (permalink / raw)
  To: help-gnu-emacs

"Drew Adams" <drew.adams@oracle.com> writes:

> Anyone have or know of a function that will pretty-print a keymap, that is,
> show the keys in user-friendly fashion rather than as character codes and
> such?

(substitute-command-keys "\\{FOO-MAP}")

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: pp-keymap?
  2007-09-01 23:12 ` pp-keymap? Johan Bockgård
@ 2007-09-02 13:27   ` Drew Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2007-09-02 13:27 UTC (permalink / raw)
  To: help-gnu-emacs

> > Anyone have or know of a function that will pretty-print a 
> > keymap, that is, show the keys in user-friendly fashion
> > rather than as character codes and such?
> 
> (substitute-command-keys "\\{FOO-MAP}")

Right. Sorry, I wasn't clear. What I meant was to show the keymap tree structure, as in (pp-eval-expression some-map), but with the key codes substituted.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-02 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.142.1188686529.18990.help-gnu-emacs@gnu.org>
2007-09-01 23:12 ` pp-keymap? Johan Bockgård
2007-09-02 13:27   ` pp-keymap? Drew Adams
2007-09-01 22:40 pp-keymap? Drew Adams

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).