From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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:15:01 +0200 Message-ID: <835yewjom2.fsf@gnu.org> References: <86pmd4h2tw.fsf@mail.linkov.net> <83a648jq04.fsf@gnu.org> <86fse0e37z.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6918"; mail-complaints-to="usenet@ciao.gmane.io" Cc: justksqsf@gmail.com, 59719@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 30 19:16:18 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 1p0Rd3-0001Zb-Ku for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Nov 2022 19:16:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0Rcq-0004wy-JC; Wed, 30 Nov 2022 13:16:04 -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 1p0Rco-0004wm-AW for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 13:16:02 -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 1p0Rcn-0001Im-UU for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 13:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0Rcn-0001n9-QF for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 13:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2022 18:16:01 +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.16698321426876 (code B ref 59719); Wed, 30 Nov 2022 18:16:01 +0000 Original-Received: (at 59719) by debbugs.gnu.org; 30 Nov 2022 18:15:42 +0000 Original-Received: from localhost ([127.0.0.1]:34269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0RcU-0001mq-IU for submit@debbugs.gnu.org; Wed, 30 Nov 2022 13:15:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0RcS-0001mi-9A for 59719@debbugs.gnu.org; Wed, 30 Nov 2022 13:15:41 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0RcK-0001EA-Jk; Wed, 30 Nov 2022 13:15:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=biRVI9ElsXDklTjIpHCE/iywumOX9lmo8l+UkwxLUdo=; b=bwX/ZlegIdIj 2iZeLjjrUD5YLMUINJe8etY9mzEjocKr2UZwTsS4bcyDzEsbTOdT2o7zcaJfoHT+gFHzn00O6tQ4Q kD2BC0bGZZgVDnSKqIxJ4p+ZL7Lg4uH8t4pyQGHetm7j3R3cWh1Jh7YtKcgl8jvuOa+204PomUn26 pW19faKXcVvRb652jBoUbTRXGT4J2ypoBet8loKk8qSiaBGu31Cvx7hyZTTtfAThc7/32AFr/Adv3 Z9MJmOzSypv/y/pcT/m9yzcjzxxFkrxtuHu/wfE3UkZLDHqb6LbSjJm7zrf6qU4cZBdTlTx+d2nry GjA2650xRw5Fxw1TJAc0Aw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0RcJ-0006RL-Kv; Wed, 30 Nov 2022 13:15:32 -0500 In-Reply-To: <86fse0e37z.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 30 Nov 2022 19:56:00 +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:249543 Archived-At: > From: Juri Linkov > Cc: justksqsf@gmail.com, 59719@debbugs.gnu.org > Date: Wed, 30 Nov 2022 19:56:00 +0200 > > >> This is a known limitation of the margin area: its width is limited > >> to 10 pixels. > > > > ??? The width of the display margin can be controlled by set-window-margins. > > set-window-margins specifies the number of characters. Yes. But that's not a problem: you can ask for 2 or 3 characters, as needed. > Maybe need to set the margin width to more characters if string-width > returns more than 1 character? Why not use string-pixel-width, and divide by what default-font-width returns? > But the core problem is that when font size is increased in the buffer, > the margin pixel size doesn't increase proportionally. This is how the margins were designed: they never resize automatically. It is up to the Lisp program to do that.