From xemacs-m  Thu Mar  6 08:11:32 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 IAA19916
	for <xemacs-beta@xemacs.org>; Thu, 6 Mar 1997 08:11:30 -0600 (CST)
Received: from fresnel.math.ethz.ch (vroonhof@fresnel [129.132.145.6]) by frege.math.ethz.ch (8.6.12/Main-STAT-mailer) with ESMTP id PAA28576; Thu, 6 Mar 1997 15:10:59 +0100
Received: (vroonhof@localhost) by fresnel.math.ethz.ch (8.6.9/D-MATH-client) id PAA06130; Thu, 6 Mar 1997 15:09:11 +0100
Sender: vroonhof@math.ethz.ch
To: xemacs-beta@xemacs.org, jaeger@informatik.uni-kl.de, steve@miranova.com
Subject: Re: Problem with about-xemacs && view-mode on XEmacs 20.1 beta 5
References: <m0w2ZPv-0001nuC@arthur.pfalz.de>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Date: 06 Mar 1997 15:09:11 +0100
In-Reply-To: Andreas Jaeger's message of Thu, 6 Mar 1997 10:24:51 +0100 (CET)
Message-ID: <byzpwhyuwo.fsf@math.ethz.ch>
Lines: 38
X-Mailer: Gnus v5.4.16/XEmacs 19.15

Andreas Jaeger <aj@arthur.pfalz.de> writes:

I get this on 19.15-b96 too

> Here's the backtrace:
> Signaling: (wrong-number-of-arguments #<compiled-function (from
> "view.elc") (&optional arg) "...(16)" [arg view-mode
> prefix-numeric-value 0 force-mode-line-update] 2
> What's going on here?

If you look into about.el you see:

(defun about-xemacs ()
  (interactive)
  (switch-to-buffer (get-buffer-create "About XEmacs"))
      ....
  (view-mode nil 'kill-buffer)		;; assume the new view-less

So the about menu assumes the new view-less.el. But as you can see
in the backtrace the view-mode functions is loaded from view.el. This
is bad. Probably some package has loaded view.el explicitly.

> If I load (load "mime-setup.el") directly instead of gnus-setup.el I
> don't have a problem.

Also probably gnus-setup.el ....
[ grep grep]
actually it is required by tm-play.el. That gets loaded (indirectly)
from the various tm-gnus, tm-vm etc files.

This is all very bad:

1. Packages should not assume, they should require. Adding
   (require 'view-less) to about.el should help.
2. Having two incompatible view-mode's is bad. May be view.el should
   be scrapped and replaced by a file that loads view-less?

Jan

