[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.
Stefan
- Re: Questions about throw-on-input, (continued)
- Re: Questions about throw-on-input, Michael Heerdegen, 2020/05/12
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/08
- Re: Questions about throw-on-input, Ivan Yonchovski, 2020/05/08
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/08
- Re: Questions about throw-on-input, yyoncho, 2020/05/08
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/08
- Re: Questions about throw-on-input, yyoncho, 2020/05/08
Re: Questions about throw-on-input,
Stefan Monnier <=
Re: Questions about throw-on-input, Alexander Miller, 2020/05/09
Re: Questions about throw-on-input, Alexander Miller, 2020/05/10
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/11
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/11
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/11
- Re: Questions about throw-on-input, Stefan Monnier, 2020/05/11
- Re: Questions about throw-on-input, Eli Zaretskii, 2020/05/11
- Re: Questions about throw-on-input, Alexander Miller, 2020/05/11