Subject: Re: bug#37221: 27.0.50; gnus fails to open connection post-NSM update

From: Alex Branham <[email-masked]>
Date: Wed, 04 Sep 2019 10:04:11 -0500

On Wed 04 Sep 2019 at 16:56, Robert Pluim <[email-masked]> wrote:

> Iʼve spotted one possible problem: nsm-query runs even when the
> connection is unencrypted, which ends up doing (insert nil), which
> aborts the connection. Does the following help? (Lars, why is nsm
> prompting for unencrypted connections?)
>
> diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el
> index 5e8381075b..7243ae8822 100644
> --- a/lisp/net/nsm.el
> +++ b/lisp/net/nsm.el
> @@ -788,7 +788,8 @@ nsm-check-plain-connection
>  (defun nsm-query (host port status what problems message)
>    ;; If there is no user to answer queries, then say `no' to everything.
>    (if (or noninteractive
> -	  nsm-noninteractive)
> +	  nsm-noninteractive
> +          (not status))
>        nil
>      (let ((response
>  	   (condition-case nil

nsm-query gets skipped now but the process is still killed (same
message, etc).

Thanks,
Alex