unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: OtherMichael <xraysmalevich@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Looking up and CALLING a key binding
Date: Tue, 6 Jan 2009 06:56:45 -0800 (PST)	[thread overview]
Message-ID: <bbe7912d-2465-4618-8088-1e67994966e5@i20g2000prf.googlegroups.com> (raw)
In-Reply-To: mailman.4013.1231164018.26697.help-gnu-emacs@gnu.org

On Jan 5, 9:00 am, TheLonelyStar <nabb...@lonely-star.org> wrote:
> Hi,
>
> I know very little elisp have basicly no practical expirience with it.
>
> I know I can lookup a keybinding with lookup-key and similiar.
> But how do I look it up and call it (execute it)?
>
> Thanks!
> nathan
> --
> View this message in context:http://www.nabble.com/Looking-up-and-CALLING-a-key-binding-tp21291485...
> Sent from the Emacs - Help mailing list archive at Nabble.com.

If you are trying to find WHERE a command is mapped, C-h w <command-
name> runs where-is and gives you the keystroke-sequence

If you are trying to find the NAME of a command, C-h k <keystroke-
sequence> runs describe-key and gives you the command-name mapped to
the keystroke-sequence.


Once you know the name, then you can execute it via M-x as Xah said.

--the Other michael


  parent reply	other threads:[~2009-01-06 14:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4013.1231164018.26697.help-gnu-emacs@gnu.org>
2009-01-06  1:13 ` Looking up and CALLING a key binding Xah Lee
2009-01-06 15:14   ` TheLonelyStar
2009-01-06 15:20     ` Lennart Borgman
     [not found]   ` <mailman.4126.1231254888.26697.help-gnu-emacs@gnu.org>
2009-01-07 18:08     ` Xah Lee
2009-01-08 15:31       ` Kevin Rodgers
2009-01-06 14:56 ` OtherMichael [this message]
2009-01-05 14:00 TheLonelyStar
2009-01-06 14:22 ` Kevin Rodgers

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=bbe7912d-2465-4618-8088-1e67994966e5@i20g2000prf.googlegroups.com \
    --to=xraysmalevich@gmail.com \
    --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).