From xemacs-m  Sat Mar 15 20:11:44 1997
Received: from cs.uchicago.edu (alexandria.cs.uchicago.edu [128.135.11.87])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA27477
	for <xemacs-beta@xemacs.org>; Sat, 15 Mar 1997 20:11:43 -0600 (CST)
Received: from rodman.cs.uchicago.edu (rodman [128.135.164.52]) by cs.uchicago.edu (8.8.5/8.7.3) with ESMTP id UAA16427 for <xemacs-beta@xemacs.org>; Sat, 15 Mar 1997 20:11:45 -0600 (CST)
Received: from rodman (localhost [127.0.0.1]) by rodman.cs.uchicago.edu (8.8.5/8.7.3) with ESMTP id UAA15215 for <xemacs-beta@xemacs.org>; Sat, 15 Mar 1997 20:11:45 -0600 (CST)
X-Face: `X="Sg7A[PL3/_8;>>ggjOy&\KtWiH7.wQ>Y"hQ2fxSG9RkPTCT}&^()5[Gp(-DaTf:t`MSBt@Li_C9U@y#i/c?i$uLQ8[';I$mMAm_rZta>l`STW_aA5`iD[!80p#_qmN4#tMu[Pu7wkIi)5*4YXAhg)9R2-BAWPbVOzgE$Ib4QuZn0YaE~'C/7h^CTuPybz$u
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: dired/gnus on a tty
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>
Mime-Version: 1.0 (generated by tm-edit 7.101)
Content-Type: text/plain; charset=US-ASCII
From: Soren Dayton <csdayton@cs.uchicago.edu>
Date: 15 Mar 1997 20:11:40 -0600
In-Reply-To: Hrvoje Niksic's message of 16 Mar 1997 02:19:08 +0100
Message-ID: <xcd4tecmvqb.fsf@rodman.cs.uchicago.edu>
Lines: 45
X-Mailer: Gnus v5.4.12/XEmacs 20.0
Sender: csdayton@cs.uchicago.edu

Hrvoje Niksic <hniksic@srce.hr> writes:

> Kyle Jones <kyle_jones@wonderworks.com> writes:
> 
> > Since you're full of righteous fire on this issue,
> 
> :-)
> 
> > 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.

seems like the wrong approach to me.  If I have four devices, and one
supports a menubar, then I want the menubar stuff done in all the
cases.  Perhaps you do not want to see the menubars in a tty, then you
could do something like (although I imagine that this would be with
set-specifier):

(set-device-feature device 'menubar nil)

Then sudish could get things like:

(set-device-feature 'x 'menubar nil)
(set-device-feature 'x 'toolbar nil)

and all this becomes the problem of the display things for each type of
device.

I say this as someone who frequently uses XEmacs with two devices types
and who would be annoyed if my LaTeX menus in auc-tex were not created
when I looked at them in X.  (It would be nice to have a `detach' type
of function.  This would be useful for things like starting an emacs on
a tty and then deciding that you will want to use it on an X (or NT!)
display.  I imagine that this would be really easy to write.  Little
more than fork, reset the terminal, and exit)

Soren

