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 22:19:13 +0200 Message-ID: <83y1rsi4am.fsf@gnu.org> 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> <861qpkcloz.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27834"; 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 21:20:32 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 1p0TZH-00071G-CD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Nov 2022 21:20:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0TYr-0000n5-6k; Wed, 30 Nov 2022 15:20:05 -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 1p0TYp-0000mj-RT for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 15:20:03 -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 1p0TYo-0007r5-9Y for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 15:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0TYo-0005EI-63 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 15:20:02 -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 20:20: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.166983959220085 (code B ref 59719); Wed, 30 Nov 2022 20:20:02 +0000 Original-Received: (at 59719) by debbugs.gnu.org; 30 Nov 2022 20:19:52 +0000 Original-Received: from localhost ([127.0.0.1]:34887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0TYd-0005Dt-MU for submit@debbugs.gnu.org; Wed, 30 Nov 2022 15:19:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0TYb-0005Dm-8r for 59719@debbugs.gnu.org; Wed, 30 Nov 2022 15:19:50 -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 1p0TYV-0007oS-FS; Wed, 30 Nov 2022 15:19:43 -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=CVrNWRA45w/aagwPiwRqR2mZqRxcU+9ZEtmfawYw/04=; b=rXQC/ub/VsEj FmrIopMOGJJ04uU31QiKkx3vZNa07ljA35RYmd7VL+lR40Z5tjh3E2LNt8ik0FKlOg+CRR4u7kHPf T+SR/UftH80fpYch5LlvIinemLVmSxm4xOQMAcDbKKwXpf998wIdFBts0uWJDzJqeGbDOAJ+gko6k GwN4ggsZg3o+1Hc9WWyPL0WXkwG+UMH64OrrD37mGvt/VletfTPOpxc++RHfiT4D9Swumss/wFizM yqnVoDWy2ZDGtBCjE5LXq/VEFLquaSJUhGsqY4+ljfpIZwaL0rShHCTnEx6mIdMbb+iR/DSHTPSsm yJmsTygN6yRIXj1MyEZdOA==; 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 1p0TYU-0000iP-Uz; Wed, 30 Nov 2022 15:19:43 -0500 In-Reply-To: <861qpkcloz.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 30 Nov 2022 20:59:56 +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:249568 Archived-At: > From: Juri Linkov > Cc: justksqsf@gmail.com, 59719@debbugs.gnu.org > Date: Wed, 30 Nov 2022 20:59:56 +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. So it isn't terrible to measure all of them and find the widest one. > 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. Why should it? Like I said: the margins don't automatically change their dimensions. But try activating linum-mode first, and then play with buffer font's size.