Re: [gnu] externals/kubed 7736db22051: Fix 2 second delay during listing resource

Stefan Monnier <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
> branch: externals/kubed
> commit 7736db2205142ab77b6618383eb393a13e25c50e
> Author: MintSoup <[email protected]>
> Commit: Eshel Yaron <[email protected]>
>
>     Fix 2 second delay during listing resource
>     
>     'minibuffer-message' calls 'sit-for', which causes a 2 second
>     delay when running a list resource command (e.g. 'kubed-list-pods')
>     when the list buffer does not yet exist.

Side note: this problem has now been fixed in Emacs with

    commit 0ab5db015f7eed3ffdf85ccbb75ff48e2c44b5a1
    Author: Spencer Baugh <[email protected]>
    Date:   Thu Jan 29 16:45:15 2026 +0000

    (minibuffer-message): Do not block while displaying message.
    
    * lisp/minibuffer.el (minibuffer--message-overlay)
    (minibuffer--message-timer): New variables.
    (minibuffer--delete-message-overlay): New function.
    (minibuffer-message): Use a timer and 'pre-command-hook' to
    clear message overlay instead of blocking with
    'sit-for'. (bug#79510)
    * etc/NEWS: Document the change.


=== Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.