]> git.eshelyaron.com Git - emacs.git/commitdiff
Ensure that non-QRESYNC nnimap can proceed after a QRESYNC fail
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 12 Apr 2018 16:12:03 +0000 (18:12 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 12 Apr 2018 16:12:03 +0000 (18:12 +0200)
* 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

index ffe1a47e9320c669f01fa334fd3642bdc9a87544..a884376efb6d34f585d061245ba8f1c3852861e0 100644 (file)
@@ -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