From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: holtzermann17@gmail.com, 19194@debbugs.gnu.org
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 [thread overview]
Message-ID: <54778275.1090007@gmx.at> (raw)
In-Reply-To: <83y4qwmq66.fsf@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.
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
next prev parent reply other threads:[~2014-11-27 19:58 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 13:47 bug#19194: 24.4.50; `window-body-width' is not dynamic relative to font size changes Joe Corneli
2014-11-26 15:55 ` Stefan Monnier
2014-11-26 16:34 ` Joe Corneli
2014-11-26 17:06 ` Eli Zaretskii
2014-11-26 16:04 ` Eli Zaretskii
2014-11-27 9:44 ` martin rudalics
2014-11-27 10:54 ` Joe Corneli
2014-11-27 18:35 ` martin rudalics
2014-11-27 18:52 ` Eli Zaretskii
2014-11-27 19:58 ` martin rudalics [this message]
2014-11-27 20:43 ` Eli Zaretskii
2014-11-28 7:29 ` martin rudalics
2014-11-28 8:49 ` Eli Zaretskii
2014-11-28 18:38 ` martin rudalics
2014-11-28 19:20 ` Eli Zaretskii
2014-12-19 19:40 ` Eli Zaretskii
2014-12-20 10:10 ` martin rudalics
2014-12-20 11:52 ` Joe Corneli
2014-12-20 14:49 ` martin rudalics
2014-12-20 16:18 ` Eli Zaretskii
2014-12-20 16:31 ` martin rudalics
2014-12-20 16:47 ` Eli Zaretskii
2014-12-20 17:51 ` martin rudalics
2014-12-20 18:29 ` Eli Zaretskii
2014-11-27 20:23 ` Joe Corneli
2014-11-28 7:27 ` martin rudalics
2014-11-27 16:17 ` Eli Zaretskii
2014-11-27 18:35 ` martin rudalics
2014-11-27 18:46 ` Eli Zaretskii
2014-11-27 19:58 ` martin rudalics
2014-11-27 20:37 ` Eli Zaretskii
2014-11-28 7:27 ` martin rudalics
2014-11-28 8:42 ` Eli Zaretskii
2022-02-10 8:16 ` bug#19194: bug#20022: 24.4.90; window-body-height, window-body-width wrong value after text-scale-adjust Lars Ingebrigtsen
2022-02-10 17:39 ` bug#19194: [External] : " Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54778275.1090007@gmx.at \
--to=rudalics@gmx.at \
--cc=19194@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=holtzermann17@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.