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: Aidan Beggs <nadiasggeb001 <at> gmail.com>, João Távora <joaotavora <at> gmail.com>
Cc: 40529 <at> debbugs.gnu.org
Subject: bug#40529: 26.3; global-display-line-numbers-mode and flymake-show-diagnostics-buffer error
Date: Fri, 10 Apr 2020 09:30:20 +0300
> From: Aidan Beggs <nadiasggeb001 <at> gmail.com>
> Date: Thu, 9 Apr 2020 16:55:44 -0400
> 
> emacs -Q
> C-x b *scratch*
> M-x global-display-line-numbers-mode
> M-x flymake-mode
> M-x flymake-show-diagnostics-buffer

João, here are the results of my preliminary investigation into this,
as posted on Reddit (where this was first reported), I hope they will
be helpful:

  Under the above settings, flymake--diagnostics-buffer-entries is
  invoked as side effect of calling flymake-diagnostics-buffer-mode from
  flymake-show-diagnostics-buffer, and at that point
  flymake--diagnostics-buffer-source has not yet been set to a valid
  buffer name.  So the with-current-buffer form at the beginning of
  flymake--diagnostics-buffer-entries barfs.

Thanks.




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.