[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Smarter M-x that filters on major-mode
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Smarter M-x that filters on major-mode |
Date: |
Sat, 13 Feb 2021 02:26:17 +0000 |
> >> I'm worried about performance. IIRC I've seen 20000+
> >> commands upon M-x invocation...
> >
> > Even when you type some text to match?
> >
> > Perhaps you're using some completion framework
> > that starts displaying candidates without waiting
> > for any input to match?
>
> Yes. It is equivalent to M-x <TAB> with the default
> completion system.
>
> But even if you wait until you type the first character,
> the filtering could cause a perceptible lag.
There are ways to deal with that.
Option for minimal # of chars before trying to match.
Option for minimal time period before doing so.
Option for delay before rematching automatically
(updating automatically)
Option for threshold for when such things kick in
(e.g. fewer than N candidates => no delay)
...
None of this is complicated. Such things are really
part of any UI that provides automatic matching and
rematching - or at least they should be.
Pretty much anything automatic needs to provide
"governors", to mitigate the behavior, especially
in extreme situations (e.g. zillions of whatevers).
- Re: Smarter M-x that filters on major-mode, (continued)
- Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/12
- Re: Smarter M-x that filters on major-mode, jao, 2021/02/12
- Re: Smarter M-x that filters on major-mode, Dmitry Gutov, 2021/02/12
- Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/12
- Re: Smarter M-x that filters on major-mode, Óscar Fuentes, 2021/02/12
- RE: [External] : Re: Smarter M-x that filters on major-mode, Drew Adams, 2021/02/12
- Re: [External] : Re: Smarter M-x that filters on major-mode, Óscar Fuentes, 2021/02/12
- RE: [External] : Re: Smarter M-x that filters on major-mode,
Drew Adams <=
- Re: [External] : Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/12
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/13
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/13
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/13
- RE: [External] : Re: Smarter M-x that filters on major-mode, Drew Adams, 2021/02/13
- Re: [External] : Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/13
- RE: [External] : Re: Smarter M-x that filters on major-mode, Drew Adams, 2021/02/14
- Re: [External] : Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Basil L. Contovounesios, 2021/02/14