[Top][All Lists]

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

Re: Can't interrupt directory_files_internal run from timer-event-handle

From: Stefan Monnier
Subject: Re: Can't interrupt directory_files_internal run from timer-event-handler
Date: Tue, 09 Aug 2005 19:07:45 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

> Timer code normally turns off C-g so that you won't interrupt it
> by accident.  (After all, you can't predict when the timer code
> will be running.)  If ECB is going to do something potentially
> slow from a timer, it should probably bind inhibit-quit to nil
> around that code, after displaying a message in the echo area

Indeed.  Except that just binding inhibit-quit to nil may not quite do
what we want: it should use with-local-quit or something equivalent.


reply via email to

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