Subject: Re: bug#69733: [PATCH] Flyspell (flyspell-word): do not force 'save-excursion' on timers

From: Dmitry Gutov <[email-masked]>
Date: Fri, 15 Mar 2024 17:59:25 +0200

On 11/03/2024 16:37, Daniel Pettersson wrote:
> As I understand the manual there is nothing that states that one should
> assume that you cant move the point in buffer with timers.  This is of
> course impossible to guarantee as any code can be calling
> accept-process-output.  But it seams like an good idea to have code that
> is triggered by post-command-hook to not impose such conditions.
> 
> This might seam like an mole whacking activity, and it most definitely
> is.

Speaking of mole whacking, a long-time potential FIXME here has been to 
rewrite flyspell in terms of timers, rather than sit-for.

Dropping unnecessary save-excusion-s would either happen automatically, 
or would be in the same general area anyway.