When I compile a simple (incorrect) go program like this from emacs
package main
func main() int {
}
I get this result
-*- mode: compilation; default-directory: "~/Go/" -*-
Compilation started at Mon Aug 12 22:37:46
go run assert.go
# command-line-arguments
./assert.go:3:6: func main must have no arguments and no return values
./assert.go:4:1: missing return at end of function
Compilation exited abnormally with code 2 at Mon Aug 12 22:37:46
The problem is easier to see in a screenshot
Notice how only the part of the filename and line number up to the second :
is red. This means that when I use goto-error
emacs jumps to the start of the line, whereas the compile info has the column in it too.
This looks like a pretty standard compiler output so I would have thought emacs should be doing this by itself.
Is this a bug? Or is it something I should be configuring?
I'm using emacs 1:26.1+1-3.2ubuntu2 from ubuntu 19.04.