emacs-devel
[Top][All Lists]
Advanced

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

Re: Incomplete output from "cvs annotate"


From: Eli Zaretskii
Subject: Re: Incomplete output from "cvs annotate"
Date: Tue, 20 Jan 2004 20:45:25 +0200

> From: Simon Josefsson <address@hidden>
> Date: Tue, 20 Jan 2004 13:01:54 +0100
> >
> > You cannot DTRT to put data from different descriptors together
> > because you don't know their relative timing.
> 
> Wouldn't select on both fd's and reading from the first one available,
> and then sending that to the buffer, work?

Not really, since Emacs only checks if input from some process is
available when it is not otherwise busy doing something.  On a fast
machine, getting to that a second too late can lose you your world.

> Surely there is some similar logic somewhere in bash, the kernel or
> somewhere.

Probably, but the important case is when stdout and stderr are written
one after another, but before Emacs gets to see the first one.




reply via email to

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