[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14540: 24.3.50; Doc: pos-visible-in-window-p: ROWH
From: |
Eli Zaretskii |
Subject: |
bug#14540: 24.3.50; Doc: pos-visible-in-window-p: ROWH |
Date: |
Tue, 04 Jun 2013 19:34:48 +0300 |
> From: Michael Heerdegen <michael_heerdegen@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.