Subject: Re: bug#34513: display-line-numbers in term mode

From: Eli Zaretskii <[email-masked]>
Date: Tue, 22 Oct 2019 18:11:34 +0300

> Date: Mon, 21 Oct 2019 23:44:11 +0200
> From: Ergus <[email-masked]>
> Cc: [email-masked], [email-masked]
> 
> >You can see the various solutions in tabulated-list.el.  I wrote them
> >because features like package.el need to react to the changing width
> >of the line numbers.
> >
> >In addition to the change in the line numbers display width due to
> >scrolling, there are changes due to resizing the default font.
> >
> Hi Eli:
> 
> I see that, but what about when the window width changes? Are there any
> hook we ca use?

Window width changes are unrelated to line numbers, right?

Is window-size-change-functions what you want?