emacs-devel
[Top][All Lists]
Advanced

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

Re: while-no-input and pending input (was: while-no-input interrupted by


From: Eli Zaretskii
Subject: Re: while-no-input and pending input (was: while-no-input interrupted by *shell*)
Date: Wed, 26 Sep 2018 17:18:16 +0300

> From: Michael Heerdegen <address@hidden>
> Date: Tue, 25 Sep 2018 19:47:41 +0200
> 
> What could I else do in this situation to prevent the frame switch or
> whatever event to be misinterpreted as user input?  Could/should w-n-i
> generally ignore events in `while-no-input-ignore-events' - I mean, also
> the input-pending-p part?

I don't see how this could be done: AFAIK, these events are not
visible in Lisp, at least some of them.

Why cannot you drain the event queue before calling while-no-input?



reply via email to

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