"nix" == nix <nix(a)esperi.demon.co.uk> writes:
nix> I dug into this at last (only six months after you asked) and
nix> found bigger problems. I think big chunks of scroll-in-place's
nix> design are probably wrong.
Now it is my turn to reply lazily :-).
First, thank you for taking the time to look into this, and for writing up a
sketch of a proposed fix. I don't have time right now to properly consider the
issues you raise, but I do intend to maintain `scroll-in-place', and so I will
keep your comments in my list of things to look into.
Second, ``wrong'' is a pretty strong word. You are correct that the current
design is based on certain assumptions --- most notably, the assumption that
display lines have constant height --- and the general validity of those
assumptions may change over time. But I think that when `scroll-in-place.el'
was last modified, in 1994, the assumptions that underlie the design were
largely valid.
(Last modified by me, in any case. I see that people have made some minor
hacks to the version that is now distributed with XEmacs, but they appear to be
insignificant.)
To a great extent, I think that the constant-height line assumption is still
often true, although I agree with you that it is increasingly less often true,
and that `scroll-in-place' should be updated to deal with variable-height lines
in a more graceful manner.
I will give this matter some thought, and think about the approach that you
propose. Exactly when, though, I can't say.
Eric.
--
-------------------------------------------------------------------------------
Eric Eide <eeide(a)cs.utah.edu> . University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX