unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Ulrich Neumerkel <ulrich@complang.tuwien.ac.at>
Cc: bug-gnu-emacs@gnu.org, 332@emacsbugs.donarmstrong.com
Subject: bug#332: accept-process-output hangs (incompatibility)
Date: Thu, 29 May 2008 10:07:24 -0400	[thread overview]
Message-ID: <jwvwslddx4i.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <E1K1Jtt-000190-Vk@a4.complang.tuwien.ac.at> (Ulrich Neumerkel's message of "Wed, 28 May 2008 13:33:01 +0200")

> Note: I reported that bug yesterday for an intermediary pre 22.2
> version.  The same problem occurs in 22.2 and is incompatible with
> previous versions:

Which previous versions accepted this form?
The current behavior is in accordance with the docstring:

   Non-nil second arg seconds and third arg millisec are number of
   seconds and milliseconds to wait; return after that much time whether

> We create a process mine, that sleeps for an hour.
> accept-process-output will hang, whereas it should return after 400
> milliseconds.  However, if argument SECONDS is replaced by 0 it will
> eval as expected.

BTW, I recommend you don't use the milliseconds argument at all.


        Stefan






  reply	other threads:[~2008-05-29 14:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvskw1aw2s.fsf-monnier+emacsbugreports@gnu.org>
2008-05-28 11:33 ` bug#332: accept-process-output hangs (incompatibility) Ulrich Neumerkel
2008-05-29 14:07   ` Stefan Monnier [this message]
2008-05-29 14:18     ` Ulrich Neumerkel
2008-05-29 15:02     ` Ulrich Neumerkel
2008-05-29 17:05   ` bug#332: marked as done (accept-process-output hangs (incompatibility)) Emacs bug Tracking System

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=jwvwslddx4i.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=332@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=ulrich@complang.tuwien.ac.at \
    /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).