From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-devel@gnu.org
Subject: Question about the initials completion-style
Date: Thu, 15 Jul 2010 18:00:48 +0200 [thread overview]
Message-ID: <201007151800.48336.tassilo@member.fsf.org> (raw)
Hi all,
I really like the idea of the `initials' completion style, but that
doesn't work for me. When I do `M-x ss<TAB>' I want to call
`server-start' (or any other command with exactly 2 words separated by
some non-word-char). I had an own mode for executing commands by giving
only initials, but I'd like to drop that for the new `completion-styles'
in recent emacsen.
Using (setq completion-styles '(basic initials partial-completion)), `M-x
ss<TAB>' will complete to "s-s", but the completion list also contains
entries with more subwords, like secrets-show-secrets. Those are added
by the partial-completion style.
If I use (setq completion-styles '(basic initials)), `M-x ss<TAB>' will
complete to "s-s", but then no matches are found anymore, cause this
expansion requires partial-completion.
So it would be good, if there was a variant of partial-completion that
didn't consider symbols with more hyphens than are actually there. Or
is there a way to do that right now (using a recent bzr checkout)?
Bye,
Tassilo
next reply other threads:[~2010-07-15 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-15 16:00 Tassilo Horn [this message]
2010-07-22 14:38 ` Question about the initials completion-style Stefan Monnier
2010-07-22 15:10 ` Tassilo Horn
2010-07-22 17:27 ` Tassilo Horn
2010-07-22 22:44 ` Stefan Monnier
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=201007151800.48336.tassilo@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=emacs-devel@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.
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.