emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master b0e318d 2/2: Score flex-style completions accor


From: Dmitry Gutov
Subject: Re: [Emacs-diffs] master b0e318d 2/2: Score flex-style completions according to match tightness
Date: Thu, 21 Mar 2019 03:20:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 21.03.2019 1:25, João Távora wrote:

(equal (let ((completion-styles '(flex)))
          (completion-all-completions "" obarray nil 0))
        (let ((completion-styles '(basic)))
          (completion-all-completions "" obarray nil 0)))

is t, the null-string case, which is probably trivial to optimize ;-), would
bring a noticeable improvement to icomplete's UI, and probably
company's.

I think it can help too.

Though not necessarily for icomplete (it seems to avoid showing the completions until you've typed at least one character).



reply via email to

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