Subject: Re: bug#53762: Improve error message when during url retrieving network connection is lost

From: Robert Pluim <[email-masked]>
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" <[email-masked]> 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
--