[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34513: display-line-numbers in term mode
From: |
Eli Zaretskii |
Subject: |
bug#34513: display-line-numbers in term mode |
Date: |
Sun, 20 Sep 2020 21:50:30 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sun, 20 Sep 2020 20:30:33 +0200
> Cc: 34513@debbugs.gnu.org, Ergus <spacibba@aol.com>
>
> > - (ncols (/ window-width font-width)))
> > + (ncols (- (/ window-width font-width) (line-number-display-width))))
>
> I tried this patch in Emacs 28, and it didn't seem to help much.
Not even if you call line-number-display-width with arg of 'columns'?
Does it help to set COLUMNS in the environment to something like 76
before starting "M-x term"? If it does, that would at least tell us
the columns are the cause of the problem.