GNU bug report logs - #31339
25.3.50; package-list-packages does not provide useful error when gnutls-cli is missing

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <eric.hanchrow <at> gmail.com>

Date: Wed, 2 May 2018 02:35:01 UTC

Severity: minor

Tags: wontfix

Found in version 25.3.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> gmail.com
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 31339 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>, Eric Hanchrow <eric.hanchrow <at> gmail.com>
Subject: bug#31339: 25.3.50; package-list-packages does not provide useful error when gnutls-cli is missing
Date: Mon, 13 May 2019 16:02:58 -0400
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Glenn Morris <rgm <at> gnu.org> writes:
>
>> Does an end-user who does not compile Emacs themselves receive any
>> notification about avoiding tls.el?
>
> Hm...  It's in lisp/obsolete.

Note: it wasn't when Glenn posted that.  See Bug#31457 "27.0.50; Move
starttls.el and tls.el to lisp/obsolete/".

> Does Emacs have a general method to warn
> about requiring files in that directory?

Emacs does warn about requiring files from obsolete.  Users loading
tls.el will now get this in *Messages*:

    Package tls is obsolete!

It's not super visible though, opening a connection with tls.el produces
several other messages too, so it looks something like this:

    Opening TLS connection to ‘example.com’...
    Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 example.com’...
    Package tls is obsolete!
    Opening TLS connection with ‘gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p 443 example.com’...done
    Opening TLS connection to ‘example.com’...done




This bug report was last modified 5 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.