emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new-flex-completion-style


From: Óscar Fuentes
Subject: Re: new-flex-completion-style
Date: Thu, 14 Feb 2019 16:28:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux)

João Távora <address@hidden> writes:

> Eventually we could weight the number and length
> of holes differently so we can get this:
>
> score(foo,barfoobaz) > score(foo,fabrobazo) >
> score(foo,fotttttttttttttttttttttto)
>
> Which would be nicer, I think.

My experience on this type of discussions about flx says that you should
design a scoring algorithm based on some generic, human-related
heuristic that makes sense to you and stick to it. You will hear lots of
complaints by those that dislike the system, showing specific examples
that demonstrate "obvious" deficiencies on your approach. But it is
impossible to create something that makes everybody happy.

As long as Emacs can't read our minds, there will be no good-enough
completion mechanism. And even then... we are dealing with the Emacs
user base, you know :-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]