GNU bug report logs - #19194
24.4.50; `window-body-width' is not dynamic relative to font size changes

Previous Next

Package: emacs;

Reported by: Joe Corneli <holtzermann17 <at> gmail.com>

Date: Wed, 26 Nov 2014 13:48:01 UTC

Severity: normal

Tags: notabug

Merged with 20022

Found in versions 24.4.50, 24.4.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 19194 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: holtzermann17 <at> gmail.com, 19194 <at> debbugs.gnu.org
Subject: Re: bug#19194: 24.4.50;
 `window-body-width' is not dynamic relative to font size changes
Date: Thu, 27 Nov 2014 20:52:49 +0200
> Date: Thu, 27 Nov 2014 19:35:25 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> Cc: 19194 <at> debbugs.gnu.org
> 
> (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.  Perhaps you are talking about the
font of the frame's 'default' face -- this is what the frame's 'font'
parameter determines, AFAIR.

> As I said before, I'd rather have a buffer-local equivalent of the
> variable `frame-char-height', something like `buffer-char-height',
> instead of having to find out by myself what the correct value is.

You mean, like what default-font-height returns?

> Next we should try to incorporate this in `window-body-height'

You mean, like what window-screen-lines returns?

Btw, the OP wanted the width of the window, not its height, AFAIR.




This bug report was last modified 3 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.