From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: justksqsf@gmail.com, 59719@debbugs.gnu.org
Subject: bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons
Date: Wed, 30 Nov 2022 20:59:56 +0200 [thread overview]
Message-ID: <861qpkcloz.fsf@mail.linkov.net> (raw)
In-Reply-To: <83zgc8i8p4.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Nov 2022 20:44:07 +0200")
>> > Why not use string-pixel-width, and divide by what default-font-width
>> > returns?
>>
>> This means to iterate over all icons and get their maximal width.
>
> Are they so different in their dimensions? And how many icons do we have in
> this case?
5 icons.
>> There is one thing that I don't understand about margins: could you clarify
>> how the default width of a character cell is calculated? Is it based
>> on the default font size?
>
> Yes, based on the default face's font. Exactly like the dimensions of the
> text-area of the window are calculated.
Strange, when adjusting text-scale with 'C-x C-+' the width of the
margins doesn't change together with the font size of the buffer.
next prev parent reply other threads:[~2022-11-30 18:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 9:10 bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons Kai Ma
2022-11-30 15:11 ` Eli Zaretskii
2022-11-30 16:11 ` Kai Ma
2022-11-30 17:08 ` Eli Zaretskii
2022-11-30 16:26 ` Arash Esbati
2022-11-30 16:41 ` Juri Linkov
2022-11-30 17:44 ` Eli Zaretskii
2022-11-30 17:56 ` Juri Linkov
2022-11-30 18:15 ` Eli Zaretskii
2022-11-30 18:30 ` Juri Linkov
2022-11-30 18:44 ` Eli Zaretskii
2022-11-30 18:59 ` Juri Linkov [this message]
2022-11-30 20:19 ` Eli Zaretskii
2022-12-01 18:51 ` Juri Linkov
2022-12-01 20:09 ` Eli Zaretskii
2022-12-02 7:54 ` Juri Linkov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861qpkcloz.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=59719@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=justksqsf@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).