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: Font size change doesn't update (window-total-width) Date: Thu, 05 Mar 2015 22:22:38 +0200 Message-ID: <83pp8nnqi9.fsf@gnu.org> References: <874mq5o3di.fsf@fastmail.fm> <2B9A60CD-AAAA-40E8-B116-8A75A78B0DDC@sanityinc.com> <83bnkbsf5u.fsf@gnu.org> <54F4A120.2060506@swipnet.se> <83r3t7qo5b.fsf@gnu.org> <54F4B4CF.90905@swipnet.se> <83lhjfqira.fsf@gnu.org> <837fuyqcx5.fsf@gnu.org> <54F5F3A9.1090108@gmx.at> <83zj7uot7m.fsf@gnu.org> <54F5FF12.10401@gmx.at> <83sidmoria.fsf@gnu.org> <54F72070.8040709@gmx.at> <83fv9kpsd7.fsf@gnu.org> <54F752D3.7050800@gmx.at> <838ufcpp0t.fsf@gnu.org> <54F80E7D.8050303@gmx.at> <834mpzpfm8.fsf@gnu.org> <54F89D0F.9000205@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425587006 25540 80.91.229.3 (5 Mar 2015 20:23:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2015 20:23:26 +0000 (UTC) Cc: steve@sanityinc.com, 19972@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 05 21:23:15 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 1YTcId-0008E0-3g for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 21:23:15 +0100 Original-Received: from localhost ([::1]:54690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcIc-0005sf-5S for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Mar 2015 15:23:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcIU-0005p8-Rw for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:23:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTcIQ-0004ja-BJ for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:23:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTcIQ-0004jO-7k for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YTcIP-00059S-Re for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 15:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Mar 2015 20:23:01 +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.142558696819773 (code B ref 19972); Thu, 05 Mar 2015 20:23:01 +0000 Original-Received: (at 19972) by debbugs.gnu.org; 5 Mar 2015 20:22:48 +0000 Original-Received: from localhost ([127.0.0.1]:36452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTcIB-00058p-VG for submit@debbugs.gnu.org; Thu, 05 Mar 2015 15:22:48 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:59892) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTcI9-00058a-GQ for 19972@debbugs.gnu.org; Thu, 05 Mar 2015 15:22:46 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NKR00H009ECO700@a-mtaout23.012.net.il> for 19972@debbugs.gnu.org; Thu, 05 Mar 2015 22:22:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKR00H0L9XQN640@a-mtaout23.012.net.il>; Thu, 05 Mar 2015 22:22:39 +0200 (IST) In-reply-to: <54F89D0F.9000205@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:100108 Archived-At: > Date: Thu, 05 Mar 2015 19:14:39 +0100 > From: martin rudalics > CC: jan.h.d@swipnet.se, steve@sanityinc.com, 19972@debbugs.gnu.org > > Suppose an application wants to add 5 lines and 5 columns to a frame. > It can do that in one call > > (set-frame-size nil (+ (frame-width) 5) (+ (frame-height) 5)) > > or via > > (progn > (set-frame-width nil (+ (frame-width) 5)) > (set-frame-height nil (+ (frame-height) 5))) > > I suppose that most people would consider these forms idempotent. > > However, before the fix, `set-frame-height' could fail because Emacs has > to tell Windows (via AdjustWindowRect) what the desired window width is. > But the width Emacs knows about at that time is still that from before > the `set-frame-width' call. Did we try back then to sleep a few tens of milliseconds after each such call?