Update README.md

Add description of how to get new GPG key for old Emacs versions.
This commit is contained in:
Apromixately 2020-01-28 08:29:33 +01:00 committed by Maximilian Wolff
parent 665c02e7f6
commit 382200ba9d
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
1 changed files with 25 additions and 8 deletions

View File

@ -296,7 +296,24 @@ be transferred using http, use at your own risk.
git clone https://github.com/syl20bnr/spacemacs /path/to/your/.emacs.d
```
3. Install the default fonts
3. (Optional) Install the [Source Code Pro][] font.
If you are running in terminal you'll also need to change font settings of
your terminal.
4. Launch Emacs. Spacemacs will automatically install the packages it requires.
There is a well-known issue with some GPG keys having expired end of 2019.
This can be fixed by upgrading to Emacs 26.3 or above or by manually adding
the new keys using something like:
```sh
gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40
```
If you have a restrictive firewall it may help to manually specify the keyserver:
```sh
gpg --keyserver keyserver.ubuntu.com --homedir ~/.emacs.d/elpa/gnupg/ --receive-keys 066DAFCB81E42C40
```
5. Install the default fonts
It's recommended to install [Source Code Pro][] by Adobe, as the default
font. It ensures that, for example the symbols on the modeline (bottom bar)
@ -315,7 +332,7 @@ be transferred using http, use at your own risk.
If you're running in a terminal then you'll also need to change the terminals
font settings.
4. Launch Emacs, and answer the questions in the Dotfile wizard installer. If
6. Launch Emacs, and answer the questions in the Dotfile wizard installer. If
you are new to Emacs and Spacemacs, then it's fine to just accept the default
choices. It's easy to try the other choices later, without having to
reinstall Spacemacs. They can be changed in the dotfile `~/.spacemacs`.
@ -325,16 +342,16 @@ be transferred using http, use at your own risk.
Restart Emacs to complete the installation.
**Notes:**
If you get an error regarding package downloads, then you can try to
disable the HTTPS protocol by starting Emacs with the `--insecure` argument:
If you are behind a firewall or similar and you get an error regarding package
downloads then you may try to disable the HTTPS protocol by starting Emacs with
```sh
emacs --insecure
```
but this should be a last resort because of the security implications.
Or you can set the `dotspacemacs-elpa-https` variable to `nil` in your
dotfile `~/.spacemacs`. That will remove the need to start Emacs with the
`--insecure` argument. You may also want to clear out your `.emacs.d/elpa`
You can set the `dotspacemacs-elpa-https` variable to `nil` in your
dotfile `~/.spacemacs` but this has the same security implications as the
insecure flag. You may also want to clear out your `.emacs.d/elpa`
directory before doing this, so that any corrupted packages you may have
downloaded will be re-installed.