From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.bugs Subject: bug#20022: 24.4.90; window-body-height, window-body-width wrong value after text-scale-adjust Date: Sat, 07 Mar 2015 00:31:53 +0200 Message-ID: <874mpx3gh2.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1425681204 27688 80.91.229.3 (6 Mar 2015 22:33:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2015 22:33:24 +0000 (UTC) To: 20022@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 23:33:13 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 1YU0nw-0003zp-AX for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 23:33:12 +0100 Original-Received: from localhost ([::1]:60686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU0nv-0004SB-C6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 17:33:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU0nr-0004RE-LN for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:33:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YU0nm-0006uD-KH for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:33:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU0nm-0006u9-Gf for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YU0nm-0004CJ-8b for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vitalie Spinu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Mar 2015 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20022 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142568113216073 (code B ref -1); Fri, 06 Mar 2015 22:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Mar 2015 22:32:12 +0000 Original-Received: from localhost ([127.0.0.1]:37932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YU0my-0004BA-Ck for submit@debbugs.gnu.org; Fri, 06 Mar 2015 17:32:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36442) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YU0mw-0004Aw-7S for submit@debbugs.gnu.org; Fri, 06 Mar 2015 17:32:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YU0mq-0006m8-2q for submit@debbugs.gnu.org; Fri, 06 Mar 2015 17:32:04 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU0mq-0006m4-00 for submit@debbugs.gnu.org; Fri, 06 Mar 2015 17:32:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU0mo-0004Ox-TV for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:32:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YU0mj-0006kE-RU for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:32:02 -0500 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:34934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU0mj-0006jo-Ku for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:31:57 -0500 Original-Received: by wibbs8 with SMTP id bs8so6917150wib.0 for ; Fri, 06 Mar 2015 14:31:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=jcLZGotORv/r/LAJSLJQV34OuQzbskQnRcKFkAxzW04=; b=C9/azQzulflcqXXUp4p/zLubDJ+oBCKc4BI0EVVnwa2nme3VUpBDkN0TRYf/PEKq8s H3J37+FhclcJU27KBk2kiCZLBXrC1eYuOCVAATWDj9U4sLuw0vhjvDf03zs0IhmG9Jpl u3rohPhY681NBugcjNOzCAEhaVbFmO4JHt6Gw3ewKz/duhDeYuFDh8TsWO7GEFnUqBv3 0Lzlzt5MX6QRL5vN50+HnqQijV/7z4Iv6VoHotIuZR34qMzliNOrdT5tItyVKEhL4kOv csf/WScy5klNrmkUjjA0+hImaNiwn0jywc5nJdMt93gPoz8vQZG+6hrpR42kOBP5FyBn Wc7w== X-Received: by 10.180.85.103 with SMTP id g7mr78664044wiz.19.1425681116034; Fri, 06 Mar 2015 14:31:56 -0800 (PST) Original-Received: from localhost (host-static-86-106-238-197.moldtelecom.md. [86.106.238.197]) by mx.google.com with ESMTPSA id m9sm36003459wiz.24.2015.03.06.14.31.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 14:31:55 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:100204 Archived-At: After text-scale-adjust [C-x C-] window-height and window-width return the old (original) value. The doc says: This function returns the height, in lines, of the body of window WINDOW. So at least the docs are imprecise or incomplete. Relatedly, there seems to be no way to determine the height/width of a character in pixels after rescaling. `frame-char-width` returns the original size. Thanks, Vitalie In GNU Emacs 24.4.90.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2015-02-20 on galago Repository revision: 35f047c06603ce2e549e43ba38de0e61083b0311 Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Ubuntu 14.10