From xemacs-m  Fri Feb 28 12:20:54 1997
Received: from palrel1.hp.com (palrel1.hp.com [15.253.72.10])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA08970
	for <xemacs-beta@xemacs.org>; Fri, 28 Feb 1997 12:20:48 -0600 (CST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.62.116]) by palrel1.hp.com with ESMTP (8.7.5/8.7.3) id KAA04466 for <xemacs-beta@xemacs.org>; Fri, 28 Feb 1997 10:20:40 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by cuckoo.hpl.hp.com with SMTP (8.7.1/8.7.1) id SAA20518 for <xemacs-beta@xemacs.org>; Fri, 28 Feb 1997 18:20:39 GMT
Message-Id: <199702281820.SAA20518@cuckoo.hpl.hp.com>
X-Authentication-Warning: cuckoo.hpl.hp.com: Host localhost [127.0.0.1] didn't use HELO protocol
To: xemacs-beta@xemacs.org
Subject: 20.1-b3 bug (and possible fix)
Date: Fri, 28 Feb 1997 18:20:38 +0000
From: Andy Norman <ange@hplb.hpl.hp.com>

If XEmacs is compiled without scrollbar support, doing M-x manual-entry will
complain about scrollbar-height.

The offending line in man.el, in the function Manual-mode is:

  (set-specifier scrollbar-height (cons (current-buffer) 0))

I fixed this with the following patch (reversed -- sorry!).  It may well not
be correct... I know nothing about scrollbars or specifiers.

Configured with:

./configure --with-gnu-make --error-checking=none --debug=no \
            --with-tooltalk=no --with-scrollbars=no \
            --with-database=no --with-socks=no --with-term=no \
            --with-gcc=no --with-xmu=no \
            --x-includes='/usr/include/X11R6 -I/usr/include/X11R5' \
            --x-libraries='/usr/lib/X11R6 -L/usr/lib/X11R5'

This is under HP-UX 10.20.

						-- ange -- <><

http://www-uk.hpl.hp.com/people/ange		ange@hplb.hpl.hp.com


--- lisp/packages/man.el	Fri Feb 28 18:07:56 1997
+++ lisp/packages/man.el	Fri Feb 28 18:07:56 1997
@@ -259,8 +259,7 @@
   ;; overran by a couple of chars.
   (setq truncate-lines t)
   ;; turn off horizontal scrollbars in this buffer
-  (if (featurep 'scrollbar)
-      (set-specifier scrollbar-height (cons (current-buffer) 0)))
+  (set-specifier scrollbar-height (cons (current-buffer) 0))
   (run-hooks 'Manual-mode-hook))
 
 (defun Manual-last-page ()

