emacs-devel
[Top][All Lists]
Advanced

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

Re: Making while interruptable


From: Lennart Borgman
Subject: Re: Making while interruptable
Date: Tue, 7 Jul 2009 01:02:51 +0200

On Tue, Jul 7, 2009 at 12:43 AM, Miles Bader<address@hidden> wrote:
> Lennart Borgman <address@hidden> writes:
>> The idea is that the user with some let bound variable can control how
>> every call to `while' handles pending input. If pending input is
>> detected then `while' will throw to a catch symbol that is let bound
>> by the user.
>
> This is very, very, bad.  It _will_ screw up lots of code in hard to
> debug and confusing ways.

Could you tell me exactly why you think so? Are you aware of that I
placed the code for interruption at the same place as QUIT is placed
in the c code. So I assumed that it was ok to jump out there, but you
seem to think differently. But why? (Don't misunderstand me. I am a
bit afraid of the same things as you, but ...)


> Using a dedicated form like `while-no-input' is proper thing to do.

In the cases I am thinking of you do not have control of this.


> -Miles
>
> --
> My spirit felt washed.  With blood.  [Eli Shin, on "The Passion of the 
> Christ"]
>




reply via email to

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