[Top][All Lists]

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

Re: Questions about throw-on-input

From: Stefan Monnier
Subject: Re: Questions about throw-on-input
Date: Thu, 07 May 2020 09:49:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>                 (let ((throw-on-input t))

Why do you do that instead of using `while-no-input`?

> .. after I execute the following block each of the 10 computations will be
> canceled after pressing C-n for example, how do I force the handling of
> the command to be processed?

You mean the event is "eaten"?  I must say I'm not sure why.

> The issue is with the second block, it seems like throw-on-input is
> disregarded when used in run-with-idle-timer.

That's because timers are run with `inhibit-quit` which interferes.
`while-no-input` would take care of that.


reply via email to

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