From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: joostkremers@fastmail.fm, 19972@debbugs.gnu.org
Subject: bug#19972: 24.4; Font size change doesn't update (window-total-width)
Date: Mon, 02 Mar 2015 19:12:42 +0100 [thread overview]
Message-ID: <54F4A81A.2090102@gmx.at> (raw)
In-Reply-To: <83twy3qp4o.fsf@gnu.org>
>> Here you see resize_frame_windows getting called which will eventually
>> call `window--pixel-to-total' to assign the new total sizes of windows.
>> For Joost this call doesn't happen because new_windows_width equals
>> old_windows_width.
>
> I don't understand why that would happen. It doesn't seem to happen
> for me, with the current emacs-24 branch.
Your backtrace was from Emacs 25. Emacs 24 doesn't have
adjust_frame_size.
>> > #1 0x01011f3e in adjust_frame_size (f=0x17d7a30 <dumped_data+2428016>,
>> > new_width=800, new_height=700, inhibit=5, pretend=false, parameter=8064)
>> > at frame.c:524
[...]
>> Note that x_new_font _always_ calls adjust_frame_size (even for the
>> `set-frame-font' KEEP-SIZE non-nil case) trying to adjust the frame
>> size.
>>
>> I sincerely hope your frame was not maximized here. Otherwise,
>> resize_frame_windows should not have been called ...
>
> It is called with maximized frames as well, see the backtrace below.
>
> #0 0x010913a4 in resize_frame_windows (f=0x3a7b5d0, size=2396, horflag=true,
> pixelwise=true) at window.c:4211
> #1 0x0100ea3e in change_frame_size_1 (f=0x3a7b5d0, new_width=2360,
> new_height=1300, pretend=false, delay=false, safe=false, pixelwise=true)
> at dispnew.c:5610
This backtrace is from Emacs 24 where resize_frame_windows gets called
by change_frame_size_1.
martin
next prev parent reply other threads:[~2015-03-02 18:12 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 2:31 bug#19972: 24.4; Font size change doesn't update (window-total-width) Joost Kremers
2015-03-01 15:14 ` martin rudalics
2015-03-01 15:28 ` Eli Zaretskii
2015-03-01 15:54 ` martin rudalics
2015-03-01 17:07 ` Joost Kremers
2015-03-01 17:46 ` Eli Zaretskii
2015-03-01 20:43 ` Joost Kremers
2015-03-02 3:30 ` Eli Zaretskii
2015-03-02 3:59 ` Joost Kremers
2015-03-02 14:04 ` Eli Zaretskii
2015-03-02 17:08 ` martin rudalics
2015-03-02 17:35 ` Eli Zaretskii
2015-03-02 18:12 ` martin rudalics [this message]
2015-03-02 18:25 ` Eli Zaretskii
2015-03-02 18:43 ` martin rudalics
2015-03-02 18:46 ` Eli Zaretskii
2015-03-02 22:26 ` Joost Kremers
2015-03-03 3:36 ` Eli Zaretskii
2015-03-03 8:07 ` martin rudalics
2015-03-03 9:06 ` Jan Djärv
2015-03-03 10:17 ` martin rudalics
2015-03-03 11:05 ` Jan D.
2015-03-03 11:26 ` martin rudalics
2015-03-03 12:08 ` Jan D.
2015-03-03 12:08 ` Joost Kremers
2015-03-03 8:06 ` martin rudalics
2015-03-02 17:08 ` martin rudalics
2015-03-02 17:07 ` martin rudalics
2015-03-02 17:06 ` martin rudalics
2015-03-01 17:06 ` Joost Kremers
2015-03-02 3:18 ` Joost Kremers
2015-03-02 17:09 ` martin rudalics
2015-03-02 17:24 ` Eli Zaretskii
2015-03-02 18:12 ` martin rudalics
2015-03-02 18:26 ` Eli Zaretskii
2015-03-03 10:38 ` martin rudalics
2015-03-03 12:23 ` Joost Kremers
2015-03-04 15:10 ` martin rudalics
2017-10-02 8:48 ` martin rudalics
2015-03-02 7:57 ` bug#19972: " Steve Purcell
2015-03-02 13:27 ` Eli Zaretskii
2015-03-02 14:07 ` Steve Purcell
2015-03-02 14:09 ` Steve Purcell
2015-03-02 14:24 ` Eli Zaretskii
2015-03-02 17:37 ` Jan D.
2015-03-02 14:23 ` Eli Zaretskii
2015-03-02 17:42 ` Jan D.
2015-03-02 17:56 ` Eli Zaretskii
2015-03-02 19:06 ` Jan D.
2015-03-02 19:52 ` Eli Zaretskii
2015-03-02 20:19 ` Jan D.
2015-03-03 16:11 ` Eli Zaretskii
2015-03-03 17:47 ` martin rudalics
2015-03-03 18:02 ` Eli Zaretskii
2015-03-03 18:36 ` martin rudalics
2015-03-03 18:38 ` Eli Zaretskii
2015-03-04 15:10 ` martin rudalics
2015-03-04 17:47 ` Eli Zaretskii
2015-03-04 18:45 ` martin rudalics
2015-03-04 18:59 ` Eli Zaretskii
2015-03-04 19:25 ` Jan D.
2015-03-05 8:06 ` martin rudalics
2015-03-05 16:34 ` Eli Zaretskii
2015-03-05 18:14 ` martin rudalics
2015-03-05 20:22 ` Eli Zaretskii
2015-03-05 21:15 ` martin rudalics
2015-03-06 8:09 ` Eli Zaretskii
2015-03-06 9:21 ` martin rudalics
2015-03-06 10:58 ` Eli Zaretskii
2015-03-02 14:44 ` Drew Adams
2015-03-02 15:02 ` Steve Purcell
2015-03-02 17:10 ` martin rudalics
2015-03-02 17:23 ` Steve Purcell
2015-03-02 18:12 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F4A81A.2090102@gmx.at \
--to=rudalics@gmx.at \
--cc=19972@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=joostkremers@fastmail.fm \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.