From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19972: 24.4; Font size change doesn't update (window-total-width) Date: Mon, 02 Mar 2015 20:25:54 +0200 Message-ID: <83pp8rqmrx.fsf@gnu.org> References: <874mq5o3di.fsf@fastmail.fm> <54F32CDE.9080308@gmx.at> <83pp8sspn2.fsf@gnu.org> <87zj7wmysq.fsf@fastmail.fm> <83lhjgsj96.fsf@gnu.org> <87y4ngmoso.fsf@fastmail.fm> <83k2z0rs8o.fsf@gnu.org> <87d24srqw2.fsf@fastmail.fm> <834mq3sdf8.fsf@gnu.org> <54F4991D.6080600@gmx.at> <83twy3qp4o.fsf@gnu.org> <54F4A81A.2090102@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425320842 18293 80.91.229.3 (2 Mar 2015 18:27:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2015 18:27:22 +0000 (UTC) Cc: joostkremers@fastmail.fm, 19972@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 19:27:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YSV3e-00010q-QV for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Mar 2015 19:27:11 +0100 Original-Received: from localhost ([::1]:58795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSV3d-0003AY-VF for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Mar 2015 13:27:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSV3b-00038x-1V for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2015 13:27:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSV3W-0006in-US for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2015 13:27:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSV3W-0006ij-RN for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2015 13:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YSV3W-0004EU-GL for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2015 13:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Mar 2015 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19972 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19972-submit@debbugs.gnu.org id=B19972.142532077516181 (code B ref 19972); Mon, 02 Mar 2015 18:27:02 +0000 Original-Received: (at 19972) by debbugs.gnu.org; 2 Mar 2015 18:26:15 +0000 Original-Received: from localhost ([127.0.0.1]:33124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSV2k-0004Cu-UZ for submit@debbugs.gnu.org; Mon, 02 Mar 2015 13:26:15 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:44707) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSV2i-0004Cf-AY for 19972@debbugs.gnu.org; Mon, 02 Mar 2015 13:26:13 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NKL00900KDFN500@a-mtaout22.012.net.il> for 19972@debbugs.gnu.org; Mon, 02 Mar 2015 20:26:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKL009YAKJGLP30@a-mtaout22.012.net.il>; Mon, 02 Mar 2015 20:26:04 +0200 (IST) In-reply-to: <54F4A81A.2090102@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99986 Archived-At: > Date: Mon, 02 Mar 2015 19:12:42 +0100 > From: martin rudalics > CC: joostkremers@fastmail.fm, 19972@debbugs.gnu.org > > > 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 , > >> > 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. Sorry, I didn't realize you were talking about the master branch. Yes, there resize_frame_windows doesn't get called, and the frame dimensions don't change, if it is maximized to begin with.