[Top][All Lists]

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

bug#15042: 24.3.50; while-no-input and input-pending-p

From: Michael Heerdegen
Subject: bug#15042: 24.3.50; while-no-input and input-pending-p
Date: Wed, 07 Aug 2013 22:48:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> > 1.  `input-pending-p' can (and does) return t in cases were no input is
> > pending (see the doc).  In such cases, `while-no-input' just returns t,
> > although no input was given.  This contradicts the doc, is not useful
> > and the behavior is unforeseeable.
> Those cases where it immediately returns t should hopefully be very
> similar to those cases where it stops in the middle even tho the event
> that interrupted it is "ignorable".

Sure? (What are such "ignorable" events?)  That would mean that binding
`throw-on-input' also "fires" in cases where no input arrived.

Is there an alternative to cancel a calculation on input without "false

> > With the current implementation, I have to `discard-input' if I don't
> > want this.
> Can you give an example where you'd want to do that?

Actually, no.  This was hypothetical, maybe unfounded.



reply via email to

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