[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix window width when line numbers present
From: |
Timothy |
Subject: |
Re: [PATCH] Fix window width when line numbers present |
Date: |
Mon, 22 Nov 2021 11:16:52 +0800 |
User-agent: |
mu4e 1.6.9; emacs 28.0.50 |
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> `line-number-display-width’ is Emacs 26+. So I guess it is unfortunately
> not acceptable on main branch.
Ooops, thanks for picking that up Nicolas. I see we actually have
┌────
│ (if (fboundp 'line-number-display-width)
│ (defalias 'org-line-number-display-width 'line-number-display-width)
│ (defun org-line-number-display-width (&rest _) 0))
└────
in org-compat.el, but I think that fallback definition could be improved — even
just `(or display-line-numbers-width 0)' would be better.
All the best,
Timothy
- Supported Emacs version (was: [PATCH] Fix window width when line numbers present), (continued)
- Supported Emacs version (was: [PATCH] Fix window width when line numbers present), Timothy, 2021/11/22
- Re: Supported Emacs version, Bastien, 2021/11/22
- Re: Supported Emacs version, Timothy, 2021/11/22
- Re: Supported Emacs version, Bastien, 2021/11/22
- Re: Supported Emacs version, Timothy, 2021/11/22
- Re: Supported Emacs version, Bastien, 2021/11/22
- Re: [PATCH] Fix window width when line numbers present, Ihor Radchenko, 2021/11/22
- Re: [PATCH] Fix window width when line numbers present, Tim Cross, 2021/11/22
- Re: [PATCH] Fix window width when line numbers present, Bastien, 2021/11/23
- Re: [PATCH] Fix window width when line numbers present, Tim Cross, 2021/11/23
- Re: [PATCH] Fix window width when line numbers present,
Timothy <=
Re: [PATCH] Fix window width when line numbers present, Timothy, 2021/11/21