emacs-devel
[Top][All Lists]
Advanced

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

Re: timer handlers and ^G


From: Richard Stallman
Subject: Re: timer handlers and ^G
Date: Thu, 25 Oct 2001 09:24:29 -0600 (MDT)

       If the timer handler is written so that its author is _positive_ it can 
       be interrupted, that code can enable quitting.

Actually I am not sure that this can be done safely.  If the timer
handler can get run inside of a place where quitting is not allowed,
and the handler binds inhibit-quit to nil, then the result could be to
quit from a place in the main program where quitting should not
happen.

There are places that read input with inhibit-quit = t,
such as read-quoted-char, and this problem can indeed happen there.



reply via email to

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