aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2018-04-12 18:12:03 +0200
committerLars Ingebrigtsen2018-04-12 18:12:03 +0200
commit4616ddc1316f9e25429ab932bf87149dc578381d (patch)
tree448ab4e6bb8bedf2faae324509b58b1979112d10
parentd9d90def6e76e445be965760705b75f9c01b83a5 (diff)
downloademacs-4616ddc1316f9e25429ab932bf87149dc578381d.tar.gz
emacs-4616ddc1316f9e25429ab932bf87149dc578381d.zip
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).
-rw-r--r--lisp/gnus/nnimap.el2
1 files changed, 2 insertions, 0 deletions
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."
1544 info existing (nnimap-imap-ranges-to-gnus-ranges vanished) flags) 1544 info existing (nnimap-imap-ranges-to-gnus-ranges vanished) flags)
1545 ;; Do normal non-QRESYNC flag updates. 1545 ;; Do normal non-QRESYNC flag updates.
1546 ;; Update the list of read articles. 1546 ;; Update the list of read articles.
1547 (unless start-article
1548 (setq start-article 1))
1547 (let* ((unread 1549 (let* ((unread
1548 (gnus-compress-sequence 1550 (gnus-compress-sequence
1549 (gnus-set-difference 1551 (gnus-set-difference