[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fri
From: |
Eli Zaretskii |
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 |
> From: Juri Linkov <juri@linkov.net>
> 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.
- 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
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons, Eli Zaretskii, 2022/11/30
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons, Juri Linkov, 2022/11/30
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons, Eli Zaretskii, 2022/11/30
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons, Juri Linkov, 2022/11/30
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons,
Eli Zaretskii <=
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons, Juri Linkov, 2022/11/30
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons, Eli Zaretskii, 2022/11/30
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons, Juri Linkov, 2022/11/30
- bug#59719: 29.0.60; emacs-news-mode does not adjust the width of the fringe to accommodate the outline icons, Eli Zaretskii, 2022/11/30