From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#19194: 24.4.50; `window-body-width' is not dynamic relative to font size changes Date: Thu, 27 Nov 2014 20:58:45 +0100 Message-ID: <54778275.1090007@gmx.at> References: <87h9xm6plp.fsf@gmail.com> <5476F298.5000205@gmx.at> <87ppc8rk08.fsf@gmail.com> <54776EED.9090303@gmx.at> <83y4qwmq66.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1417118391 8272 80.91.229.3 (27 Nov 2014 19:59:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2014 19:59:51 +0000 (UTC) Cc: holtzermann17@gmail.com, 19194@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 20:59:43 2014 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 1Xu5E6-0003Sp-Ti for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2014 20:59:43 +0100 Original-Received: from localhost ([::1]:41371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu5E6-0004pV-Jl for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2014 14:59:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu5Da-0004Gp-KV for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2014 14:59:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xu5DS-0004rH-RH for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2014 14:59:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu5DS-0004rD-NU for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2014 14:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xu5DS-0003wh-IR for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2014 14:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Nov 2014 19:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19194-submit@debbugs.gnu.org id=B19194.141711833715147 (code B ref 19194); Thu, 27 Nov 2014 19:59:02 +0000 Original-Received: (at 19194) by debbugs.gnu.org; 27 Nov 2014 19:58:57 +0000 Original-Received: from localhost ([127.0.0.1]:47919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu5DN-0003wF-5w for submit@debbugs.gnu.org; Thu, 27 Nov 2014 14:58:57 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:57549) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu5DL-0003w7-1d for 19194@debbugs.gnu.org; Thu, 27 Nov 2014 14:58:55 -0500 Original-Received: from [188.22.37.213] ([188.22.37.213]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lh7PL-1YE4fz1nnT-00oSvo; Thu, 27 Nov 2014 20:58:52 +0100 In-Reply-To: <83y4qwmq66.fsf@gnu.org> X-Provags-ID: V03:K0:MGnWDFXDsbb+m+A3qfSrxeP/6ahFOqcAczGQVLcPTtCzGU5x3gJ QLlVNRYfbm695Med0O7ZtVcXt5N5BO2iOuhoRmVYJ3m6bykAUiPVdT2rdYHN7QWU8W95Pc0 CPwXkYge6Pr5U++mUwGUr7oZgEalYI/sw5Oyj5mkgMo/UU5s1YldsDrNWaGSaZc/4NMyqUz VEWraKStAcG5PKfpieerg== X-UI-Out-Filterresults: notjunk:1; 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:96683 Archived-At: >> (4) I don't know whether and how the frame's `font' parameter can/should >> affect the height of the "default face". Likely this is not a >> problem - Eli will tell. > > Sorry, I don't understand the question. In particular, a frame > doesn't have a font; a face does. I meant that from section 28.3.3.8 "Font and Color Parameters" of the Elisp manual: `font' The name of the font for displaying text in the frame. This is a string, either a valid font name for your system or the name of an Emacs fontset (*note Fontsets::). It is equivalent to the `font' attribute of the `default' face. > Perhaps you are talking about the > font of the frame's 'default' face -- this is what the frame's 'font' > parameter determines, AFAIR. Maybe. The nomenclature is incomprehensible for me. Could you try to explain how the height of a character assigned the default face (the one whose attributes are all specified) can change in dependence of the frame where the character is displayed? > You mean, like what default-font-height returns? Does this take text scaling into account? Is this the final value as it would be displayed or could the height of "the font of the frame's 'default' face" get mixed in afterwards? And how does `default-font-height' differ from `default-line-height'? In any case, somehing like `default-font-width' seems all we need. >> Next we should try to incorporate this in `window-body-height' > > You mean, like what window-screen-lines returns? This sounds like a good idea as well, but then ... > Btw, the OP wanted the width of the window, not its height, AFAIR. ... we would need `window-screen-columns' too. martin