Subject: Re: bug#74437: 30.0.92; completion-preview-idle-delay is delayed by flyspell

From: Eli Zaretskii <[email-masked]>
Date: Tue, 19 Nov 2024 21:10:36 +0200

> From: Eshel Yaron <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Tue, 19 Nov 2024 19:40:07 +0100
> 
> +(defcustom flyspell-blocking-delay t

I'd name this flyspell-use-timer or somesuch.

> +  "Whether to block Emacs while Flyspell waits after a delayed command."
> +  :type 'boolean
> +  :version "30.1")
     ^^^^^^^^^^^^^^
You are an optimist ;-)

> -                           (accept-process-output ispell-process)
> +                           (accept-process-output ispell-process 1)

Does this really work reliably from a timer?  You _are_ aware that
this call to accept-process-output will run timers while we wait?
Also, what happens if there are other async subprocesses running in
parallel, like maybe Grep or compilation or url-retrieve?