unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'knubee'" <knubee@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: command-completion for C- commands?
Date: Mon, 16 Jun 2008 07:41:06 -0700	[thread overview]
Message-ID: <013101c8cfbf$02ea6cc0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <ffd11289-3d22-4408-99d0-24a6deb53bc5@y22g2000prd.googlegroups.com>

> Tabbing works to show possible completions of Meta commands. Example:
> 
> M-x list-f<TAB> shows
> 
>   Possible completions are:
>   list-faces-display		   list-fontsets
> 
> Is there an equivalent way to see possible completions for Control
> commands -- given the mode of the current buffer? Example:
> 
> C-x<WHAT?>

If you use Icicles (with Emacs 22 or later), then you can complete any key
sequence, including Control-<whatever>. Each completion candidate shows you the
rest of the key sequence and the associated command.

Unlike C-h (after, e.g., C-x):

1. It works for all key prefixes (all key sequences) - including menus. C-h does
not work for many prefixes (e.g. C-s).

2. Finishing completion runs the command - it doesn't just show you help.

3. You can filter against both the key sequence and the command, using
substrings and other regexps.

http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Key_Completion

http://www.emacswiki.org/cgi-bin/wiki/EmacsNewbieWithIcicles#toc4





  parent reply	other threads:[~2008-06-16 14:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16  8:22 command-completion for C- commands? knubee
2008-06-16  9:40 ` danamlund
2008-06-16 13:02   ` Nicholas Sandow
2008-06-16  9:44 ` Phil Carmody
2008-06-16 10:13   ` knubee
2008-06-16 14:41 ` Drew Adams [this message]
     [not found] ` <mailman.13397.1213627301.18990.help-gnu-emacs@gnu.org>
2008-06-21  4:07   ` knubee

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='013101c8cfbf$02ea6cc0$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=knubee@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.
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).