From 0c041a38af432585c0eb3eb158f7685702a6ba93 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Wed, 10 Nov 2010 22:18:21 +0100 Subject: [PATCH] * nnimap.el: Fix problem with `g' chopping of low-numbered articles. --- lisp/ChangeLog | 5 +++++ lisp/nnimap.el | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7ad6e585a..fac82b265 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-11-10 Lars Magne Ingebrigtsen + + * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of + low-numbered articles. + 2010-11-10 Katsumi Yamaoka * rfc2047.el (rfc2047-syntax-table): Simplify. diff --git a/lisp/nnimap.el b/lisp/nnimap.el index 67e2c91c3..ed69c4cda 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1155,13 +1155,16 @@ textual parts.") (not (gnus-active group))) (gnus-set-active group (cond + (active + (cons (min (or low (car active)) + (car active)) + (max (or high (cdr active)) + (cdr active)))) ((and low high) (cons low high)) (uidnext ;; No articles in this group. (cons uidnext (1- uidnext))) - (active - active) (start-article (cons start-article (1- start-article))) (t -- 2.25.1