From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: EmacsW32 invocation options Date: Wed, 02 May 2007 16:30:44 +0200 Message-ID: <4638A094.8090708@gmail.com> References: <59osrdF2m97hgU1@mid.individual.net> <4637A396.9000300@gmail.com> <46383B57.6050508@gmail.com> <87ejlzjv27.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1178116283 17792 80.91.229.12 (2 May 2007 14:31:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 May 2007 14:31:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Hadron To: Juanma Barranquero Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 02 16:31:19 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HjFrP-0002A8-3j for geh-help-gnu-emacs@m.gmane.org; Wed, 02 May 2007 16:31:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjFxo-0004ZF-JW for geh-help-gnu-emacs@m.gmane.org; Wed, 02 May 2007 10:37:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HjFxZ-0004Z6-Rh for help-gnu-emacs@gnu.org; Wed, 02 May 2007 10:37:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HjFxZ-0004Yu-1s for help-gnu-emacs@gnu.org; Wed, 02 May 2007 10:37:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjFxY-0004Yq-RM for help-gnu-emacs@gnu.org; Wed, 02 May 2007 10:37:36 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HjFr8-0008FD-9u for help-gnu-emacs@gnu.org; Wed, 02 May 2007 10:30:58 -0400 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:64117 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1HjFr6-0001g3-3o; Wed, 02 May 2007 16:30:56 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 000737-2, 2007-04-30), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1HjFr6-0001g3-3o. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1HjFr6-0001g3-3o 3ab153415608c2bbab248cc76d30c278 X-detected-kernel: Linux 2.6? (barebone, rare!) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43504 Archived-At: Juanma Barranquero wrote: > On 5/2/07, Hadron wrote: > >> Is there a solid reason NOT to start the server automatically if someone >> starts a client? > > Yes. You can read the discussions in the emacs-devel list (those that > Lennart seems to think never happened). Basically, for the client to > be able to start the server, either you put too much "inteligence" in > the client, or you have a way to clearly specify how to pass that info > from the client to the server. I'm quite sure there's a clean way to > do that, and I'm also quite sure it's not the one in EmacsW32-*, at > least the last time I took a look at it. I am sure you know these things much better than me, I just wanted something that worked now. You did the heroes work when you got Emacs client to run on MS Windows. I only reorganized what you wrote and added simple functions for user feedback. I also added a switch --server-file FILENAME for which I wrote "Set filename of the TCP authentication file". I do not know if that is enough, since I did not get any comments on that and I have hardly used it myself. > Also, there's another good reason NOT to start the server > automatically: there was *not enough* time during the Emacs 22 > freeze/pretest to properly develop that feature (hell, we were on the > verge of simply *not* supporting emacsclient on Windows at all, and I > know that for a fact). Lennart's rolled his own, which means that > either we're forced to follow his path, even if we don't like it, or > to do an incompatible change later. Maybe I am missing something, but I tried to avoid compatibility problems. My guess is that the default action will be to start the local server just as it is started in .emacs with (server-start). That is what is done by my patched version of Emacs client now. As I have pointed out several times there are no changes to Emacs itself for this. Another problem is if the code runs on other OS:es. It would be nice if someone tested that. If someone wants to do that, please contact me.