From: Dmitry Gutov <dgutov@yandex.ru>
To: 29201@debbugs.gnu.org
Subject: bug#29201: 26.0.90; Flymake skips indicator when a backend reports a diagnostic at EOB
Date: Wed, 8 Nov 2017 01:26:55 +0200 [thread overview]
Message-ID: <38b19877-7ddf-673f-f9e0-de422e5251e6@yandex.ru> (raw)
...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
next reply other threads:[~2017-11-07 23:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-07 23:26 Dmitry Gutov [this message]
2017-11-09 21:18 ` bug#29201: 26.0.90; Flymake skips indicator when a backend reports a diagnostic at EOB João Távora
2017-11-10 0:02 ` Dmitry Gutov
2017-11-10 5:32 ` João Távora
2017-11-10 11:19 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38b19877-7ddf-673f-f9e0-de422e5251e6@yandex.ru \
--to=dgutov@yandex.ru \
--cc=29201@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).