From xemacs-m  Wed Jan  8 07:29:17 1997
Received: from xemacs.cs.uiuc.edu (localhost [127.0.0.1])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id HAA09755; Wed, 8 Jan 1997 07:29:17 -0600 (CST)
Message-Id: <199701081329.HAA09755@xemacs.cs.uiuc.edu>
To: Hunter Kelly <retnuh@corona.pixar.com>
cc: greg@alphatech.com, xemacs-beta@xemacs.org (XEmacs beta list)
Subject: Re: scrollbars 
In-reply-to: Your message of "07 Jan 1997 18:13:56 PST."
             <yvtn2uk6hi3.fsf@corona.pixar.com> 
Date: Wed, 08 Jan 1997 07:29:15 -0600
From: Chuck Thompson <cthomp@xemacs.org>

    Hunter> Hmmm.  What I'm about to suggest is obviously not
    Hunter> "correct", but it may be close enough to make most people
    Hunter> happy.  Couldn't we do something like figure out the
    Hunter> number of newlines, and then make some kind of guess at
    Hunter> the average height of each line?

Sure.  That is the easy(ier) scenario.  The problem is that (X)Emacs
isn't efficient at determining the number of newlines.  Emacs 19.x may
actually have a newline cache implemented now.  A group that did some
modifications to use Emacs for editing gene sequences implemented such
a thing so that the performance of their code sucked.  It was
supposedly going to be integrated back into the main source tree.  I
don't know if it ever did.  Even then I don't know what would be
involved in porting it.


			-Chuck

