GNU bug report logs -
#6763
24.0.50.1; Doc string of `window-line-height'
Previous Next
Reported by: IRIE Shinsuke <irieshinsuke <at> yahoo.co.jp>
Date: Fri, 30 Jul 2010 13:56:02 UTC
Severity: minor
Found in version 24.0.50.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
IRIE Shinsuke <irieshinsuke <at> yahoo.co.jp> writes:
> `pos-visible-in-window-p' with no args returns t or nil, so this
> expression returns a boolean if (window-line-height) is nil.
> Since `pos-visible-in-window-p' can't be the substitute, such an
> expression merely causes a meaningless result.
Do you have a test case that shows this bug?
The doc of `pos-visible-in-window-p' says:
---
If POS is visible, return t if PARTIALLY is nil; if PARTIALLY is non-nil,
return value is a list of 2 or 6 elements (X Y [RTOP RBOT ROWH VPOS]),
where X and Y are the pixel coordinates relative to the top left corner
of the window. The remaining elements are omitted if the character after
POS is fully visible; 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.
---
ROWH should be what you're looking for, otherwise?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
This bug report was last modified 14 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.