unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* keystroke command
@ 2009-01-14 12:46 moueza
  2009-01-14 13:02 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: moueza @ 2009-01-14 12:46 UTC (permalink / raw)
  To: Help-gnu-emacs


hi,
I ve seen, to konw a command associated to a keystroke-sequence, we must do
ESC ?k
But it's undefined on my emacs:  "M-% is undefined"
So what is the M-x minibuffer equivalent command for ESC ?k  ?
-- 
View this message in context: http://www.nabble.com/keystroke-command-tp21455246p21455246.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





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

* Re: keystroke command
  2009-01-14 12:46 keystroke command moueza
@ 2009-01-14 13:02 ` Tassilo Horn
  0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2009-01-14 13:02 UTC (permalink / raw)
  To: help-gnu-emacs

moueza <mouezapeter@gmail.com> writes:

Hi,

> I ve seen, to konw a command associated to a keystroke-sequence, we
> must do ESC ?k

No, it's `C-h k'.

> So what is the M-x minibuffer equivalent command for ESC ?k ?

You mean the command which is called by `C-h k'?

,----[ C-h k C-h k ]
| C-h k runs the command describe-key, which is an interactive compiled Lisp
| function in `help.el'.
| 
| It is bound to C-h k, <f1> k, <help> k, <menu-bar> <help-menu> <describe>
| <describe-key-1>.
| 
| (describe-key &optional key untranslated up-event)
| 
| Display documentation of the function invoked by key.
| key can be any kind of a key sequence; it can include keyboard events,
| mouse events, and/or menu events.  When calling from a program,
| pass key as a string or a vector.
| 
| If non-nil, untranslated is a vector of the corresponding untranslated events.
| It can also be a number, in which case the untranslated events from
| the last key sequence entered are used.
| up-event is the up-event that was discarded by reading key, or nil.
| 
| If key is a menu item or a tool-bar button that is disabled, this command
| temporarily enables it to allow getting help on disabled items and buttons.
`----

Bye,
Tassilo
-- 
          "Emacs is not a development tool but a way of life."
                - David Kastrup in alt.religion.emacs -





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

end of thread, other threads:[~2009-01-14 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14 12:46 keystroke command moueza
2009-01-14 13:02 ` Tassilo Horn

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