From 4616ddc1316f9e25429ab932bf87149dc578381d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 12 Apr 2018 18:12:03 +0200 Subject: [PATCH] Ensure that non-QRESYNC nnimap can proceed after a QRESYNC fail * lisp/gnus/nnimap.el (nnimap-update-info): If we don't have a start-article in the non-QRESYNC case, then the start has to be 1 (bug#23241). --- lisp/gnus/nnimap.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index ffe1a47e932..a884376efb6 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -1544,6 +1544,8 @@ If LIMIT, first try to limit the search to the N last articles." info existing (nnimap-imap-ranges-to-gnus-ranges vanished) flags) ;; Do normal non-QRESYNC flag updates. ;; Update the list of read articles. + (unless start-article + (setq start-article 1)) (let* ((unread (gnus-compress-sequence (gnus-set-difference -- 2.39.2