unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to determine what command a key bind to?
@ 2006-02-11 13:08 wensa
  2006-02-11 13:48 ` Albert Reiner
  2006-02-11 14:12 ` Mark T.B. Carroll
  0 siblings, 2 replies; 3+ messages in thread
From: wensa @ 2006-02-11 13:08 UTC (permalink / raw)


I want to find out some key sequences such as M-tab bind to which
command, how to?

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

* Re: How to determine what command a key bind to?
  2006-02-11 13:08 How to determine what command a key bind to? wensa
@ 2006-02-11 13:48 ` Albert Reiner
  2006-02-11 14:12 ` Mark T.B. Carroll
  1 sibling, 0 replies; 3+ messages in thread
From: Albert Reiner @ 2006-02-11 13:48 UTC (permalink / raw)


["wensa" <zhengwt@gmail.com>, 11 Feb 2006 05:08:38 -0800]:
> I want to find out some key sequences such as M-tab bind to which
> command, how to?

If I understand you correctly, C-h k (or M-x describe-key) will do
that.  For example:

,----[ C-h k ESC TAB ]
| ESC TAB runs the command ispell-complete-word
|    which is an interactive autoloaded Lisp function in `ispell'.
| [Arg list not available until function definition is loaded.]
| 
| Try to complete the word before or under point (see `lookup-words')
| If optional INTERIOR-FRAG is non-nil then the word may be a character
| sequence inside of a word.
| 
| Standard ispell choices are then available.
`----

HTH,

Albert.

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

* Re: How to determine what command a key bind to?
  2006-02-11 13:08 How to determine what command a key bind to? wensa
  2006-02-11 13:48 ` Albert Reiner
@ 2006-02-11 14:12 ` Mark T.B. Carroll
  1 sibling, 0 replies; 3+ messages in thread
From: Mark T.B. Carroll @ 2006-02-11 14:12 UTC (permalink / raw)


"wensa" <zhengwt@gmail.com> writes:

> I want to find out some key sequences such as M-tab bind to which
> command, how to?

Does C-h k <key> do what you want?
C-h m might also be of interest.

-- Mark

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

end of thread, other threads:[~2006-02-11 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-11 13:08 How to determine what command a key bind to? wensa
2006-02-11 13:48 ` Albert Reiner
2006-02-11 14:12 ` Mark T.B. Carroll

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