Andy Piper <andy(a)xemacs.org> writes:
> I looked at `window-height', and see that it accounts for
the
> modeline and possible scrollbar, but it does not (yet) account for
> the tab gutter, and needs to. I am not capable at this time of
> making that patch, or I would. I just plain don't understand things
> well enough yet to monkey with it.
If page down is using window-height then that is the bug - it should use
window-displayed-height instead. window-height should yield consistent
geometries, not accurate numbers of lines.
Aha... So this is what is breaking things like ispell's computation
for its window.
I really think you want to change window height to take the gutter
into account. window-height is really meant to do as good an
approximation of window-displayed-height without doing a redisplay.
The main purpose is to make code from the pre-varying-height-font era
(i.e. FSF code) work correctly.
Jan