From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs 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 Organization: LINKOV.NET Message-ID: <861qpkcloz.fsf@mail.linkov.net> References: <86pmd4h2tw.fsf@mail.linkov.net> <83a648jq04.fsf@gnu.org> <86fse0e37z.fsf@mail.linkov.net> <835yewjom2.fsf@gnu.org> <86h6ygcn2f.fsf@mail.linkov.net> <83zgc8i8p4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9415"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: justksqsf@gmail.com, 59719@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 30 20:37:49 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0Stu-0002Az-Si for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Nov 2022 20:37:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0StB-0004fC-M5; Wed, 30 Nov 2022 14:37:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0St7-0004e1-Uk for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 14:36:59 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0St7-0000cB-LU for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 14:36:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0SLK-0002Fx-1p for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 14:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2022 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59719 X-GNU-PR-Package: emacs Original-Received: via spool by 59719-submit@debbugs.gnu.org id=B59719.16698349088667 (code B ref 59719); Wed, 30 Nov 2022 19:02:02 +0000 Original-Received: (at 59719) by debbugs.gnu.org; 30 Nov 2022 19:01:48 +0000 Original-Received: from localhost ([127.0.0.1]:34524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0SL5-0002Fj-Rg for submit@debbugs.gnu.org; Wed, 30 Nov 2022 14:01:48 -0500 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:43197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0SL2-0002Fd-2R for 59719@debbugs.gnu.org; Wed, 30 Nov 2022 14:01:46 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id CEA0FC0007; Wed, 30 Nov 2022 19:01:34 +0000 (UTC) In-Reply-To: <83zgc8i8p4.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Nov 2022 20:44:07 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249559 Archived-At: >> > 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.