emacs-devel
[Top][All Lists]
Advanced

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

Re: new-flex-completion-style


From: João Távora
Subject: Re: new-flex-completion-style
Date: Thu, 14 Feb 2019 16:21:51 +0000

On Thu, Feb 14, 2019 at 3:33 PM Óscar Fuentes <address@hidden> wrote:
>
> 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.

I agree with all your arguments, but I do think Stefan has a pretty
good point in that example.  There's no reason not to heed it.

> 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 :-)

Indeed...



reply via email to

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