Subject: Re: bug#40529: 26.3; global-display-line-numbers-mode and flymake-show-diagnostics-buffer error

From: Eli Zaretskii <[email-masked]>
Date: Fri, 10 Apr 2020 18:50:40 +0300

> From: João Távora <[email-masked]>
> Date: Fri, 10 Apr 2020 15:38:58 +0100
> Cc: [email-masked], [email-masked]
> 
>  Exactly.  I think this answers your question in the first paragraph.
> 
> Yes, and it raises another one for which I don't have an answer to.  
> Why does it do that? What do line numbers have to do with 
> tabulated lists?

When line numbers are turned on or off in a buffer under
tabulated-list-mode, the buffer needs to be redisplayed because the
column counts change, and that affects alignment of the columns.
That's why tabulated-list-mode defines a function to be run from
display-line-numbers-mode-hook.