emacs24 - Emacs 24.5 with prelude stuck on contacting host melpa.org -
i'm running emacs 24.5 installed via homebrew. weird reason emacs gets stuck on contacting host: melpa.org:80
i tried fresh install of emacs (removed .emacs.d folder well) i'm able ping url melpa.org through terminal.
any ideas on how fix this.
can try switching https? have
(setq package-archives '(("org" . "http://orgmode.org/elpa/") ("melpa" . "https://melpa.org/packages/") ("gnu" . "https://elpa.gnu.org/packages/"))) ;; https://glyph.twistedmatrix.com/2015/11/editor-malware.html ;; needs "brew install gnutls" , "pip install certifi", perhaps sudo (let ((trustfile (replace-regexp-in-string "\\\\" "/" (replace-regexp-in-string "\n" "" (shell-command-to-string "python -m certifi"))))) (setq tls-program (list (format "/usr/local/bin/gnutls-cli --insecure --x509cafile %s -p %%p %%h" trustfile))) (setq gnutls-verify-error t))
Comments
Post a Comment