From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: emacsclientw Date: Mon, 13 Nov 2006 23:54:55 +0100 Message-ID: <4558F7BF.8020806@student.lu.se> References: <4557B756.2020701@gnu.org> <455859DA.5010402@gnu.org> <45587D1A.9070500@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163458531 5134 80.91.229.2 (13 Nov 2006 22:55:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2006 22:55:31 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 13 23:55:27 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gjkhx-00074M-1B for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2006 23:55:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gjkhr-0000O6-PG for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2006 17:55:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gjkhi-0000Ns-Bu for emacs-devel@gnu.org; Mon, 13 Nov 2006 17:55:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gjkhf-0000Ng-Tc for emacs-devel@gnu.org; Mon, 13 Nov 2006 17:55:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gjkhf-0000Nd-P9 for emacs-devel@gnu.org; Mon, 13 Nov 2006 17:54:59 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gjkhf-00065u-No for emacs-devel@gnu.org; Mon, 13 Nov 2006 17:55:00 -0500 Original-Received: from [83.254.145.24] (port=64775 helo=[192.168.123.121]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1Gjkhc-0000qp-7A; Mon, 13 Nov 2006 23:54:56 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Juanma Barranquero In-Reply-To: X-Scan-Result: No virus found in message 1Gjkhc-0000qp-7A. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Gjkhc-0000qp-7A dff76c55c15307887699f4b4c73cd9d4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62259 Archived-At: Juanma Barranquero wrote: > On 11/13/06, Stefan Monnier wrote: > >> So we're in violent agreement, aren't we? > > Yes, sorry. I somehow read it as if you had said that `server-mode' > was a leftover, not `server-start'. > >> Hmm... good point. Well, then we can start the server, then wait for >> some >> signal that it's ready, then start emacsclient. Nothing insurmountable, > > Yeah, but I don't think that belongs to emacsclient. I think that > should be another application; perhaps the "launch emacs" app that > Jason has started. > > /L/e/k/t/u I think it will be just a few lines in emacsclient.c. Though I am unsure about some details ... - if setup of a network socket fails, is it then ok to try again later? I mean I assume that the socket setup failed because there was no emacs server running. Can those cases be recognized?