From xemacs-m  Wed Jul  9 06:51:20 1997
Received: from frege.math.ethz.ch (root@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id GAA09821
	for <xemacs-beta@xemacs.org>; Wed, 9 Jul 1997 06:51:14 -0500 (CDT)
Received: from midget.math.ethz.ch (vroonhof@midget [129.132.145.4]) by frege.math.ethz.ch (8.6.12/Main-STAT-mailer) with ESMTP id NAA14164 for <xemacs-beta@xemacs.org>; Wed, 9 Jul 1997 13:49:43 +0200
Received: (vroonhof@localhost) by midget.math.ethz.ch (8.6.12/D-MATH-client) id NAA11643; Wed, 9 Jul 1997 13:48:07 +0200
To: xemacs-beta@xemacs.org
Subject: Re: [patch] File->Delete Frame sensitivity
References: <l2en99mi2s.fsf@chaos.hut.fi> <by4ta4smgi.fsf@midget.math.ethz.ch> <l2bu4cmqs1.fsf@chaos.hut.fi>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Date: 09 Jul 1997 13:48:07 +0200
In-Reply-To: Aki Vehtari's message of 09 Jul 1997 14:03:10 +0300
Message-ID: <byoh8co39k.fsf@midget.math.ethz.ch>
Lines: 27
X-Mailer: Gnus v5.4.55/XEmacs 19.15

Aki Vehtari <Aki.Vehtari@hut.fi> writes:

>  Jan> One should probably make sure whether it uses the same
>  Jan> logic as delete-frame uses internally.

> Yes, it shouldn't count minibuffer-only frames.

delete-frame checks wether there are other frames which have there
mini-buffer on this frame to be precise.

> But should it count tty frames?

It should active whenever delete-frame is allowed and makes sense.
Therefore it should respect things like
allow-deletion-of-last-visible-frame.

Unfortunately most of the logic used in delete_frame_internal is not
exported to the lisp level. 




> And what is difference
> with console-types 'x and 'window-system?

Window-system is for compatibility obly. 

