FAQ
hi!

calling goimports in the before-save-hook works as expected under linux.
however emacs chokes on the same configuration when i'm on windows and the
file does not get changed.

i put the diff and zlib binaries besides emacs, so that shouldn't be an
issue:

Mode LastWriteTime Length Name
---- ------------- ------ ----
------ 11.04.2015 13:55 590441 addpm.exe
-a---- 24.05.2004 14:46 57344 cmp.exe
------ 11.04.2015 13:55 978880 ctags.exe
-a---- 24.05.2004 14:46 150528 diff.exe
-a---- 24.05.2004 14:46 59392 diff3.exe
------ 11.04.2015 13:55 729686 ebrowse.exe
------ 11.04.2015 13:55 9203726 emacs-24.5.exe
-a---- 11.04.2015 13:55 9203726 emacs.exe
------ 11.04.2015 13:55 1020792 emacsclient.exe
------ 11.04.2015 13:55 667492 emacsclientw.exe
------ 11.04.2015 13:55 975457 etags.exe
------ 11.04.2015 13:55 7168 grep-changelog
-a---- 01.05.2015 12:19 532345 libXpm.dll
------ 11.04.2015 13:55 494367 runemacs.exe
-a---- 24.05.2004 14:46 61952 sdiff.exe
-a---- 20.07.2005 18:05 75264 zlib1.dll

calling gofmt directly just prints
Applied gofmt
in the minibuffer.

my .emacs can be found here https://github.com/grafoo/dot/blob/master/emacs


cheers,
manuel

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 17, '16 at 2:57p
activeMay 17, '16 at 2:57p
posts1
users1
websitegolang.org

1 user in discussion

Manuel Graf: 1 post

People

Translate

site design / logo © 2021 Grokbase