GNU bug report logs -
#29201
26.0.90; Flymake skips indicator when a backend reports a diagnostic at EOB
Previous Next
Reported by: Dmitry Gutov <dgutov <at> yandex.ru>
Date: Tue, 7 Nov 2017 23:28:02 UTC
Severity: normal
Tags: fixed
Found in version 26.0.90
Fixed in version 26.1
Done: joaotavora <at> gmail.com (João Távora)
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
...and the diagnostics buffer doesn't show anything either. Only the
mode-line indicator does.
Example: Rubocop reports the "E: unexpected token $end" errors with line
and column corresponding to the last position in the buffer.
flymake-diag-region translates that pair into a (EOB . (1+ EOB)) region.
And, apparently, flymake--highlight-line creates an evaporating overlay
with these buffer positions.
Maybe flymake-diag-region should check for (eob) and maybe backtrack a
little. Flycheck, in such situations, highlights the last symbol of the
buffer.
++
In GNU Emacs 26.0.90 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
of 2017-11-07 built on zappa
Repository revision: ca2d94ba61dee678f85bfc7299d167e7219e6d8f
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description: Ubuntu 17.04
This bug report was last modified 7 years and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.