GNU bug report logs - #59719
29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons

Previous Next

Package: emacs;

Reported by: Kai Ma <justksqsf <at> gmail.com>

Date: Wed, 30 Nov 2022 14:07:02 UTC

Severity: minor

Found in version 29.0.60

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: justksqsf <at> gmail.com, 59719 <at> 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 22:19:13 +0200
> From: Juri Linkov <juri <at> linkov.net>
> Cc: justksqsf <at> gmail.com,  59719 <at> 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.




This bug report was last modified 2 years and 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.