|
From: | Dmitry Gutov |
Subject: | Re: BIKESHED: completion faces |
Date: | Wed, 6 Nov 2019 10:24:35 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 06.11.2019 2:18, Stefan Monnier wrote:
whereas `rename-buffer` would be highlighted differently.Indeed. That's the whole idea. "re" and "-b" in "rename-buffer" would indeed be highlighted since the match is nontrivial.You might consider it as a feature, of course.Yes. That's the idea.I'm wondering why you think it's a feature. Could you explain?
It only adds extra info to completions that can really use it. Thus no extra highlighting for prefix-only completions.
The way I see it, it in 99% of the cases it would just work identically on all displayed completions (sometimes using trivial for all and sometimes using nontrivial for all), and in the remaining cases it would use a mix and my natural reaction would likely be "M-x report-emacs-bug".
Sometimes seeing a mix might be surprising, I guess, but I'll have to try using it in practice to form some practical opinion on the subject.
I don't have a better suggestion, though. Different highlightings for different completions styles doesn't sound user-friendly to me, and will suffer from a similar problem anyway when completion-styles has more than 1 entry.
We can still fall back to subtle blue foreground for common-part. *shrug*
[Prev in Thread] | Current Thread | [Next in Thread] |