From xemacs-m  Sun May  4 21:47:57 1997
Received: from crystal.WonderWorks.COM ([192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA17437
	for <xemacs-beta@xemacs.org>; Sun, 4 May 1997 21:47:55 -0500 (CDT)
Received: by crystal.WonderWorks.COM 
	id QQcodv21900; Sun, 4 May 1997 22:47:55 -0400 (EDT)
Date: Sun, 4 May 1997 22:47:55 -0400 (EDT)
Message-Id: <QQcodv21900.199705050247@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: Calculated height of buffer/window vs scrollbar
Newsgroups: comp.emacs.xemacs
In-Reply-To: <m3g1w31heh.fsf@indie.fga.de>
References: <m3g1w31heh.fsf@indie.fga.de>
X-Mailer: VM 6.31 under 19.15p3 XEmacs Lucid
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

Oliver Graf writes:
 > A buffer which is slightly larger than the window it is
 > displayed in, results (at least for me) in a scrollbar of
 > full length (i.e. I can't scroll to see the last line in
 > full height using the scrollbar).

See the variable pixel-vertical-clip-threshold.  If a line is
even partially displayed, it is considered visible.  If a line is
considered visible by the display code, then by definition you
don't need to scroll to make it `more' visible.

