emacs-devel
[Top][All Lists]
Advanced

[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




reply via email to

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