GNU bug report logs - #19194
24.4.50; `window-body-width' is not dynamic relative to font size changes

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Joe Corneli <holtzermann17 <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 19194 <at> debbugs.gnu.org
Subject: bug#19194: 24.4.50; `window-body-width' is not dynamic relative to font size changes
Date: Sat, 20 Dec 2014 11:52:21 +0000
On Sat, Dec 20 2014, martin rudalics wrote:

>  > Now done on trunk.
>
> Thank you.
>
> Mr. Corneli: How about a doc-string that goes as follows?

The one thing I'd add is an explanation of how "character width" is
found or computed for variable-width fonts.  (E.g. is it the width of an
"M"?)

> 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.




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.