Subject: Re: bug#1058: 23.0.60; emacs --daemon should not return until socket is ready

From: Dan Nicolaescu <[email-masked]>
Date: Tue, 7 Oct 2008 12:01:43 -0700 (PDT)

Romain Francoise <[email-masked]> writes:

  > Dan Nicolaescu <[email-masked]> writes:
  > 
  > > Here's a version based on your code that also moves detaching from the
  > > terminal later.
  > 
  > Hmm, but the initial frame doesn't get created anyway because

Not sure why you mention that.

  > `is_daemon' is still set early like before, so it doesn't really
  > change much.  I'm unsure which problems this patch addresses.

It moves detaching from the terminal to later, so if emacs ever gets to
use stdout/stdin durin startup, it will just work (hopefully).