[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode fd0c117 012/495: move list of improvements to read
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode fd0c117 012/495: move list of improvements to readme |
Date: |
Sat, 7 Aug 2021 09:04:33 -0400 (EDT) |
branch: elpa/go-mode
commit fd0c117d63b29d0f28240d6ea5a7a2aececf100a
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>
move list of improvements to readme
---
README | 10 ----------
README.md | 34 ++++++++++++++++++++++++++++++++++
go-mode.el | 21 ---------------------
3 files changed, 34 insertions(+), 31 deletions(-)
diff --git a/README b/README
deleted file mode 100644
index 490fdae..0000000
--- a/README
+++ /dev/null
@@ -1,10 +0,0 @@
-This is a replacement for the Go mode that comes with the Go
-distribution. It fixes several issues and adds new features, such as
-movement by functions, like one is used to from other major modes in
-emacs.
-
-For a complete list of changes, check the header of go-mode.el.
-
-To use this mode instead of the default one, add it to your load path
-and load it instead of the old one. It acts as a direct drop-in
-replacement.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..cda8258
--- /dev/null
+++ b/README.md
@@ -0,0 +1,34 @@
+This is a replacement for the Go mode that comes with the Go
+distribution. It fixes several issues and adds new features, such as
+movement by functions, like one is used to from other major modes in
+emacs.
+
+To use this mode instead of the default one, add it to your load path
+and load it instead of the old one. It acts as a direct drop-in
+replacement.
+
+Fixes
+=====
+- Uses a proper syntax table, so that emacs and other packages know
+ about strings and comments (e.g. expand-region needs this)
+- Fixes various indentation/font locking problems caused by the lack
+ of proper syntax table
+- Fixes gofmt issue with buffers that do not end with a newline
+- Does not fontify anonymous functions as if they were methods
+
+Improvements
+============
+- Fontifies `(foo)(bar)` function calls
+- Fontifies identifiers with unicode characters in them
+- Fontifies type names in struct literals
+- Fontifies type names in maps, slices and arrays
+- Uses view-mode for the godoc buffer
+
+Features
+========
+- Support for `C-M-a` (`beginning-of-defun`)
+- Support for `C-M-e` (`end-of-defun`)
+- Support for `C-M-h` (`mark-defun`)
+- Two functions for sending code to the Playground (`go-play-buffer` and
`go-play-region`)
+- A function for adding imports, including tab completion (`go-import-add`,
bound to `C-c C-a`)
+- A function for jumping to the file's imports (`go-goto-imports`)
diff --git a/go-mode.el b/go-mode.el
index 3a2e864..82dea67 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1,26 +1,5 @@
;;; go-mode.el --- Major mode for the Go programming language
-;; Improvements over original go-mode:
-;; - Use a proper syntax table, so that emacs and other packages know
-;; about strings and comments (e.g. expand-region needs this)
-;; - Fix various indentation/font locking problems caused by the lack
-;; of proper syntax table
-;; - Fix gofmt issue with buffers that do not end with a newline
-;; - Correctly fontify (foo)(bar) function calls
-;; - Correctly fontify identifiers with unicode characters in them
-;; - Fontifies type names in struct literals
-;; - Fontifies type names in maps, slices and arrays
-;; - Does not fontify anonymous functions as if they were methods
-;; - Support for C-M-a (beginning-of-defun)
-;; - Support for C-M-e (end-of-defun)
-;; - Support for C-M-h (mark-defun
-;; - go-goto-imports
-;; - go-play-buffer and go-play-region
-;; - go-import-add (bound to C-c C-a)
-;;
-;; Minor changes:
-;; - use view-mode for the godoc buffer
-;;
;; TODO:
;; Features:
;; - imports manipulations (add, remove, with sorting and grouping)
- [nongnu] branch elpa/go-mode created (now 3497434), ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1db78fd 001/495: initial commit, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 9af89df 006/495: add docstrings to go-goto-imports, go-play-region and go-play-buffer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 366ada1 011/495: add tab completion for go-import-add, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 9536e6b 010/495: go-import-add, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode fd0c117 012/495: move list of improvements to readme,
ELPA Syncer <=
- [nongnu] elpa/go-mode ca48fc5 009/495: add return values to go-goto-imports that tell which kind of import has been jumped to, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode db41787 015/495: if line has been indented with spaces, replace them with tabs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d942d4f 013/495: add links to further extensions for editting go in emacs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5af4f4d 019/495: mention imenu in readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 4f3befb 003/495: add go-play-buffer and go-play-region, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 61467ee 004/495: add readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 2835258 007/495: support `import foo "bar"` syntax in go-goto-imports, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0a570b1 014/495: use `go env` to determine goroot and gopath, support multiple gopath entries and skip over ones with no pkg dir, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 6ccd9b9 017/495: Revert "if line has been indented with spaces, replace them with tabs", ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 492e065 018/495: note in readme that old go-mode will interfere with this one, ELPA Syncer, 2021/08/07