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: Lennart Borgman
Subject: Re: System calls without error checks in w32
Date: Tue, 8 Jun 2010 01:35:58 +0200

On Mon, Jun 7, 2010 at 9:56 PM, Stefan Monnier <address@hidden> wrote:
>> 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.

Hm, I always hit C-g to interrupt something that Emacs is doing... ;-)

How about some convention: Three C-g within three seconds will stop
running timers too?

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

Thanks, I see, that is an idea. I had forgotten about it.



reply via email to

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