I use Emacs to edit Go files. When I compile them I can use next-error
to jump to the next error in a specific Go file. Very handy. However, when I also enable flycheck on my Go file for on-the-fly syntax checking, it somehow conflicts with the error reporting of the compilation. What I mean is when I compile a Go file that contains errors (not syntactic but semantic errors), the compilation window correctly shows the errors, but next-error
doesn't work: it just displays the message:
No more Flycheck errors
If I disable Flycheck in the buffer, next-error
works again correctly. It's as if Flycheck has hidden compilation errors. (I looked at next-error
documentation and it does say it should cycle through all errors, but it doesn't do it in my case.) Emacs version:
GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian