[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package-autosuggest
From: |
Philip Kaludercic |
Subject: |
Re: package-autosuggest |
Date: |
Mon, 04 Sep 2023 16:10:37 +0000 |
chad <yandros@gmail.com> writes:
> This might be over-engineering at this point, but it was my not-so-secret
> hope when suggesting along this line that there would be a good place to
> add a branch in the middle, where the system would offer more than one
> (incompatible, at least sometimes) choice to the user, with the hope of
> eventually being a bridge to "hey, this looks like C-Sharp. Would you like
> c-sharp-ts-mode or CC-mode for this? (Now/future/ask again later)"
>From my testing, a prompt like this seems too aggressive and annoying.
The best alternative, it seems to me is a message in the echo area or a
lighter in the mode line. I am leaning more and more towards the
latter, since might make the most mouse-friendly interface that
newcomers are likely to appreciate.
> and
> maybe also "This is probably Perl or Prolog code. Would you like perl-mode,
> cperl-mode, perl-ts-mode, prolog-mode, or...."
My last proposal used completing-read-multiple, but another idea would
be to pop open a filtered down *Packages* buffer, assuming that isn't to
confusing of an interface.
> I hope this helps,
> ~Chad