GNU bug report logs - #19972
24.4; Font size change doesn't update (window-total-width)

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Sun, 1 Mar 2015 02:32:02 UTC

Severity: normal

Found in version 24.4

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Joost Kremers <joostkremers <at> fastmail.fm>,  Eli Zaretskii <eliz <at> gnu.org>
Cc: 19972 <at> debbugs.gnu.org
Subject: bug#19972: 24.4; Font size change doesn't update (window-total-width)
Date: Tue, 03 Mar 2015 09:06:09 +0100
>> In that case, I guess if you call (window-total-width 'round), you
>> will see the correct value even before "C-x 3", right?
>
> No, it doesn't. It still returns 240, i.e., the same value returned by
> (window-total-width).

Observe that

(window-total-width 'round)

should get you

(wrong-type-argument window-valid-p round)

As a rule `window-' prefixed functions require a window as first
argument.

The form to evaluate should be either (window-total-width nil 'ceiling)
or (window-total-width nil 'floor).  Any other value for ROUND behaves
like `window-total-width' called without ROUND argument.

martin




This bug report was last modified 7 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.