[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: while-no-input interrupted by *shell*
From: |
Stefan Monnier |
Subject: |
Re: while-no-input interrupted by *shell* |
Date: |
Mon, 24 Sep 2018 12:19:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> I found another annoyance with `while-no-input': If you have a *shell*
> buffer producing output - for example run something like ls -R in
> *shell* - then `while-no-input' is obviously interrupted by what's going
> on there. For example
I object to the "obviously" above.
> Is this expected,
No, it's a bug.
> and is there a way to avoid this behavior?
I think the first step is to figure out what triggers this bug.
E.g. maybe run your Emacs under a debugger, place a breakpoint on
Fthrow (Vthrow_on_input, Qt);
in process_quit_flag (in src/eval.c), then reproduce the problem.
Hopefully you'll be able to get a backtrace that gives a good hint at
why the while-no-input is interrupted.
Stefan
- Re: BUFFER_SWITCH_EVENT, (continued)
- Re: BUFFER_SWITCH_EVENT, Stefan Monnier, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Stefan Monnier, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Stefan Monnier, 2018/09/25
- Re: BUFFER_SWITCH_EVENT, Eli Zaretskii, 2018/09/26
- Re: BUFFER_SWITCH_EVENT, Stefan Monnier, 2018/09/26
Re: while-no-input interrupted by *shell*, Andreas Schwab, 2018/09/24
Re: while-no-input interrupted by *shell*,
Stefan Monnier <=
while-no-input and pending input (was: while-no-input interrupted by *shell*), Michael Heerdegen, 2018/09/25