GNU bug report logs - #40529
26.3; global-display-line-numbers-mode and flymake-show-diagnostics-buffer error

Previous Next

Package: emacs;

Reported by: Aidan Beggs <nadiasggeb001 <at> gmail.com>

Date: Thu, 9 Apr 2020 22:07:02 UTC

Severity: normal

Found in version 26.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: João Távora <joaotavora <at> gmail.com>
Cc: 40529 <at> debbugs.gnu.org, nadiasggeb001 <at> gmail.com
Subject: bug#40529: 26.3; global-display-line-numbers-mode and flymake-show-diagnostics-buffer error
Date: Fri, 10 Apr 2020 18:50:40 +0300
> From: João Távora <joaotavora <at> gmail.com>
> Date: Fri, 10 Apr 2020 15:38:58 +0100
> Cc: nadiasggeb001 <at> gmail.com, 40529 <at> debbugs.gnu.org
> 
>  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.




This bug report was last modified 5 years and 123 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.