GNU bug report logs -
#19194
24.4.50; `window-body-width' is not dynamic relative to font size changes
Previous Next
Reported by: Joe Corneli <holtzermann17 <at> gmail.com>
Date: Wed, 26 Nov 2014 13:48:01 UTC
Severity: normal
Tags: notabug
Merged with 20022
Found in versions 24.4.50, 24.4.90
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #80 received at 19194 <at> debbugs.gnu.org (full text, mbox):
> Now done on trunk.
Thank you.
Mr. Corneli: How about a doc-string that goes as follows?
(window-body-width &optional WINDOW PIXELWISE)
Return the width of WINDOW's text area.
WINDOW must be a live window and defaults to the selected one. The
return value does not include any vertical dividers, fringes or marginal
areas, or scroll bars.
If the optional argument PIXELWISE is nil, return the largest integer
smaller than WINDOW's pixel width divided by the character width of
WINDOW's frame. If PIXELWISE is the symbol `window', return the largest
integer smaller than WINDOW's pixel width divided by the character width
of WINDOW. In either of these cases, if a column at the right of the
text area is only partially visible, that column is not counted.
PIXELWISE t means return the exact width of the text area in pixels.
Other values of PIXELWISE are reserved for future use.
martin
This bug report was last modified 3 years and 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.