[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 55def23 008/495: more descriptive messages in go-g
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 55def23 008/495: more descriptive messages in go-goto-imports |
Date: |
Sat, 7 Aug 2021 09:04:33 -0400 (EDT) |
branch: elpa/go-mode
commit 55def238c9b26ded02b80ede3e0ce443b7699a7b
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>
more descriptive messages in go-goto-imports
---
go-mode.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/go-mode.el b/go-mode.el
index c3dd637..e132d56 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -475,10 +475,11 @@ declaration."
((re-search-forward "^import ([^)]+)" nil t)
(backward-char 2))
((re-search-forward "\\(^import \\([^\"]+ \\)?\"[^\"]+\"\n?\\)+" nil t))
- ((re-search-forward "^[[:space:]\n]*package .+?\n" nil t))
+ ((re-search-forward "^[[:space:]\n]*package .+?\n" nil t)
+ (message "No imports found, moving point after package declaration"))
(t
(goto-char old-point)
- (message "No imports found. Is this really a Go file?")))))
+ (message "No imports or package declaration found. Is this really a Go
file?")))))
(defun go-play-buffer ()
- [nongnu] elpa/go-mode 26759b9 027/495: support unused import detection for *_test.go files, (continued)
- [nongnu] elpa/go-mode 26759b9 027/495: support unused import detection for *_test.go files, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7fb4e67 023/495: Support methods in beginning-of-defun and end-of-defun, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6da1af6 031/495: use goto-char instead of beginning-of-buffer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 52914d5 039/495: Correctly indent next line if raw string is following an operator, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode ca3050a 045/495: temporarily disable flymake-mode in go-remove-unused-imports, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 445d10d 032/495: do not use goto-line but forward-line instead, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 7751f22 040/495: add test cases for indentation, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 27f6fb0 047/495: improve indentation routine by jumping around less, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 73137ff 002/495: remove autoload cookies, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1357916 005/495: go-beginning-of-defun does not need to be interactive, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 55def23 008/495: more descriptive messages in go-goto-imports,
ELPA Syncer <=
- [nongnu] elpa/go-mode ccd95ee 016/495: rename some internal functions, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5c8a47c 030/495: use (forward-line -1) instead of (previous-line), ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 4c5493b 036/495: also load diff-mode during compilation, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode faafd90 038/495: add autoload cookies, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode c97dacc 044/495: do not change the indentation of multiline comments, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5fbf6bd 048/495: remove unnecessary progns, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 8065408 051/495: formatting, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode c14eb13 061/495: more test cases, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5dc94e8 069/495: Remove enclosing quotes in go-import-add, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 426d2df 050/495: Improve indentation speed by not trying to indent unnested lines, ELPA Syncer, 2021/08/07