GNU bug report logs - #332
accept-process-output hangs (incompatibility)

Previous Next

Package: emacs;

Reported by: Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at>

Date: Wed, 28 May 2008 11:40:04 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ulrich Neumerkel <ulrich <at> complang.tuwien.ac.at>
Cc: 332 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: bug#332: accept-process-output hangs (incompatibility)
Date: Thu, 29 May 2008 10:07:24 -0400
> 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





This bug report was last modified 17 years and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.