From: Lars Magne Ingebrigtsen Date: Wed, 10 Nov 2010 21:18:21 +0000 (+0100) Subject: * nnimap.el: Fix problem with `g' chopping of low-numbered articles. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=0c041a38af432585c0eb3eb158f7685702a6ba93 * nnimap.el: Fix problem with `g' chopping of low-numbered articles. --- 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