From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.help Subject: Re: How to install emacs-w3m via melpa? Date: Mon, 17 Feb 2020 21:27:23 -0500 Organization: GNU Message-ID: <87wo8kpr3o.fsf@gnu.org> References: <20200217200356.bbmvujd3j5itjt4a@weatherwax.local> <8736b8g856.fsf@ebih.ebihd> <20200217233033.cesbvmjuqv2wuv6r@weatherwax.local> <87v9o4wylx.fsf@gnu.org> <877e0klnun.fsf@ebih.ebihd> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5433"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 18 03:27:49 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j3sc0-0001Jk-Ok for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 Feb 2020 03:27:48 +0100 Original-Received: from localhost ([::1]:55850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3sbz-0005KH-Qg for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 17 Feb 2020 21:27:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55776) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3sbd-0005K6-Ul for help-gnu-emacs@gnu.org; Mon, 17 Feb 2020 21:27:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j3sbd-0004Yd-RQ for help-gnu-emacs@gnu.org; Mon, 17 Feb 2020 21:27:25 -0500 Original-Received: from [2607:fea8:3ba0:d78::8] (port=34588 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j3sbc-0005nE-Vu for help-gnu-emacs@gnu.org; Mon, 17 Feb 2020 21:27:25 -0500 Mail-Followup-To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122418 Archived-At: --=-=-= Content-Type: text/plain Emanuel Berg via Users list for the GNU Emacs text editor 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAl5LS4sACgkQi0Sgzce5 VvKUXw//cRo+8pgDuIVysOmErOdHnGgpNL+B5Lj5aTsCPRw/ss+CA28WNs2A9aIb +51aGJvNH034ALGdFSOqwTNv1hz13fAhY1VIL0Et6v/d4EZhRGIYRY7N6X2Wp+QP vJqS/Tqi+k8VbtH4vVlU7xFrDdMZfeL/Tz/Gd3wkdC/yLCbuC/66/k3aBK5m7u2M eEta/Bv6ijOouc0homkEqlVk2yIBs6q9Jwlh/DFp+PF4ew51/d9DAqez3ukqoISn 6741eWTyLmwOVq+JxCON762fuSpjJjsi0U4wisq8OyWo0TEZCM+2ThwuWdEudYP5 yHP1wV5QOpOFWtjbUJsRgJlWjzjxS78ikeMhBw5zfKnMwBKVLYq+4XjvdjD9rs9j XQeB+L8RpDt8ozpyrT8ankggzaZfgZJ0ajTL8zDLgF3NjzaAMATOySgrcKvFEg85 T/zze/rBHNWltMHo2kalvwGlT2X8NSw6RMDo/CdT1EUFKrIlIrgh1DTwpwAycf1T kNTDOH6DoBIyf2uOJ3hvf6alwqyJAwnbRyGxCUPMsh6PHV4syUG9KJ7ccL85WCvn I9Gk9SZMnCxdMt3EFg46oxik/4nMDLhpQXyU0758eKw8ibEBVVPic6Xsew850rMi w+mhMD6Sxlh1lUDyOKgqz7o4uO79Ue9lR6Ov5ipb8bHJSMxs3o0= =8jRf -----END PGP SIGNATURE----- --=-=-=--