all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Calling describe-key within el file
@ 2020-10-05 19:08 Christopher Dimech
  2020-10-05 19:13 ` Gregory Heytings via Users list for the GNU Emacs text editor
  2020-10-05 19:26 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Christopher Dimech @ 2020-10-05 19:08 UTC (permalink / raw)
  To: Help Gnu Emacs


In Emacs, I can get a description of a keybinding combination
by using "M-x describe-key".

Is it possible to call something like

(describe-key "M-x <up>")





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

* Re: Calling describe-key within el file
  2020-10-05 19:08 Calling describe-key within el file Christopher Dimech
@ 2020-10-05 19:13 ` Gregory Heytings via Users list for the GNU Emacs text editor
  2020-10-05 19:16   ` Christopher Dimech
  2020-10-05 19:26 ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Gregory Heytings via Users list for the GNU Emacs text editor @ 2020-10-05 19:13 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs


>
> In Emacs, I can get a description of a keybinding combination by using 
> "M-x describe-key".
>
> Is it possible to call something like
>
> (describe-key "M-x <up>")
>

Yes: (describe-key (kbd "M-x <up>"))



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

* Re: Calling describe-key within el file
  2020-10-05 19:13 ` Gregory Heytings via Users list for the GNU Emacs text editor
@ 2020-10-05 19:16   ` Christopher Dimech
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Dimech @ 2020-10-05 19:16 UTC (permalink / raw)
  To: ghe; +Cc: Help Gnu Emacs


Fantastic

Cheers C*

> Sent: Monday, October 05, 2020 at 8:13 PM
> From: "Gregory Heytings via Users list for the GNU Emacs text editor" <help-gnu-emacs@gnu.org>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: Calling describe-key within el file
>
>
> >
> > In Emacs, I can get a description of a keybinding combination by using
> > "M-x describe-key".
> >
> > Is it possible to call something like
> >
> > (describe-key "M-x <up>")
> >
>
> Yes: (describe-key (kbd "M-x <up>"))
>
>



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

* Re: Calling describe-key within el file
  2020-10-05 19:08 Calling describe-key within el file Christopher Dimech
  2020-10-05 19:13 ` Gregory Heytings via Users list for the GNU Emacs text editor
@ 2020-10-05 19:26 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2020-10-05 19:26 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Christopher Dimech <dimech@gmx.com>
> Date: Mon, 5 Oct 2020 21:08:44 +0200
> Sensitivity: Normal
> 
> In Emacs, I can get a description of a keybinding combination
> by using "M-x describe-key".
> 
> Is it possible to call something like
> 
> (describe-key "M-x <up>")

Try

  M-x C-h k <up>



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

end of thread, other threads:[~2020-10-05 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-05 19:08 Calling describe-key within el file Christopher Dimech
2020-10-05 19:13 ` Gregory Heytings via Users list for the GNU Emacs text editor
2020-10-05 19:16   ` Christopher Dimech
2020-10-05 19:26 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.