From xemacs-m  Sun Apr 13 15:12:11 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA05218
	for <xemacs-beta@xemacs.org>; Sun, 13 Apr 1997 15:12:06 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id WAA21418; Sun, 13 Apr 1997 22:12:01 +0200 (MET DST)
Sender: hniksic@public.srce.hr
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: outline-mode is working in tty-only mode, but...
References: <199704131857.UAA09799@sol1.cybernet-ag.net>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nA
        EL1M(".[qvI#a2E6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/X
        vhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 13 Apr 1997 22:12:00 +0200
In-Reply-To: Axel Seibert's message of Sun, 13 Apr 1997 20:57:58 +0200 (MET DST)
Message-ID: <kigybamwulr.fsf@jagor.srce.hr>
Lines: 36
X-Mailer: Gnus v5.4.42/XEmacs 19.15

Axel Seibert <aseibert@cybernet-ag.net> writes:

> I'm not sure what it is doing during this time - but I guess those
> glyphs have something to do with X11...? Can we spare them for the tty
> or is this necessary?

It's always been that way, e.g. in 19.14 with `xemacs -nw', because
`view-emacs-news' loads `outl-mouse' explicitly.

Since outl-mouse provides no useful glyph interface (all you get are
[xpm] textlets), I propose the following patch.  For it to work,
you'll help to redump XEmacs.  If you just wish to test the function,
simply re-eval `view-emacs-news' after applying the patch.  It works
for me, both ways.

--- lisp/prim/help.el.orig	Sun Apr 13 22:09:04 1997
+++ lisp/prim/help.el	Sun Apr 13 22:09:17 1997
@@ -579,7 +579,8 @@
 (defun view-emacs-news ()
   "Display info on recent changes to XEmacs."
   (interactive)
-  (require 'outl-mouse)
+  (if (console-on-window-system-p)
+      (require 'outl-mouse))
   (find-file (expand-file-name "NEWS" data-directory)))
 
 (defun xemacs-www-page ()



-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
WWW:  World-Wide-Waste.  Waste management corporation, which
      handles the billions of tons of garbage generated by just
      about everybody these days.

