[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OS X: C-g does not break out of infinite loop
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: OS X: C-g does not break out of infinite loop |
Date: |
Thu, 15 Jul 2004 22:57:12 +0900 |
User-agent: |
Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Thu, 15 Jul 2004 09:17:36 -0400, Richard Stallman <address@hidden>
>>>>> said:
>> with Yoichi's response (together with a test case that I can
>> reproduce: C-g on OS X cannot recover from evaling any of the
>> following three:
>> 1. (condition-case nil (while 1) (error (error "catch error"))
>> (quit (error "catch quit")))
>> 2. (condition-case nil (while 1) (error (error "catch error")))
>> 3. (while 1)
> It sounds like the mechanism for detecting C-g may need a redesign.
> Is there any Lisp program you can successfully interrupt with C-g?
That problem was mentioned three months ago, but maybe obscured by
other urgent problems.
http://lists.gnu.org/archive/html/emacs-devel/2004-04/msg00783.html
http://lists.gnu.org/archive/html/emacs-devel/2004-04/msg01072.html
The attached is a patch for the latest CVS. With this patch, all the
above examples can be quit by C-g on OS X (Carbon).
YAMAMOTO Mitsuharu
address@hidden
diff-event.gz
Description: Binary data