[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode ac6dd8c 430/495: Fix go-remove-unused-imports
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode ac6dd8c 430/495: Fix go-remove-unused-imports |
Date: |
Sat, 7 Aug 2021 09:06:02 -0400 (EDT) |
branch: elpa/go-mode
commit ac6dd8c1f4b969fb93ecb8ac62b0700eeb1b62fd
Author: Kris <krismolendyke@users.noreply.github.com>
Commit: Peter Sanford <psanford@sanford.io>
Fix go-remove-unused-imports
Handle column number output introduced in Go 1.9.
This fixes #221 and fixes #250
Closes: #254 [via git-merge-pr]
---
go-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go-mode.el b/go-mode.el
index 78a0cd4..a7620e1 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1507,7 +1507,7 @@ It looks for archive files in /pkg/."
(reverse (remove nil
(mapcar
(lambda (line)
- (when (string-match "^\\(.+\\):\\([[:digit:]]+\\):
imported and not used: \".+\".*$" line)
+ (when (string-match
"^\\(.+\\):\\([[:digit:]]+\\):\\([[:digit:]]+\\): imported and not used:
\".+\".*$" line)
(let ((error-file-name (match-string 1 line))
(error-line-num (match-string 2 line)))
(if (string= (file-truename error-file-name)
(file-truename buffer-file-name))
- [nongnu] elpa/go-mode 8144ae8 392/495: Merge commit '12ef34c', (continued)
- [nongnu] elpa/go-mode 8144ae8 392/495: Merge commit '12ef34c', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 269eb01 398/495: Remove support for Emacs 23, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5056b85 403/495: Use xref functions if available, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 3f02a16 406/495: Add go-guru-definition-other-window, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7eb5b3d 409/495: Delete go-mode-autoloads.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2d1d33a 407/495: Fix off-by-one in point calculations, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7f87c32 416/495: Permit empty guru scope, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode be9186c 417/495: Support remote files in `gofmt', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 287595a 420/495: Don't traverse symlinks when recursing directories, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode b990645 425/495: Fix call expr indenting after dangling operator., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode ac6dd8c 430/495: Fix go-remove-unused-imports,
ELPA Syncer <=
- [nongnu] elpa/go-mode e8674fe 437/495: Expand electric indent config a bit, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6a64cbf 439/495: Fix indentation for composite literal keys., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fb1272c 441/495: indent: fix performance in giant comments, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode c020e2c 456/495: Fontify type names in more places., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2a1584f 454/495: Readme: add note recommending goimports, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 57becfb 460/495: Fontify type names in interface declarations, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode cf53daa 459/495: Fix indentation in naked blocks., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode f872781 466/495: Fontify variable names., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode acec0aa 471/495: Fix Content-Type for https://play.golang.org/share, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode cad6d0a 472/495: Fix fontification performance issue, ELPA Syncer, 2021/08/07