gemini/20200819-emacs-27-1-install...

35 lines
1.2 KiB
Plaintext

# Emacs 27.1 Installation
This is for you as much as this is for me, since I want to remember some
stuff I do and the blog sometimes serves as a public knowledge base.
Regarding 27.1, there's plenty of great resources [here] and [here], so
I won't go over them.
Simple installation considering you have Development Tools and TLS
libraries installed for your distro:
```
wget http://ftp.gnu.org/gnu/emacs/emacs-27.1.tar.gz
./configure --with-json
make
make install
```
I'm only adding native JSON support since it's the number one (or
[number two] after language servers) feature in Emacs 27. Since the
loading order in 27 changes, I'm adding support for previous versions
with the following in my `.emacs.org ` file:
```
(when (< emacs-major-version 27)
(package-initialize))
```
Additionally, I had to run `go get golang.org/x/tools/gopls@latest ` in
order for gopls to not crash. Other than that, it seems like this
version hasn't broken any other elements of my set up; but it might
still be a little bit too early to tell!
=> https://www.masteringemacs.org/article/whats-new-in-emacs-27-1 here
=> https://emacsredux.com/blog/2020/08/13/emacs-27-1/ here
=> https://arenzana.org/2019/12/emacs-go-mode-revisited/ number two