bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Alex Branham
Subject: bug#37221: 27.0.50; gnus fails to open connection post-NSM update
Date: Wed, 04 Sep 2019 10:04:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Wed 04 Sep 2019 at 16:56, Robert Pluim <rpluim@gmail.com> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]