From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: kzeitler@lucent.com, emacs-devel@gnu.org
Subject: Re: Can't interrupt directory_files_internal run fromtimer-event-handler
Date: Tue, 09 Aug 2005 19:29:50 -0400 [thread overview]
Message-ID: <m1hddyae4r.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <A47B192B0358794C958615D788BF7FB7EDAEEF@mucmail1.sdm.de> (klaus berndl's message of "Fri, 5 Aug 2005 14:01:44 +0200")
> 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
next prev parent reply other threads:[~2005-08-09 23:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-05 12:01 Can't interrupt directory_files_internal run fromtimer-event-handler klaus.berndl
2005-08-05 12:53 ` Juanma Barranquero
2005-08-06 6:27 ` Richard M. Stallman
2005-08-06 11:58 ` Juanma Barranquero
2005-08-06 23:39 ` Kim F. Storm
2005-08-08 12:09 ` Richard M. Stallman
2005-08-09 23:29 ` Stefan Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-10 9:35 AW: " klaus.berndl
2005-08-12 6:59 ` Stefan Monnier
2005-08-12 8:00 AW: " klaus.berndl
2005-08-12 11:59 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1hddyae4r.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=kzeitler@lucent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.