At 08:41 PM 1/12/00 +0100, Jan Vroonhof wrote:
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.
Its easy to fix:
--- window.c~ Wed Jan 12 15:56:40 2000
+++ window.c Thu Jan 13 08:24:04 2000
@@ -1297,7 +1297,7 @@
*/
(window))
{
- return make_int (window_char_height (decode_window (window), 1));
+ return make_int (window_char_height (decode_window (window), 0));
}
DEFUN ("window-displayed-height", Fwindow_displayed_height, 0, 1, 0, /*
It just didn't seem like this was what was intended. If you think this is a
reasonable fix then I will apply it.
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd