From xemacs-m  Sun May 18 12:32:48 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA04519
	for <xemacs-beta@xemacs.org>; Sun, 18 May 1997 12:32:46 -0500 (CDT)
Received: by crystal.WonderWorks.COM 
	id QQcqcc19994; Sun, 18 May 1997 13:32:47 -0400 (EDT)
Date: Sun, 18 May 1997 13:32:47 -0400 (EDT)
Message-Id: <QQcqcc19994.199705181732@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: <xemacs-beta@xemacs.org>
Subject: Re: -unmapped 'not deleteing last visible frame'
In-Reply-To: <199705181145.EAA32348@bittersweet.inetarena.com>
References: <199705151219.HAA04546@xemacs.org>
	<kigvi4kdhls.fsf@jagor.srce.hr>
	<by911gal1t.fsf@midget.math.ethz.ch>
	<kign2pwddmr.fsf@jagor.srce.hr>
	<by7mh0ag5m.fsf_-_@midget.math.ethz.ch>
	<QQcpsc25416.199705160043@crystal.WonderWorks.COM>
	<kig3eroc7sa.fsf@jagor.srce.hr>
	<QQcptc00830.199705160706@crystal.WonderWorks.COM>
	<kigwwozaksi.fsf@jagor.srce.hr>
	<QQcpyq00946.199705171900@crystal.WonderWorks.COM>
	<199705180621.XAA23803@bittersweet.inetarena.com>
	<kig4tc1xndc.fsf@jagor.srce.hr>
	<199705181145.EAA32348@bittersweet.inetarena.com>
X-Mailer: VM 6.32 under 20.2 XEmacs Lucid
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

Karl M. Hegbloom writes:
 > >>>>> "Hrv" == Hrvoje Niksic <hniksic@srce.hr> writes:
 > 
 >     Hrv> It's not right.  But I'm not sure how to go about fixing it,
 >     Hrv> since the C code should also somehow check whether a gnuserv
 >     Hrv> is running, so that you don't stay without any chance to
 >     Hrv> communicate to your XEmacs.  Or should we trust the user, and
 >     Hrv> say:
 > 
 >     Hrv> "if XEmacs was started with `-unmapped', you may remove the
 >     Hrv> last frame, end-of-story."
 > 
 >  Why can't it just remember that it was started with '-unmapped', and
 > allow the last frame to be deleted if t?

-unmapped does not cause XEmacs to be started without any frames.
It causes XEmacs to be started without any visible frames.  If
you delete the last frame, XEmacs will die.  If you dleete the
last visible frame on the current device, XEmacs will close the
device but it might keep running to serve other devices that have
extant frames.

-unmapped could be made to set allow-deletion-of-last-visible-frame
to t.  This is too clever for me personally.  Better would be for
gnuserv.el to fiddle with the value of this variable when gnuserv
starts and exits, if the user says such fiddling is OK.

