[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28248: 26.0.50; display-line-numbers does not affect window-width /
From: |
Eli Zaretskii |
Subject: |
bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width |
Date: |
Tue, 17 Oct 2017 11:15:12 +0300 |
User-agent: |
K-9 Mail for Android |
On October 17, 2017 10:31:56 AM GMT+03:00, Steve Purcell <steve@sanityinc.com>
wrote:
> On 17 Oct 2017, at 20:01, Eli Zaretskii <eliz@gnu.org> wrote:
> >
> >> Any idea where that one-column
> >> difference might be coming from?
> >>
> >>
> https://github.com/purcell/page-break-lines/blob/610dbdc9d39a37912e2b8bfbd3e3d15c7e5d622f/page-break-lines.el#L128-L134
> >
> > The space reserved for the continuation glyph? Note that this can
> also happen
> > on GUI frames, if the user disables the fringes.
> >
> > Wouldn't window-text-width suit your needs better?
>
>
> Perhaps, but it returns exactly the same value as window-width in both
> frame types.
>
> Terminal:
>
> window width: 118
> window-width (pix): 118
> window-text-width: 118
> window-text-width (pix): 118
> line-number-display-width: 3
> line-number-display-width (pix): 5
> margins: (nil)
> fringes: (0 0 nil)
> frame-char-width: 1
>
> Graphical window (MacOS):
>
> window width: 203
> window-width (pix): 1421
> window-text-width: 203
> window-text-width (pix): 1421
> line-number-display-width: 3
> line-number-display-width (pix): 35
> margins: (nil)
> fringes: (8 8 nil)
> frame-char-width: 7
Sorry, you are right (too many different functions, all alike). I meant
window-max-chars-per-line.
- bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width, Dmitry Gutov, 2017/10/16
- bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width, Dmitry Gutov, 2017/10/17
- bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width, Eli Zaretskii, 2017/10/17
- bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width, Dmitry Gutov, 2017/10/17
- bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width, Eli Zaretskii, 2017/10/18
- bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width, Dmitry Gutov, 2017/10/18
- bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width, Eli Zaretskii, 2017/10/18
- bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width, Eli Zaretskii, 2017/10/20