[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: while-no-input
From: |
Richard Stallman |
Subject: |
Re: while-no-input |
Date: |
Wed, 02 Oct 2002 15:24:28 -0400 |
It is a general principle that to avoid using abnormal
condition handling for programmed control flow.
I think it is very unclean to treat ordinary input
like a quit and then distinguish them later.
So I don't think we should add this mechanism.
It is easy enough to do the job using input-pending-p.
You can use
(catch 'input
(...
(if (input-pending-p) (throw 'input nil))
...))
if you want to avoid testing input-pending-p at various
levels in the code.
- while-no-input, Stefan Monnier, 2002/10/01
- Re: while-no-input,
Richard Stallman <=
- Re: while-no-input, Stefan Monnier, 2002/10/02
- Re: while-no-input, Richard Stallman, 2002/10/04
- Re: while-no-input, Stefan Monnier, 2002/10/04
- Re: while-no-input, Richard Stallman, 2002/10/05
- Re: while-no-input, Kim F. Storm, 2002/10/23
- Re: while-no-input, Stefan Monnier, 2002/10/24