[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 4616ddc 2/2: Ensure that non-QRESYNC nnimap can pro
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 4616ddc 2/2: Ensure that non-QRESYNC nnimap can proceed after a QRESYNC fail |
Date: |
Thu, 12 Apr 2018 12:14:29 -0400 (EDT) |
branch: master
commit 4616ddc1316f9e25429ab932bf87149dc578381d
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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 ffe1a47..a884376 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