Skip to content

Tags: Guaderxx/go-mode.el

Tags

v1.6.0

Toggle v1.6.0's commit message

Verified

This tag was signed with the committer’s verified signature.
dominikh Dominik Honnef
Version 1.6.0

v1.5.0

Toggle v1.5.0's commit message

Verified

This tag was signed with the committer’s verified signature.
dominikh Dominik Honnef
Version 1.5.0

go-rename-cl.mailed

Toggle go-rename-cl.mailed's commit message
refactor/rename: require cl-lib, use cl- namespace

go-rename.el used the cl list* macro without requiring cl. This only
worked for people who required it for other code. go-guru.el, before its
removal from the tree, changed from cl to cl-lib, indirectly breaking
go-rename.el for some users.

Switch to using cl-list* and require cl-lib.

Fixes golang/go#17468

Change-Id: I70f2052b9fd3d1a8671794d9a3954be218026af2

v1.4.0

Toggle v1.4.0's commit message

Verified

This tag was signed with the committer’s verified signature.
dominikh Dominik Honnef
Version 1.4.0

emacs-byte-offset.mailed

Toggle emacs-byte-offset.mailed's commit message
cmd/guru: emacs: interpret byte offsets correctly

Change-Id: Id506c6c0b3f3c585781bfc38df1b665d507a7c33

guru-mark.mailed

Toggle guru-mark.mailed's commit message
cmd/guru: emacs: add go-guru-mark

This function allows marking a specific syntactic element. One possible
use is marking a function call to extract it into a variable.

Change-Id: I862a4cd7bfccd4178bcee8521d963f788e4358bd

overlay.mailed

Toggle overlay.mailed's commit message
go/buildutil, cmd/guru: extract overlay context into buildutil

This extracts the overlay context and archive parsing from guru into
buildutil.

At least one tool (gogetdoc) has a vendored copy of this code already,
and more tools implementing the same functionality will follow.

The new code in buildutil is an almost identical copy of the code in
guru (names aside), except for the following changes:

- Instead of reading into a bytes.Buffer, we read directly into a []byte
  of appropriate size

- sameFile first attempts a simple comparison of path.Clean'ed paths.

Change-Id: I97cd978ccc10722e3648e5e10625fa7f1407f202

guru-expand-region.mailed

Toggle guru-expand-region.mailed's commit message
cmd/guru: emacs: add function for expandiong region

The go-guru-expand-region function uses the "what" query to determine
the enclosing regions. Consecutive calls to go-guru-expand-region will
reuse a cached version of the list.

Change-Id: Ice9ac5540c1b639c6cbdc505866bbab347be1e98

fix-prints.mailed

Toggle fix-prints.mailed's commit message
all: address vet issues, fix print calls

This fixes some print calls with wrong format directives. Additionally,
struct initialisers were changed to use keyed fields, purely to reduce
the amount of noise generated by go vet.

Change-Id: Ib9f6fd8f2dff7ce84826478de0ba83dda9746270

fix-present-panic.mailed

Toggle fix-present-panic.mailed's commit message
present: dont crash if address searched backwards

For /start/,/end/, the /end/ address can wrap around and match somewhere
before /start/. Handle this case without crashing.

Fixes golang/go#7163.

Change-Id: I6fc3b5048e88728c9403a1d1e284ea8ada567a1e