[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1058: 23.0.60; emacs --daemon should not return until socket is read
From: |
Dan Nicolaescu |
Subject: |
bug#1058: 23.0.60; emacs --daemon should not return until socket is ready |
Date: |
Thu, 2 Oct 2008 01:14:39 -0700 (PDT) |
Romain Francoise <romain@orebokech.com> writes:
> Dan Nicolaescu <dann@ics.uci.edu> writes:
>
> > It would be much better if this could be done without a state
> > changing function callable from elisp.
>
> I agree, but given that control passes to Lisp pretty early, I don't
> see how it can be done.
That's exactly the reason for my initial reply...
Anyway, your patch probably needs an approval from a maintainer.
And a better name and docstring for daemon-detach-parent would be
needed.
Also daemon-detach-parent should throw an error if called in the non-daemon
case, and when called more than once.
More comments explaining what's going on would also be nic.
Maybe use select instead of read+sleep?
Or signals?
Should also do something in case the child dies before it calls
daemon-detach-parent.
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, SRS0+wOMF+22+gmail . com=trentbuck, 2008/10/01
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Dan Nicolaescu, 2008/10/01
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Romain Francoise, 2008/10/01
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Dan Nicolaescu, 2008/10/01
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Romain Francoise, 2008/10/02
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready,
Dan Nicolaescu <=
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Stefan Monnier, 2008/10/02
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Dan Nicolaescu, 2008/10/02
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Stefan Monnier, 2008/10/02
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Dan Nicolaescu, 2008/10/02
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Trent W. Buck, 2008/10/02
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Stefan Monnier, 2008/10/02
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Dan Nicolaescu, 2008/10/03
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Stefan Monnier, 2008/10/03
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Dan Nicolaescu, 2008/10/03
- bug#1058: 23.0.60; emacs --daemon should not return until socket is ready, Dan Nicolaescu, 2008/10/12