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: The emacsclient socket vs. etc/emacs.bash Date: Fri, 15 Dec 2006 14:54:26 +0100 Message-ID: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1166191667 32737 80.91.229.10 (15 Dec 2006 14:07:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 14:07:47 +0000 (UTC) Cc: Juanma Barranquero , romain@orebokech.com, rms@gnu.org, Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 15 15:07:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvDip-0006bE-Fs for ged-emacs-devel@m.gmane.org; Fri, 15 Dec 2006 15:07:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvDio-0000Ox-Vk for ged-emacs-devel@m.gmane.org; Fri, 15 Dec 2006 09:07:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GvDhf-0007tO-Qn for emacs-devel@gnu.org; Fri, 15 Dec 2006 09:06:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GvDhc-0007nW-FS for emacs-devel@gnu.org; Fri, 15 Dec 2006 09:06:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvDhb-0007mQ-LI for emacs-devel@gnu.org; Fri, 15 Dec 2006 09:06:19 -0500 Original-Received: from [130.235.208.46] (helo=piraten.student.lu.se) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GvDha-0004xQ-4k; Fri, 15 Dec 2006 09:06:18 -0500 Original-Received: from net.lu.se (localhost [127.0.0.1]) by piraten.student.lu.se (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0JAB00K3PIMQEO@piraten.student.lu.se>; Fri, 15 Dec 2006 14:54:26 +0100 (MET) Original-Received: from [212.209.42.132] by piraten.student.lu.se (mshttpd); Fri, 15 Dec 2006 14:54:26 +0100 Original-To: storm@cua.dk (Kim F. Storm) X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.14 (built Mar 18 2003) Content-language: sv Content-disposition: inline X-Accept-Language: sv Priority: normal 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:63770 Archived-At: From: storm@cua.dk (Kim F. Storm) Date: Friday, December 15, 2006 2:37 pm Subject: Re: The emacsclient socket vs. etc/emacs.bash > "Juanma Barranquero" writes: > > > On 12/9/06, Richard Stallman wrote: > > > >> - time 0: Emacs 1 starts its server. > >> - time 1: Emacs 2 starts its server, overriding Emacs 1's > server.>> > >> Isn't that already a problem? > >> Shouldn't we prevent this from happening, somehow? > > > > I agree. I don't like Emacs 2 blindly overwritting Emacs 1's server > > (or socket) file. > > I hate that too. > > I typically have a "master emacs" instance running all the time. > Sometimes I start another instance (e.g. in a terminal window) > just to make some small change to a config file - and blammo - > the server is no longer associated with the master emacs. > > But is this the right time to change this (it's been like that for > ages). This is one of the situation where it might be good to not have anything about server start in the startup files. If emacsclient starts emacs automatically then you do not need that. Starting another emacs is then safe at least from this point of view.