From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: keystroke command
Date: Wed, 14 Jan 2009 14:02:59 +0100 [thread overview]
Message-ID: <878wpeyr98.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 21455246.post@talk.nabble.com
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 -
prev parent reply other threads:[~2009-01-14 13:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 12:46 keystroke command moueza
2009-01-14 13:02 ` Tassilo Horn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878wpeyr98.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).