emacs-devel
[Top][All Lists]
Advanced

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

Re: Can't interrupt directory_files_internal run fromtimer-event-handler


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

> ECB encapslates ist "stealthy" tasks in a loop like:

>         (while (and (not (input-pending-p))
>                 ...

> So IMHO C-g should work....

Only if each iteration takes a (small) finite time.  The OP's problem is
that one of the iteration doesn't terminate.

> AFAIK there is a new macro in CVS named `while-no-input' (there
> was a discussion some time ago).... Could using this macro
> solve problems like that posted from the OP??

Could be.  Another related new macro is with-local-quit (which uses no new
internal feature and can thus be backported to other Emacsen).


        Stefan




reply via email to

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