emacs-devel
[Top][All Lists]
Advanced

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

Re: System calls without error checks in w32


From: Stefan Monnier
Subject: Re: System calls without error checks in w32
Date: Mon, 07 Jun 2010 15:56:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> threads. And why does not C-g break all looping, even those in timers
> (like fontification)?

That is simply because timer code is normally run in a way that's
completely hidden from the user, so if the user happens to hit C-g while
a timer is running, it's probably not because he wants to interrupt the
timer, but rather because he wants to interrupt the thing he's
currently doing.

Timers (and fontification, post-command-hook, ...) should run quickly,
or otherwise re-enable interrupts using with-local-quit.


        Stefan



reply via email to

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