[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Navigating completions from minibuffer
|
From: |
Eli Zaretskii |
|
Subject: |
Re: Navigating completions from minibuffer |
|
Date: |
Sat, 25 Nov 2023 21:00:28 +0200 |
> From: sbaugh@catern.com
> Date: Sat, 25 Nov 2023 18:23:25 +0000 (UTC)
> Cc: juri@linkov.net, emacs-devel@gnu.org
>
> > Ugh, another post-command hook... It is small wonder users complain
> > that Emacs is slow to respond and feels sluggish. What will happen if
> > the user types fast? Could there be a design that doesn't use
> > post-command-hook?
>
> Yes, actually, this can be dropped for now. We only really need the
> after-change-based updating.
>
> The post-command-hook only serves to deselect the completion candidate
> when the user moves point. But that's probably not necessary and maybe
> even undesirable.
>
> The core of all of this is that we need to update what's displayed in a
> different buffer (*Completions*) based on what the user is doing and
> typing in one buffer (the minibuffer). So I think a hook-based design
> is our only option?
No, you could use an idle timer as well. The advantage is that if the
user is typing fast, an idle timer based design will not make Emacs
less responsive.
- Re: Navigating completions from minibuffer, (continued)
- Re: Navigating completions from minibuffer, sbaugh, 2023/11/23
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/24
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/25
- Re: Navigating completions from minibuffer, Eli Zaretskii, 2023/11/25
- Re: Navigating completions from minibuffer, sbaugh, 2023/11/25
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/25
- Re: Navigating completions from minibuffer, sbaugh, 2023/11/26
- Re: Navigating completions from minibuffer,
Eli Zaretskii <=
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/25
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/26
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/27
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/28
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/28
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/28