[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keystroke command

From: Tassilo Horn
Subject: Re: keystroke command
Date: Wed, 14 Jan 2009 14:02:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

moueza <address@hidden> writes:


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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]