From: Fabrice Niessen <fni-news-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>
To: emacs-devel-mXXj517/zsQ@public.gmane.org
Subject: Re: Making completion more interactive
Date: Wed, 10 Dec 2014 22:24:07 +0100 [thread overview]
Message-ID: <86lhmfgpvs.fsf@example.com> (raw)
In-Reply-To: 87egs7b5h4.fsf@wanadoo.es
Óscar Fuentes wrote:
> Tom <adatgyujto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
>> Modern completion systems usually show completions
>> automatically. You just type and the completions are shown. This
>> is how it works in various applications, google, etc.
>
> Yes, it's hideous :-)
>
> However, some packages like company-mode do nor require to press a key
> to show the completion candidates, it works like you describe.
I think a trade-off would make a lot of sense:
- display (in gray or whatever) the potential completion, when there is
only _one_ candidate left (that is: no menu)
- display the potential candidates in the menu (when there are more than
one) only when explicitly asked by the user (when pressing TAB, for
example).
This would be between "always displays completions" and "only display
them on TAB"...
Best regards,
Fabrice
--
Fabrice Niessen
Leuven, Belgium
http://www.pirilampo.org/
next prev parent reply other threads:[~2014-12-10 21:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 20:38 Making completion more interactive Tom
2014-12-10 20:43 ` Óscar Fuentes
2014-12-10 20:51 ` Tom
2014-12-11 5:46 ` Stephen J. Turnbull
2014-12-10 21:24 ` Fabrice Niessen [this message]
2014-12-10 20:52 ` Eli Zaretskii
2014-12-10 20:59 ` Tom
2014-12-11 3:35 ` Eli Zaretskii
2014-12-10 22:07 ` Stefan Monnier
2014-12-11 1:23 ` Artur Malabarba
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=86lhmfgpvs.fsf@example.com \
--to=fni-news-ta4hmop+1whrz44/dzwexq@public.gmane.org \
--cc=emacs-devel-mXXj517/zsQ@public.gmane.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 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).