[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41537: 26.3; window-body-width wrong return value when display-line-
From: |
Stefan Kangas |
Subject: |
bug#41537: 26.3; window-body-width wrong return value when display-line-numbers-mode is on |
Date: |
Wed, 12 Aug 2020 18:12:40 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> This is not wrong, since these functions measure the body without the
> line numbers. This is not a bug, but the intended behavior.
>
>> This breaks some packages that rely on `window-body-width` and
>> `window-width` to align strings.
>
> Those packages should adapt to display-line-numbers-mode by taking
> into account the value returned by line-number-display-width.
I'm therefore closing this bug report.
Best regards,
Stefan Kangas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#41537: 26.3; window-body-width wrong return value when display-line-numbers-mode is on,
Stefan Kangas <=