From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs Subject: Re: How to run server-start only if not already running? Date: Wed, 07 Nov 2007 00:56:36 +0100 Message-ID: <4730FF34.2050503@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194393432 31028 80.91.229.12 (6 Nov 2007 23:57:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2007 23:57:12 +0000 (UTC) Cc: Emacs Bugs To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 07 00:57:15 2007 Return-path: Envelope-to: geb-bug-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 1IpYIE-0005A8-N4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Nov 2007 00:57:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpYI3-0001gx-Oa for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2007 18:57:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpYHy-0001gq-Ob for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2007 18:56:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpYHw-0001gW-6Y for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2007 18:56:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpYHw-0001gR-1I for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2007 18:56:56 -0500 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 1IpYHv-0005I2-Et for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2007 18:56:55 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:63645 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IpYHr-0006TX-3r; Wed, 07 Nov 2007 00:56:51 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 071106-0, 2007-11-06), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1IpYHr-0006TX-3r. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1IpYHr-0006TX-3r a03c09179fc3f29045faf83276af0ea7 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16932 Archived-At: Reuben Thomas wrote: > On Wed, 7 Nov 2007, Andreas Schwab wrote: > > [useful code] > > Thanks for that. Could something like this be built in as an option to > server-start? > >> Kinda chicken-and-egg: how do you contact the running Emacs without the >> server? > > I don't know. I was hoping there was an answer. What is possible is to make emacsclient start Emacs and the server, but I guess that is not what you want?