From xemacs-m  Mon Dec 30 11:19:47 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id LAA16066 for <xemacs-beta@xemacs.org>; Mon, 30 Dec 1996 11:19:46 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id JAA04150; Mon, 30 Dec 1996 09:30:17 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: Bug in window-displayed-height?
References: <kig4thnbvpr.fsf@jagor.srce.hr> <m220cqlkms.fsf@proletcult.slip.ifi.uio.no>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Lars Magne Ingebrigtsen's message of 16 Dec 1996 13:49:15 +0100
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII
Date: 30 Dec 1996 09:30:16 -0800
Message-ID: <m2iv5kc53r.fsf@altair.xemacs.org>
Lines: 55
X-Mailer: Red Gnus v0.72/XEmacs 20.0

I've found some new symptoms of what looks to be the same problem.  In
particular, the scrollbar doesn't appear to be getting valid buffer
size information at all times.  In the case I ran across, executing
recenter caused the scrollbar to truncate the top of the file until
the window was split and restored.  I have not reduced this to a
simple test case yet.

>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:

Lars> Hrvoje Niksic <hniksic@srce.hr> writes:
Hrvoje> What exactly bug is this?  I am refering to the docstring of
Hrvoje> gnus-xmas-force-redisplay:
Hrvoje> 
Hrvoje> If non-nil, force a redisplay before recentering the summary buffer.
Hrvoje> This is ugly, but it works around a bug in `window-displayed-height'.
Hrvoje> 
Hrvoje> I've had this set to nil for quite awhile, and have observed no
Hrvoje> incorrect behaviour.  How exactly does this bug manifest, and in what
Hrvoje> way is window-displayed-height incorrect?

Lars> It's a bit tricky to reproduce, but I was able to reproduce it
Lars> consistently with XEmacs 19.14 using a particular Gnus window config.

Lars> Let's say you have:

Lars> ----
Lars> Win1
Lars> ----
Lars> Win2
Lars> ----
Lars> Win3
Lars> ----

Lars> And then you change the window config to:

Lars> ----
Lars> Win2


Lars> ----
Lars> Win3
Lars> ----

Lars> Before the redisplay, `window-displayed-height' would report the
Lars> previous Win2 window height.  A `(sit-for 0)' before the
Lars> `window-displayed-height' would result in the right value being
Lars> returned. 

Lars> I haven't tried any of this with the new betas.

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

