From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacsclientw Date: Mon, 13 Nov 2006 16:33:31 -0500 Message-ID: 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=us-ascii X-Trace: sea.gmane.org 1163453654 19156 80.91.229.2 (13 Nov 2006 21:34:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2006 21:34:14 +0000 (UTC) Cc: Lennart Borgman , emacs-devel@gnu.org, Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 13 22:34:05 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 1GjjRD-0007cf-Gw for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2006 22:33:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjjRC-0000xL-SF for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2006 16:33:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GjjR2-0000xG-LS for emacs-devel@gnu.org; Mon, 13 Nov 2006 16:33:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GjjR1-0000x4-2L for emacs-devel@gnu.org; Mon, 13 Nov 2006 16:33:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjjR0-0000x1-Ti for emacs-devel@gnu.org; Mon, 13 Nov 2006 16:33:42 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GjjQx-0001C9-NT; Mon, 13 Nov 2006 16:33:39 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 2040F2CF06B; Mon, 13 Nov 2006 16:33:39 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 3A5123FE0; Mon, 13 Nov 2006 16:33:31 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 241894C6D25; Mon, 13 Nov 2006 16:33:31 -0500 (EST) Original-To: "Juanma Barranquero" In-Reply-To: (Juanma Barranquero's message of "Mon\, 13 Nov 2006 21\:08\:29 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:62252 Archived-At: >> I consider `server-start' as a left over from the past. > Well, as I've said, `server-mode-hook' is useful. So we're in violent agreement, aren't we? >> One way is to not wait: let this Emacs server handle the request >> immediately, without going through emacsclient/server. The server is only >> started as a convenience for subsequent uses of emacsclient. > And what if emacsclient was run from a tool that needs to wait for > Emacs (i.e., the user) to do something to the file and send it back? Hmm... good point. Well, then we can start the server, then wait for some signal that it's ready, then start emacsclient. Nothing insurmountable, Stefan