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

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

Re: How to install emacs-w3m via melpa?


From: Amin Bandali
Subject: Re: How to install emacs-w3m via melpa?
Date: Mon, 17 Feb 2020 21:27:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Amin Bandali wrote:
>
>> Lastly, I recommend using https rather than
>> http if your Emacs was built with
>> GnuTLS support.
>
> OK, then it should be
>
> (setq package-archives
>       '(( "gnu elpa" . "http://elpa.gnu.org/packages/";)
>         ( "melpa"    . "https://melpa.org/packages/"; )))

Except that it still hardcodes (insecure) http for the GNU ELPA archive.
To check if GnuTLS is available, you can check if (gnutls-available-p)
returns non-nil, and if so then use https for the package archives.  On
emacs >= 26.1, `package-archives' does this for the GNU ELPA entry that
it comes with out of the box.

Attachment: signature.asc
Description: PGP signature


reply via email to

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