From xemacs-m  Fri Feb 28 22:19:10 1997
Received: from loiosh.kei.com (ckd@loiosh.kei.com [192.88.144.32])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA17639
	for <xemacs-beta@xemacs.org>; Fri, 28 Feb 1997 22:19:09 -0600 (CST)
Received: (from ckd@localhost)
	by loiosh.kei.com (8.8.5/8.8.5) id XAA03596;
	Fri, 28 Feb 1997 23:18:06 -0500 (EST)
To: xemacs-beta@xemacs.org
Subject: Re: gnus-xmas-force-redisplay defaults to t
References: <w43evbq6i9.fsf@loiosh.kei.com> 	<vkk9nsik4j.fsf@cdc.noaa.gov> <QQcexl26288.199703010015@crystal.WonderWorks.COM>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: Christopher Davis <ckd@loiosh.kei.com>
Date: 28 Feb 1997 23:18:06 -0500
In-Reply-To: Kyle Jones's message of Fri, 28 Feb 1997 19:15:55 -0500 (EST)
Message-ID: <w4sp2g454x.fsf@loiosh.kei.com>
X-Mailer: Gnus v5.4.15/XEmacs 19.15
X-Face:  I8Alb*-ZdjN\/8k_QR,^l^m6GQB'S-B:}DVP].1HOw#tx:TX$k;Wl;4zqjWR|-jheM#?&be
 R<z=pG{]"563AA5pml2_[f:k>f(!|0<U[iwGMH"Z(rIqt9rGO*^KRV6^ej+*37UKHhC%+"7T>b0m=M
 ~=%.Am>"QEY.(#Ys.%"s?z,hmwp&y0%p>9+T
X-Attribution: ckd

KJ> == Kyle Jones <kyle_jones@wonderworks.com>

 KJ> Turning off the horizontal scrollbar makes this problem go away,
 KJ> I think.

 KJ> (set-specifier scrollbar-height (cons (current-buffer) 0)).

Well, duh.

No wonder I never saw this problem!

;; use this to turn off scrollbars for specific buffers
(defun ckd-no-hscrollbar-this-buffer ()
  "Turn off the horizontal scrollbar for this buffer."
  (and (fboundp 'set-specifier)
       scrollbar-height
       (set-specifier scrollbar-height (cons (current-buffer) 0))))

(add-hook 'gnus-summary-mode-hook 'ckd-no-hscrollbar-this-buffer)
(add-hook 'gnus-group-mode-hook 'ckd-no-hscrollbar-this-buffer)
(add-hook 'gnus-server-mode-hook 'ckd-no-hscrollbar-this-buffer)

