GNU bug report logs -
#40529
26.3; global-display-line-numbers-mode and flymake-show-diagnostics-buffer error
Previous Next
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
[Message part 1 (text/plain, inline)]
On Fri, Apr 10, 2020 at 4:50 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > 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.
>
Thanks. That makes some sense, though I didn't know line numbers
affected column counts in the actual buffer contents (I though they used
the margin or the fringe, but I confess my ignorance here). Anyway, this
leaves me wondering if there isn't a hook ordering bug here. Maybe it's
just a question of delaying entry in tabulated-list-mode until important
stuff
is set up. I don't know, I haven't looked at actual code yet.
João
[Message part 2 (text/html, inline)]
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.