emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and,


From: João Távora
Subject: Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations
Date: Wed, 2 Jun 2021 14:16:27 +0100

On Wed, Jun 2, 2021 at 1:31 PM Dmitry Gutov <dgutov@yandex.ru> wrote:

> OTOH, ido-mode has lived with the "spinning up fans" behavior for ages,
> and we don't hear much complaints about that. Or fan noise, really.

I wonder how many people are still actually using ido today.  It
used to be extremely popular, I used it for ages.

> Simpler mental model, a guarantee of no "inconsistent" display, I
> suppose. But the flicking is real annoying, it's one of the things that
> has stopped my from migrating to fido-mode (somewhat lower performance
> is the other).

You've shown you can get rid of the flickering, be my guest (my
gripe would be input latency, but there seems to be none).

Are you using ido-enable-flex-matching?   You can try making fido use
substring completion style to see if it helps. substring completion what
bare ido uses:

  (defun joaot/my-fido-style () (when fido-mode (setq
completion-styles '(substring))))
  (add-hook 'minibuffer-setup-hook 'joaot/my-fido-style 100)

If there's still a performance discrepancy, maybe a controlled benchmark
is in order.

> where "ico" is input. If I backspace and type "o" again, there will be
> an interval of time when two "o" will be shown. That looks kinda weird,
> but probably still better than having it blink. Hopefully, this behavior
> could still be improved, though.

I'm fine if you fix this and fine if you leave it. Personally, I've switched to
fido-mode +  fido-vertical-mode  which doesn't do the [mplete.el] dance.
Personally I'm  also fine to remove this complexity altogether, even for
non-vertical Icomplete/Fido, but I think at least Stefan likes it (possibly
others, but no record thereof).

João



reply via email to

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