From 5d8c9ad8e57a27afc81bcf829dc400c86ee64cfe Mon Sep 17 00:00:00 2001 From: laurensmiers Date: Mon, 26 Aug 2019 21:57:58 +0200 Subject: [PATCH] Only check melpa(https) for archives - Due to a bug in Emacs 26.2, we have to do a small workaround --- config.org | 11 +++++++++++ init.el | 4 +--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index c67c7f8..453b3ac 100644 --- a/config.org +++ b/config.org @@ -23,6 +23,17 @@ This configuration requires the installation of : - =ditaa= (for ascii to image generation in org-mode) When first checking out this config, run =irony-install-server= to make and install the irony-server. +* Workarounds +** Emacs 26.2 + +Had some problems with downloading the spinner package in Emacs. +It is a known bug in Emacs 26.2. +https://www.reddit.com/r/emacs/comments/cdei4p/failed_to_download_gnu_archive_bad_request/ +https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34341 + +#+BEGIN_SRC emacs-lisp +(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") +#+END_SRC * Utils diff --git a/init.el b/init.el index ea210a5..d44a18b 100644 --- a/init.el +++ b/init.el @@ -5,9 +5,7 @@ ;; add melpa-stable to package-archives (add-to-list 'package-archives - '("melpa-stable" . "https://stable.melpa.org/packages/") t) -(add-to-list 'package-archives - '("melpa" . "http://melpa.milkbox.net/packages/") t) + '("melpa" . "https://melpa.org/packages/") t) (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)