From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Russell Newsgroups: gmane.emacs.help Subject: server-start preempted by other emacs window Date: 28 Jan 2004 11:34:59 -0500 Organization: Cisco Systems Inc. Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075308485 2608 80.91.224.253 (28 Jan 2004 16:48:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2004 16:48:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 17:47:57 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Alsr7-0004nD-00 for ; Wed, 28 Jan 2004 17:47:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Alsq2-0000bW-EA for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Jan 2004 11:46:50 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-xfer.cox.net!peer01.cox.net!cox.net!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Cache-Post-Path: sj-nntpcache-3!unknown@161.44.79.171 X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 14 Original-Xref: shelby.stanford.edu gnu.emacs.help:120514 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16460 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16460 Is there a way to have emacs check to see if another server process is running before it runs server-start? My issue is that if I have one emacs window open (my IDE) and then open another one for gnus, the last one opened always destroys any server process in existence. So all emacsclient calls go to the gnus window, and when that window gets closed, there is no longer any server running at all. I was hoping for a boolean function call or something, but apropos wasn't helpful. Any ideas? Thanks. John