GNU bug report logs -
#14540
24.3.50; Doc: pos-visible-in-window-p: ROWH
Previous Next
Reported by: michael_heerdegen <at> web.de
Date: Mon, 3 Jun 2013 00:58:02 UTC
Severity: minor
Found in version 24.3.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Date: Mon, 03 Jun 2013 02:55:27 +0200
>
> in the docstring of `pos-visible-in-window-p', the explanation of ROWH
> is not understandable (wrong, in my opinion).
>
> It sounds like it would be the (complete) height of the row (visible +
> non-visible part). AFAICT, ROWH specifies the _visible_ height, as
> mentioned in the manual (info "(elisp) Window Start and End").
>
> I suggest to replace
>
> [...]; otherwise, RTOP and RBOT are the number of pixels off-window at
> the top and bottom of the row, ROWH is the height of the display row,
> and VPOS is the row number (0-based) containing POS.
>
> by something like:
>
> [...]; otherwise, RTOP and RBOT are the number of pixels off-window at
> the top and bottom of the display row at POSITION, ROWH is the visible
> height of that row, and VPOS is the (0-based) row number.
Thanks, fixed in trunk revision 112848.
This bug report was last modified 12 years and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.