Andy Piper <andy(a)xemacs.org> writes:
height, then point is kept constant and the top clip is changed. The
clip
gets set to zero as soon as you do a normal scroll. I.e. if you scroll by a
real line or scroll more than the amount of visible glyph.
The problem with this is mostly when the high line is the first
line... Then (goto-char (point-min)) occasionally doesn't get you to
the top of the buffer (it does get you to the first line, but it
might be clipped). What happens when you replace the contents of the
clipped line with something else, etc etc...
Some more thought is required for this it seems to me. It also should
be decided whether we want it for special applications only (that
means that behaviour is allowed to be weird from the lisp side or for
normal cursor moments. This will probably suffice for things like
article buffers because normally these are only scrolled explicitly).
I think there should also be away of reading and setting the top clip.
One bold solution would be to allow window start to be a float. The
fractional part would be then the clipping fraction. The should also
be away to do the scrolling with the scrollbar.
Jan