unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: Can't interrupt directory_files_internal run fromtimer-event-handler
Date: Mon, 08 Aug 2005 08:09:00 -0400	[thread overview]
Message-ID: <E1E26RA-0002IP-Rg@fencepost.gnu.org> (raw)
In-Reply-To: <m3mznuvdni.fsf@kfs-l.imdomain.dk> (storm@cua.dk)

    For that reason, I think we should either document throw-on-input (and
    keep its name), or [better] change while-no-input to return `quit' for
    C-g, `input-pending-p' for input, and value of BODY otherwise.

This won't achieve the goal of making it possible to distinguish all
the possible cases.  It just makes the confusion cases less likely.

However, if you write (list ...) around the intended body form,
then you can tell for certain whether the body form finished.
As for distinguishing between C-g and other input, I think a simple
change will make `while-no-input' return t when there's input.
I will install that soon.

  reply	other threads:[~2005-08-08 12:09 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 [this message]
2005-08-09 23:29 ` Stefan Monnier
  -- 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1E26RA-0002IP-Rg@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).