Hot answers tagged

2

This sounds like an X–Y problem, where someone has a detailed question that we could find an answer for but that seems to be leading them in the wrong direction. Since you haven’t said what you’re really trying to accomplish here, we can only guess. My guess is that next-error (or other ways of navigating to error locations, such as clicking on them) is ...


1

Based on the error, it looks like you tried passing an unquoted string to set gofmt-args. gofmt-args's type is a list of strings, so that is what you need to give it. You can set it like this: (setq gofmt-args '("-tabs=false" "-tabwidth=2" "-w=true")) If you are setting it interactively, its probably easiest to use M-x ...


Only top voted, non community-wiki answers of a minimum length are eligible