help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ubuntu 16.04 server --- Contacting host: elpa.gnu.org:80 when packag


From: Robert Pluim
Subject: Re: Ubuntu 16.04 server --- Contacting host: elpa.gnu.org:80 when package-refresh-contents
Date: Fri, 19 Jan 2018 10:42:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)

address@hidden writes:

> In my .emacs file. I've added the following:
> ```
> (require 'package)
> (add-to-list 'package-archives
>              '("melpa-stable" . "https://stable.melpa.org/packages/";))
>
> (package-initialize)
> (elpy-enable)
> ```
>
> So, I am using https, which is a safe practice as Dan pointed out.
> How did emacs decide to connect to elpa.gnu.org? Is this a default of
> emacs? Because I never included the elpa.gnu.org link in my .emacs
> file or evaluated it in my buffer. (That means I have no choice in
> using https or http. :( It just happened and I don't know why.)

package-archives by default contains elpa.gnu.org. Run M-x customize
package-archives instead of your add-to-list there if you want to
remove it (or change it to use https)

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]