[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A question regarding sit-for (and while-no-input)
From: |
Stefan Monnier |
Subject: |
Re: A question regarding sit-for (and while-no-input) |
Date: |
Fri, 05 Oct 2018 08:36:59 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> These are the results of pressing C-u C-x C-e SPC in quick succession
> after each expression.
>
> (joaot/time
> (while-no-input
> (while t (accept-process-output nil 0.1)))) ; Took 00.201 seconds and
> returned t
>
> (joaot/time
> (while-no-input
> (while t (accept-process-output nil 30)))) ; Took 03.822 seconds and
> returned t
I don't know why this happens to you, but FWIW, I can't reproduce
it here (using Debian).
Stefan