[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: |
Fri, 08 May 2020 10:55:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Can you elaborate on "won't have the desired semantics"?
[...]
> Here it is overly simplistic code that is close to what I am trying to
> achieve.
[...]
> This code is able to handle C-n but obviously it will break if someone
> starts another recursive-edit or for complex keybindings, e. g. `C-x b`.
I see you've found an example of "not the desired semantics".
There will be many others, most of which I can't even foresee.
BTW, maybe when Emacs is built with support for threads, timers should
be run in a separate thread (so you could just call `thread-yield` to
do what you want).
Stefan
- Re: Questions about throw-on-input, (continued)
- 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 <=
- Re: Questions about throw-on-input, yyoncho, 2020/05/08
Re: Questions about throw-on-input, Stefan Monnier, 2020/05/07
Re: Questions about throw-on-input, Alexander Miller, 2020/05/09
Re: Questions about throw-on-input, Alexander Miller, 2020/05/10