Subject: bug#13073: 24.0.91; (window-width) doesn't take into account text-scale-adjust 'ed buffers

From: Glenn Morris <[email-masked]>
Date: Mon, 03 Dec 2012 21:21:30 -0500

Raimon Grau wrote:

> I'm trying to get the maximum number of chars that a line would accept
> without overflowing of wrapping
>
> (window-width) gives the number of columns of a given window, but if I
> increase the size of the font, window-width doesn't change the
> value returned.

Please see

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9949