all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Seung Jun <seungwjun@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Find all commands bound to key prefix
Date: Fri, 4 Apr 2008 11:55:40 +0200	[thread overview]
Message-ID: <2B03268C-6CA6-4B05-8ED8-A975E7FBEA05@Web.DE> (raw)
In-Reply-To: <dab527f90804031237u26e84285t471dfe943a10461f@mail.gmail.com>


Am 03.04.2008 um 21:37 schrieb Seung Jun:
> I'd like to see a list of commands that are bound to key sequences
> that starts with some prefix (e.g., C-x C-v).  How do I do that?

C-h b – it creates a *Help* buffer that will show all "key  
translations."

Now mark the whole buffer and apply a shell-command on that region  
(M-|):

	M-| | egrep '^<your prefix>' | sort -u

The egrep command takes a regular expression ('^' is part of that and  
stands for: "at the beginning of the line", the '<your prefix>' part  
needs to be substituted with your search pattern, i.e., C-x C-v) and  
tries to find matching lines in the marked region. The final sort  
command removes all duplicates (-u) and presents egrep's findings in  
a sorted form.

--
Greetings

   Pete     === -Q
              ==<__/% >>
_____________(_)____@_____________________________






  reply	other threads:[~2008-04-04  9:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-03 19:37 Find all commands bound to key prefix Seung Jun
2008-04-04  9:55 ` Peter Dyballa [this message]
2008-04-04 13:05   ` Tassilo Horn
2008-04-04 15:19     ` Peter Dyballa
2008-04-04 17:26       ` Tassilo Horn
2008-04-04 18:27         ` Peter Dyballa
     [not found]         ` <mailman.9997.1207333651.18990.help-gnu-emacs@gnu.org>
2008-04-07  2:20           ` Alan
2008-04-07  4:42             ` Drew Adams
     [not found]     ` <mailman.9987.1207322388.18990.help-gnu-emacs@gnu.org>
2008-04-04 16:52       ` rustom
2008-04-04 18:22         ` Drew Adams
     [not found]         ` <mailman.9996.1207333434.18990.help-gnu-emacs@gnu.org>
2008-05-04  1:16           ` David Combs
2008-05-04  1:53             ` Drew Adams
     [not found] <mailman.9964.1207277776.18990.help-gnu-emacs@gnu.org>
2008-04-04  3:26 ` rustom
2008-04-04  4:28   ` Drew Adams
     [not found]   ` <mailman.9967.1207283328.18990.help-gnu-emacs@gnu.org>
2008-04-04  5:45     ` Pascal Bourguignon
2008-04-04  7:34       ` Sébastien Vauban
2008-04-04  6:41   ` Jens Teich

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2B03268C-6CA6-4B05-8ED8-A975E7FBEA05@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=seungwjun@gmail.com \
    /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.
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.