emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question regarding sit-for (and while-no-input)


From: João Távora
Subject: Re: A question regarding sit-for (and while-no-input)
Date: Sat, 06 Oct 2018 11:35:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> 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).

Right....  At first I was going to add it happens just on Windows, but
then I tested it on my Ubuntu virtual server and I get the same result.
But after you reported Debian being fine I tested again at home and
indeed I can't reproduce too.

So, reproducible on Windows (Emacs master) + Ubuntu (Emacs 25).  No
problem on Debian (Emacs master).  Going to try a few more combinations,
but, in the meantime, what can be happening here and how can I debug it?

Thanks,
João



reply via email to

[Prev in Thread] Current Thread [Next in Thread]