From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Purcell Newsgroups: gmane.emacs.bugs Subject: bug#19972: Font size change doesn't update (window-total-width) Date: Mon, 2 Mar 2015 14:07:27 +0000 Message-ID: <8B7604B9-1637-4C35-B03D-BABE7D5271FA@sanityinc.com> References: <874mq5o3di.fsf@fastmail.fm> <2B9A60CD-AAAA-40E8-B116-8A75A78B0DDC@sanityinc.com> <83bnkbsf5u.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1425305305 31351 80.91.229.3 (2 Mar 2015 14:08:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2015 14:08:25 +0000 (UTC) To: 19972@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 02 15:08:14 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 1YSR13-0002TB-Jz for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Mar 2015 15:08:13 +0100 Original-Received: from localhost ([::1]:57281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSR13-0006mv-18 for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Mar 2015 09:08:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSR0x-0006iJ-Dz for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2015 09:08:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSR0s-0004oW-Ob for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2015 09:08:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSR0s-0004oR-LK for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2015 09:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YSR0s-0002rt-Fy for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2015 09:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Steve Purcell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Mar 2015 14:08: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.142530525710986 (code B ref 19972); Mon, 02 Mar 2015 14:08:02 +0000 Original-Received: (at 19972) by debbugs.gnu.org; 2 Mar 2015 14:07:37 +0000 Original-Received: from localhost ([127.0.0.1]:33944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSR0T-0002r7-3y for submit@debbugs.gnu.org; Mon, 02 Mar 2015 09:07:37 -0500 Original-Received: from purcellpeople.com ([85.214.32.38]:60623 helo=h1189701.stratoserver.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSR0Q-0002qq-4p for 19972@debbugs.gnu.org; Mon, 02 Mar 2015 09:07:35 -0500 Original-Received: from [192.168.1.103] (host86-175-248-64.range86-175.btcentralplus.com [86.175.248.64]) by h1189701.stratoserver.net (Postfix) with ESMTPSA id BFAA282008E for <19972@debbugs.gnu.org>; Mon, 2 Mar 2015 15:07:27 +0100 (CET) In-Reply-To: <83bnkbsf5u.fsf@gnu.org> X-Mailer: Apple Mail (2.2070.6) 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:99955 Archived-At: >=20 > On 2 Mar 2015, at 13:27, Eli Zaretskii wrote: >=20 >> From: Steve Purcell >> Date: Mon, 2 Mar 2015 07:57:26 +0000 >>=20 >> - Consider the case of full-screen frames, which never change in = pixel size. >=20 > They do for me. See the previous messages. I=E2=80=99m on OS X, and NS Emacs uses the native full-screen support = there, so Emacs isn=E2=80=99t managing the pixel size directly. And indeed it=E2=80=99s only in that native full-screen mode that = window-size doesn=E2=80=99t get updated for me, so perhaps that=E2=80=99s = the only real problem here. Given that window-width returns a number based on both the current = frame/window size and the width of the =E2=80=98default face, then if = the value is going to be stored for later re-use, any change to the = default face should also cause it to be recomputed. What I=E2=80=99m picking up is that only frame/window size changes = currently cause that recomputation, hence this issue.=