[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5c129791c5b: Report correct unread count for nnimap groups
From: |
Robert Pluim |
Subject: |
master 5c129791c5b: Report correct unread count for nnimap groups |
Date: |
Tue, 15 Oct 2024 04:27:55 -0400 (EDT) |
branch: master
commit 5c129791c5b1639481c109cc44974c7d9b7f3dcf
Author: Dan Christensen <jdc@uwo.ca>
Commit: Robert Pluim <rpluim@gmail.com>
Report correct unread count for nnimap groups
* lisp/gnus/nnimap.el (nnimap-request-group): Use '(1 . 0) range
as default, and calculate the actual range the same way as other
backends. (Bug@72949)
Copyright-paperwork-exempt: Yes
---
lisp/gnus/nnimap.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 7b0e42ff89d..16ed338a0de 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -918,10 +918,10 @@ during splitting, which may be slow."
(nnimap-finish-retrieve-group-infos server info sequences
t)
(setq active (nth 2 (assoc group nnimap-current-infos)))))
- (setq active (or active '(0 . 1)))
+ (setq active (or active '(1 . 0)))
(erase-buffer)
(insert (format "211 %d %d %d %S\n"
- (- (cdr active) (car active))
+ (max (1+ (- (cdr active) (car active))) 0)
(car active)
(cdr active)
group))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5c129791c5b: Report correct unread count for nnimap groups,
Robert Pluim <=