all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Amin Bandali <mab@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to install emacs-w3m via melpa?
Date: Mon, 17 Feb 2020 21:27:23 -0500	[thread overview]
Message-ID: <87wo8kpr3o.fsf@gnu.org> (raw)
In-Reply-To: 877e0klnun.fsf@ebih.ebihd

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2020-02-18  2:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 20:03 How to install emacs-w3m via melpa? Richard Cobbe
2020-02-17 22:29 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-02-17 23:30   ` Richard Cobbe
2020-02-17 23:43     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-02-18  0:03     ` Amin Bandali
2020-02-18  0:51       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-02-18  2:27         ` Amin Bandali [this message]
2020-02-18  4:32           ` Emanuel Berg via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wo8kpr3o.fsf@gnu.org \
    --to=mab@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.