bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Joost Kremers
Subject: bug#19972: 24.4; Font size change doesn't update (window-total-width)
Date: Tue, 03 Mar 2015 13:08:00 +0100

On Tue, Mar 03 2015, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Joost Kremers <joostkremers@fastmail.fm>
>> Cc: rudalics@gmx.at, 19972@debbugs.gnu.org
>> Date: Mon, 02 Mar 2015 23:26:58 +0100
>> 
>> >> Sorry, forgot that. `window-width' doesn't have the same issue. On my
>> >> system, with a maximised Emacs frame (Emacs version 25.0.50.1), it
>> >> returns 236 before `custom-push-theme' + `face-spec-recalc', and 188
>> >> after it, even without doing `C-x 3' followed by `C-x 1'.
>> >
>> > 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).
>> 
>> (window-width) returns 188.
>
> That's very strange, since they use the same data.  But if Martin's
> patch fixes the issue for you (does it?), we don't need to pursue this
> further.

As Martin says, with `ceiling' or `floor' the return value is 192 instead
of 240.

-- 
Joost Kremers
Life has its moments





reply via email to

[Prev in Thread] Current Thread [Next in Thread]