emacs-devel
[Top][All Lists]
Advanced

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

Re: Questions about throw-on-input


From: Ivan Yonchovski
Subject: Re: Questions about throw-on-input
Date: Thu, 07 May 2020 17:28:54 +0300
User-agent: mu4e 1.3.7; emacs 27.0.91

Hi Eli,

Thank you, this solved my issue.

> Why do you need to interrupt an idle timer like that?  The usual way
> of doing this is not to call expensive functions in an idle timer, and
> if you have a lot of processing, divide them into small enough chunks
> and do it piecemeal.  That's what jit-stealth font-lock does, for
> example.

I am playing with the idea for a function which will be able stop right
after there is user input and it will continue from where it has been
stopped preserving as much from what already has processed/calculated.

Thanks,
Ivan



reply via email to

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