[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/go-mode 0bcbcf1 228/495: refine install instructions
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/go-mode 0bcbcf1 228/495: refine install instructions |
Date: |
Sat, 7 Aug 2021 09:05:19 -0400 (EDT) |
branch: elpa/go-mode
commit 0bcbcf12730049d685e02f9e9451554d56f71f99
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>
refine install instructions
---
README.md | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 6aab25d..c15149e 100644
--- a/README.md
+++ b/README.md
@@ -43,19 +43,30 @@ the following extra features to provide an improved
experience:
# Installation
-Put go-mode.el into a directory of your choice and add an instruction in the
-Emacs init file to load it
+## MELPA
- (add-to-list 'load-path "/place/where/you/put/it/")
+The recommended way of installing go-mode is via
+[ELPA](http://www.emacswiki.org/emacs/ELPA), the Emacs package
+manager, and the
+[MELPA repository](http://melpa.org/#/getting-started), which provides
+an up-to-date version of go-mode.
-From within Emacs, run M-x update-file-autoloads, point it at the
-go-mode.el file and tell it to generate a go-mode-load.el file.
+## Manual
-To the Emacs init file add
+To install go-mode manually, place `go-mode.el` and
+`go-mode-autoloads.el` in a directory of your choice, add it to your
+load path and require `'go-mode-autoloads`:
- (require 'go-mode-load)
+ (add-to-list 'load-path "/place/where/you/put/it/")
+ (require 'go-mode-autoloads)
-Restart Emacs.
+Either evaluate both statements with `C-x C-e`, or restart Emacs.
+
+As a side note, normally the autoloads file shouldn't be part of the
+package, as it's supposed to be automatically generated by ELPA, or
+manually by the user with `update-file-autoloads`. go-mode includes
+said file because it used to when it was part of the Go distribution
+and this makes upgrading easier for some people.
# Other extensions
- [nongnu] elpa/go-mode 26ca1fd 199/495: do not highlight built-in function if not followed by '(', (continued)
- [nongnu] elpa/go-mode 26ca1fd 199/495: do not highlight built-in function if not followed by '(', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 192c9e2 195/495: Use "point" argument instead of return value of point function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 73ff68c 198/495: handle backslash in raw string in Emacs 23, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 1071ac6 209/495: simplify godef--successful-p, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode c597843 214/495: import Go's license, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode c2bf889 217/495: remove all references to upstream misc/emacs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 3fb128a 219/495: Highlight type names in function parameter list, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 3300479 225/495: fix beginning-of-defun when point is near the start of a function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 948dbeb 226/495: Issue 61., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode be58a4a 227/495: add go-mode-autoloads.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 0bcbcf1 228/495: refine install instructions,
ELPA Syncer <=
- [nongnu] elpa/go-mode 3fdac08 233/495: use quit-window to hide the gofmt error window, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 50e7182 234/495: fix several `checkdoc' errors., ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d38444d 236/495: add RĂ¼diger Sonderfeld to AUTHORS file, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 59d1e82 231/495: include link to ELPA guide in readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode d1a8f67 237/495: bump version to 1.1.0, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode aa032d9 248/495: Add Taiki Sugawara to AUTHORS, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 64be4a3 249/495: Merge branch 'godoc_mode', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 5d53a13 252/495: Update import path of godef, ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 15d227a 253/495: gofmt: wrap external commands in `unwind-protect', ELPA Syncer, 2021/08/07
- [nongnu] elpa/go-mode 91c4496 254/495: go-unused-imports-lines escape dot in regexp correctly, ELPA Syncer, 2021/08/07