如何在Windows下使用 go-guru?

go-mode用的是 GitHub - dominikh/go-mode.el: Emacs mode for the Go programming language

安装完后,C-c C-o r 出现错误,

/usr/bin/bash: /c/Users/FMF/go/bin/guru: Bad address

但是,单独执行 guru,比如

guru -scope '' -tags= referrers c:/Users/FMF/go/src/diagram/main.go:#453

是能正确输出结果的。

请教大家,谢谢。

系统平台?

这个路径明显有问题。

@LdBeth :+1:

原因是我在 .emacs 里做了

(setq explicit-shell-file-name "C:/msys32/usr/bin/bash.exe")

然后,go-guru的路径识别出来了,但是对应的 filename 还是 c:\xxx 的形式,所以报错。