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 14:36:35 -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=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1163446681 24323 80.91.229.2 (13 Nov 2006 19:38:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2006 19:38:01 +0000 (UTC) Cc: Lennart Borgman , Jason Rumney , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 13 20:37:58 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 1Gjhco-0005xu-CB for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2006 20:37:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gjhce-0004HA-P4 for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2006 14:37:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gjhc7-00041H-Tw for emacs-devel@gnu.org; Mon, 13 Nov 2006 14:37:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gjhc5-00040J-NX for emacs-devel@gnu.org; Mon, 13 Nov 2006 14:37:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gjhc5-00040E-Jl for emacs-devel@gnu.org; Mon, 13 Nov 2006 14:37:01 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gjhbq-0007dr-WB; Mon, 13 Nov 2006 14:36:49 -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 BD6602CEF88; Mon, 13 Nov 2006 14:36:40 -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 D96423FE0; Mon, 13 Nov 2006 14:36:35 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id C07A84C6D25; Mon, 13 Nov 2006 14:36:35 -0500 (EST) Original-To: "Juanma Barranquero" In-Reply-To: (Juanma Barranquero's message of "Mon\, 13 Nov 2006 15\:40\:38 +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:62233 Archived-At: >> Another thing would like is to have emacsclient optionally request that >> emacs runs `server-start=B4 when starting emacs. Is not that much easier >> for new emacs users? Does not that also makes it easier to take care of >> the --server-file option? > How do you propose to do that in a generic way? You'll have to add > environment variables or new args to allow customizing it. I don't see much problem here: just start Emacs with something like "emacs --eval (server-mode 1)". > For example, I don't run `server-start', but `server-mode', because the > later runs `server-mode-hook', which I need. I consider `server-start' as a left over from the past. > How do you know how much to wait before retrying emacsclient? 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. > Will you pass to Emacs the server-name? We should, yes. Stefan