From xemacs-m  Sat Mar 15 19:45:22 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 TAA27327
	for <xemacs-beta@xemacs.org>; Sat, 15 Mar 1997 19:45:21 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQchbb24285; Sat, 15 Mar 1997 20:45:22 -0500 (EST)
Date: Sat, 15 Mar 1997 20:45:22 -0500 (EST)
Message-Id: <QQchbb24285.199703160145@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: dired/gnus on a tty
In-Reply-To: <kig913ofxbn.fsf@jagor.srce.hr>
References: <199703152215.XAA13530@sol1.cybernet-ag.net>
	<kigybboiygo.fsf@jagor.srce.hr>
	<yvialo7oep8a.fsf@atreides.eng.mindspring.net>
	<kiglo7og0u4.fsf@jagor.srce.hr>
	<yviaiv2seksl.fsf@atreides.eng.mindspring.net>
	<kigbu8kfygm.fsf@jagor.srce.hr>
	<QQchay23723.199703160107@crystal.WonderWorks.COM>
	<kig913ofxbn.fsf@jagor.srce.hr>
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

 > > how about coding up the device checking functions so they can be
 > > added to 20.2?
 > 
 > I'd rather implement it the way GNU Emacs implements it -- using a
 > minor mode.  Then all the checks you'd need would be:
 > 
 > (when menu-bar-mode
 >   ... code ...)
 > 
 > `menu-bar-mode' could be device-local, and set to nil on the devices
 > that can't show menus.

Under FSF Emacs menu-bar-mode controls whether menus are displayed.
It doesn't specify maenus can be displayed.  The latter is what we
need predicate functions for.  We already have the menubar-visible-p
specifier with which M-x menu-bar-mode could be implemented.

Whether the menubar is currently visible or not, programs that
have menus should setup the menubar anyway, because the user might
turn on the menubar later.  The same is true for the toolbar.

There's also the matter of popup menus, whose function is unrelated
to whether the menubar is visible or not.

