1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:14:46 -07:00
go/cmd/guru
Dominik Honnef 5c5d833208 cmd/guru: emacs: support running on nameless buffers
By using guru's -modified flag and making up a file name, we can run
guru on a buffer that has no file attached to it. This feature will only
be useful for queries that operate on single files, as otherwise our made
up name could cause conflicts.

This will be useful for the "what" query and features using it.

Change-Id: I3d199bc0548245d59ba7b492f57beb9422d7f43d
Reviewed-on: https://go-review.googlesource.com/20431
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-03-28 14:50:02 +00:00
..
serial cmd/guru: compute referrers as packages are type checked 2016-03-04 21:13:08 +00:00
testdata/src cmd/guru: change "Method set:" to less formal "Methods:" 2016-03-28 14:29:15 +00:00
callees.go cmd/guru: fix bad import, and run gofmt 2016-02-12 03:58:01 +00:00
callers.go cmd/guru: call{ers,stack}: avoid pointer analysis where possible 2016-02-12 23:38:00 +00:00
callstack.go cmd/guru: call{ers,stack}: avoid pointer analysis where possible 2016-02-12 23:38:00 +00:00
definition.go cmd/guru: make fastQueryPos indirect through the -modified map 2016-03-03 19:00:43 +00:00
describe.go cmd/guru: change "Method set:" to less formal "Methods:" 2016-03-28 14:29:15 +00:00
emacs-test.bash cmd/guru: in Emacs, change 'definition' to jump directly 2016-02-15 17:57:16 +00:00
freevars.go cmd/guru: freevars: reenable test of labels (and improve output) 2016-02-12 03:59:51 +00:00
go-guru.el cmd/guru: emacs: support running on nameless buffers 2016-03-28 14:50:02 +00:00
guru_test.go cmd/guru: fix nil deref when position is not in Go source 2016-03-07 15:53:42 +00:00
guru.go cmd/guru: make fastQueryPos indirect through the -modified map 2016-03-03 19:00:43 +00:00
guru.vim cmd/guru: clean ups to command-line interface 2016-02-12 21:50:49 +00:00
implements.go cmd/guru: fix bad import, and run gofmt 2016-02-12 03:58:01 +00:00
main.go cmd/guru: emacs: update scope documentation 2016-03-09 15:55:45 +00:00
peers.go cmd/guru: fix bad import, and run gofmt 2016-02-12 03:58:01 +00:00
pointsto.go cmd/guru: fix bad import, and run gofmt 2016-02-12 03:58:01 +00:00
pos.go cmd/guru: fix nil deref when position is not in Go source 2016-03-07 15:53:42 +00:00
referrers.go cmd/guru: fix assignment to entry in nil map. 2016-03-21 19:52:00 +00:00
what.go cmd/guru: make fastQueryPos indirect through the -modified map 2016-03-03 19:00:43 +00:00
whicherrs.go cmd/guru: whicherrs: don't crash on dead code 2016-03-25 16:35:34 +00:00