bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69733: [PATCH] Flyspell (flyspell-word): do not force 'save-excursio


From: Dmitry Gutov
Subject: bug#69733: [PATCH] Flyspell (flyspell-word): do not force 'save-excursion' on timers
Date: Fri, 15 Mar 2024 17:59:25 +0200
User-agent: Mozilla Thunderbird

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]