unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: Incomplete output from "cvs annotate"
Date: Tue, 20 Jan 2004 20:45:25 +0200	[thread overview]
Message-ID: <3405-Tue20Jan2004204524+0200-eliz@elta.co.il> (raw)
In-Reply-To: <iluekturfpp.fsf@latte.josefsson.org> (message from Simon Josefsson on Tue, 20 Jan 2004 13:01:54 +0100)

> From: Simon Josefsson <jas@extundo.com>
> 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.

  parent reply	other threads:[~2004-01-20 18:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-19  1:06 Incomplete output from "cvs annotate" Kim F. Storm
2004-01-19 12:19 ` Andreas Schwab
2004-01-19 14:59   ` Simon Josefsson
2004-01-19 15:45     ` Andreas Schwab
2004-01-19 16:34       ` Simon Josefsson
2004-01-19 22:36         ` Andreas Schwab
2004-01-20 12:02           ` Simon Josefsson
2004-01-19 21:18     ` Eli Zaretskii
2004-01-20 12:01       ` Simon Josefsson
2004-01-20 13:47         ` Kim F. Storm
2004-01-20 12:54           ` Simon Josefsson
2004-01-20 14:44             ` Kim F. Storm
2004-01-20 18:45         ` Eli Zaretskii [this message]
2004-01-20 23:22         ` Andreas Schwab
2004-01-19 17:23   ` Kim F. Storm
2004-01-19 18:36     ` Stefan Monnier
2004-01-19 23:39       ` Kim F. Storm
2004-01-20 16:07         ` Stefan Monnier
2004-01-20 15:31       ` Richard Stallman
2004-01-19 21:42     ` Kevin Rodgers

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=3405-Tue20Jan2004204524+0200-eliz@elta.co.il \
    --to=eliz@elta.co.il \
    --cc=emacs-devel@gnu.org \
    /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).