GNU bug report logs - #53762
Improve error message when during url retrieving network connection is lost

Previous Next

Package: emacs;

Reported by: emacsq <laszlomail <at> protonmail.com>

Date: Thu, 3 Feb 2022 19:32:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 29.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: emacsq <laszlomail <at> protonmail.com>
Cc: 53762 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: bug#53762: Improve error message when during url retrieving network connection is lost
Date: Tue, 08 Feb 2022 09:40:53 +0100
>>>>> On Mon, 07 Feb 2022 16:48:57 +0000, emacsq via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> said:

    >> Sure, that can be done. Does the patch actually solve the problem,
    emacsq> emacsq?

    emacsq> We have information if it's a network connection: if (NETCONN_P (proc))

    emacsq> So using that we can improve the message. Something like:

    emacsq> if (NETCONN_P (proc))
    emacsq>   "Network error: <process> <error message>"
    emacsq> else
    emacsq>   "Process <process> not running: <error message>"

`status_message' already produces different messages based on whether
itʼs a network connection, so I donʼt think thatʼs necessary.

Have you been able to try the original patch? I now realise that
youʼre on windows, which explains why you were seeing problems
originally.

Robert
-- 




This bug report was last modified 3 years and 68 days ago.

Previous Next


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