unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: arne_bab@web.de, 16330@debbugs.gnu.org
Subject: bug#16330: 24.3; wish: after hitting a prefix-key, show possible options
Date: Fri, 3 Jan 2014 09:26:46 -0800 (PST)	[thread overview]
Message-ID: <1649fa5f-52d4-4231-be70-def74558fda0@default> (raw)
In-Reply-To: <877gahf0oo.wl%arne_bab@web.de>

> I often find myself in a position where I still know some prefix
> key, but not the second key. For example I hit `C-c /` in mailcrypt-
> mode, but I'm not sure whether I fetch the key with `k` or with `f`
> (the latter actually calls forget passphrase). In that case, I am
> forced to either consult C-h m or use the menu - both of which does
> not feel very elegant.
> 
> Instead of that, it would be nice if emacs could show a completion-
> list similar to the function completion with M-x. This would allow
> discovering options while using emacs instead of browsing menus or
> tutorials, hunting for new ways of working more efficiently.

1. You can hit `C-h' to see the list of keys that start with that
prefix key.  E.g., `C-c / C-h' shows you all of the keys that start
with prefix key `C-c /'.

2. If you use Icicles then you can hit `S-TAB' to complete the
prefix key.  Buffer *Completions* shows the possible completions.
Type text matching the rest of the key name to finish the key.

http://www.emacswiki.org/emacs/Icicles_-_Key_Completion

#1 is available in vanilla Emacs.  It might well be all you need.

#2 requires Icicles.  It corresponds more exactly to what you
requested, IIUC.





  reply	other threads:[~2014-01-03 17:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-03 17:13 bug#16330: 24.3; wish: after hitting a prefix-key, show possible options Arne Babenhauserheide
2014-01-03 17:26 ` Drew Adams [this message]
2014-01-04 14:15   ` Arne Babenhauserheide
2014-01-04  0:31 ` Leo Liu
2014-01-04 17:31   ` Arne Babenhauserheide
2014-01-04 18:26     ` Drew Adams

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=1649fa5f-52d4-4231-be70-def74558fda0@default \
    --to=drew.adams@oracle.com \
    --cc=16330@debbugs.gnu.org \
    --cc=arne_bab@web.de \
    /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 public inbox

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

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).