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

From: Alex Branham <[email-masked]>
Date: Wed, 04 Sep 2019 09:24:40 -0500

On Wed 04 Sep 2019 at 16:16, Lars Ingebrigtsen <[email-masked]> wrote:

> Alex Branham <[email-masked]> writes:
>
>> I'm not at all familiar with this part of Emacs, but could it be the
>> case that the NSM is somehow killing the nnimap process before it has a
>> chance to do anything, including logging?
>
> No, the NSM just pups up a warning (and will then kill the connection if
> you tell it to).
>
> There were other changes in the patch set that could possibly affect
> something, though.
>
>>> Does your setup work if you revert Emacs back to before the NSM changes?
>>> And what is the contents of your *imap log* buffer?
>>
>> Yes, it does. After reverting to Emacs built August 18th, here's the
>> *imap log* buffer:
>
> But what does the *imap log* buffer look like in the current trunk?

Not quite "current" trunk (commit
42ba6200af10c00c72ac13912d6fb42a7af88058 from August 26th), but with
nsm-trust-local-network set to nil (the default), the *imap log* buffer
doesn't get created. If I set it to t, then *imap log* looks like this:

09:21:46 [localhost] (inhibited)
09:21:46 [localhost] 501 CAPABILITY.
09:21:46 [localhost] 502 ENABLE QRESYNC.
09:21:46 [localhost] 503 LIST "" "*".
09:21:49 [localhost] 504 EXAMINE "utexas/[Gmail]/.Sent Mail" (QRESYNC (1565742123 3)).
09:21:49 [localhost] 505 EXAMINE "utexas/[Gmail]/.Drafts" (QRESYNC (1565742121 2)).
09:21:49 [localhost] 506 EXAMINE "utexas/[Gmail]/.All Mail" (QRESYNC (1565742120 17)).
09:21:49 [localhost] 507 EXAMINE "gmail/[Gmail]/.Sent Mail" (QRESYNC (1565742118 23)).
09:21:49 [localhost] 508 SELECT "gmail/[Gmail]/.Drafts".
09:21:49 [localhost] 509 UID FETCH 1:* FLAGS.
09:21:49 [localhost] 510 EXAMINE "gmail/[Gmail]/.All Mail" (QRESYNC (1565742116 52)).
09:21:49 [localhost] 511 EXAMINE "utexas/[Gmail]/.Trash" (QRESYNC (1565742122 1)).
09:21:49 [localhost] 512 SELECT "INBOX".
09:21:49 [localhost] 513 UID FETCH 1:* FLAGS.
09:21:49 [localhost] 514 EXAMINE "gmail/emacs-orgmode" (QRESYNC (1565742113 2)).
09:21:49 [localhost] 515 EXAMINE "gmail/emacs-devel" (QRESYNC (1565742114 2)).
09:21:49 [localhost] 516 EXAMINE "gmail/[Gmail]/.Trash" (QRESYNC (1565742117 1)).
09:21:49 [localhost] 517 EXAMINE "utexas/INBOX" (QRESYNC (1565742119 39)).
09:21:49 [localhost] 518 EXAMINE "gmail/INBOX" (QRESYNC (1565742115 107)).