From xemacs-m  Tue Jan 21 11:03:10 1997
Received: from black-ice.cc.vt.edu (root@black-ice.cc.vt.edu [128.173.14.71])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id LAA29238 for <xemacs-beta@xemacs.org>; Tue, 21 Jan 1997 11:03:09 -0600 (CST)
Received: from black-ice.cc.vt.edu (valdis@LOCALHOST [127.0.0.1])
          by black-ice.cc.vt.edu (8.8.4/8.8.4) with ESMTP
	  id MAA20956; Tue, 21 Jan 1997 12:02:22 -0500
Message-Id: <199701211702.MAA20956@black-ice.cc.vt.edu>
X-Mailer: exmh version 2.0beta 12/23/96
To: Benedikt Eric Heinen <beh@icemark.thenet.ch>
Cc: XEmacs Beta mailing list <xemacs-beta@xemacs.org>
Subject: Re: xemacs -unmapped & gnuserv... 
In-Reply-To: Your message of "Tue, 21 Jan 1997 17:56:26 +0100."
             <Pine.LNX.3.95.970121163342.4793D-100000@icemark.thenet.ch> 
From: Valdis.Kletnieks@vt.edu
X-Url: http://black-ice.cc.vt.edu/~valdis/
References: <Pine.LNX.3.95.970121163342.4793D-100000@icemark.thenet.ch>
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="==_Exmh_269583992P";
	micalg=pgp-md5; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Date: Tue, 21 Jan 1997 12:02:21 -0500

--==_Exmh_269583992P
Content-Type: text/plain; charset=us-ascii

On Tue, 21 Jan 1997 17:56:26 +0100, you said:
> Ideally I'd like xemacs to become a real xemacs server for me, i.e. start
> it during bootup in server mode, so that I can gnuattach/gnuclient it from
> everywhere everytime. But it seems, that I can only get the desired
> behaviour if I start xemacs with -unmapped, but that only works once X is
> active - or is there a way to get this working as desired?

Hmm.. I launch it out of my CDE startup, so I wouldn't know about that...

>   Also, when I start 'xemacs -unmapped -l loadnstart-gnuserv.el &' to get
> a server and then start a gnuclient, is there a way I can make xemacs
> close that frame again when I am done working with it? Unless I already
> have a second frame open from another gnuclient, I get the message 'Not
> deleting last visible frame...' - is there any way that I *CAN* close the
> the last frame of an emacs-server without exiting the whole server?

In your .emacs, put this:

(setq server-kill-last-frame t)

which should provide the desired effect...

-- 
				Valdis Kletnieks
				Computer Systems Engineer
				Virginia Tech



--==_Exmh_269583992P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBMuT2mtQBOOoptg9JAQHSlQQAtGhBdr2jsqa75rCz1aGW5fG47WOIEysP
nthI88snrzoV6hIPnpk+utZe5CnofX/C23cJw0Li2F71h2IbE7hn1gNULM8FJ/DL
Y7sBfWw/UGMERvu1EM1pFkl8jvHeFPi+Z0OSyIh70v3w1eZ2iVxsT9t7uoHZ2myH
lS58bPj7Nas=
=3wz1
-----END PGP MESSAGE-----

--==_Exmh_269583992P--

