From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: Re: How to run server-start only if not already running? Date: Wed, 7 Nov 2007 00:00:02 +0000 (GMT) Message-ID: References: <4730FF34.2050503@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1194393626 31633 80.91.229.12 (7 Nov 2007 00:00:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2007 00:00:26 +0000 (UTC) Cc: Emacs Bugs To: "Lennart Borgman (gmail)" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 07 01:00:29 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 1IpYLJ-000643-OE for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Nov 2007 01:00:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpYL8-0003B3-TL for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Nov 2007 19:00:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpYL3-0003AN-BX for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2007 19:00:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpYL1-00039g-JL for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2007 19:00:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpYL1-00039W-DR for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2007 19:00:07 -0500 Original-Received: from pelican.sc3d.org ([216.184.201.86]) by monty-python.gnu.org with esmtps (SSL 3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IpYL0-00063i-LD for bug-gnu-emacs@gnu.org; Tue, 06 Nov 2007 19:00:07 -0500 DomainKey-Signature: a=rsa-sha1; s=key1024; d=sc3d.org; c=nofws; q=dns; b=ZAyW4k3mMCXj/n3iGUudW/ecN9OEfXNzKWw9aPElo9b+KLnVedT0jX/A1Pis2avscTgP/QxYVJclphOrJN7FF9/bbYnyYFhMRgjRiI3IL5cyfnYwTb4JHkPjXpxt1Ae3pN9OcMwdwsgK5lqK9OhQcvkJNVKw5ABFShxJdx1CaSo= Original-Received: from localhost (cpc4-hitc1-0-0-cust477.lutn.cable.ntl.com [86.11.13.222]) by pelican.sc3d.org (pf ESMTP spamd IP-based SPAM blocker) with ASMTP (SSL) id MLH40605; Tue, 06 Nov 2007 19:00:05 -0500 X-X-Sender: rrt@localhost.localdomain In-Reply-To: <4730FF34.2050503@gmail.com> X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:16933 Archived-At: On Wed, 7 Nov 2007, Lennart Borgman (gmail) wrote: > 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? That's right. If I just have emacs and no server, it would be nice to get emacs to start the server. -- http://rrt.sc3d.org/ Reality is what refuses to disappear when you stop believing in it (Dick)