[gnus git] branch master updated: =1= (nnimap-update-info): Fix macrology bug-out.

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  77b51da138680394f8cb5cef724e9af0cc78ba3d (commit)
      from  6c7c716a21493485a47f4ca081c01c3c4c1ee5fc (commit)


- Log -----------------------------------------------------------------
commit 77b51da138680394f8cb5cef724e9af0cc78ba3d
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 7 02:57:26 2011 -0800

    (nnimap-update-info): Fix macrology bug-out.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a49f3ae..a6472b0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -6,6 +6,7 @@
 	(nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
 	characters.
 	(nnimap-process-quirk): Renamed function to avoid collision.
+	(nnimap-update-info): Fix macrology bug-out.
 
 2011-02-06  Lars Ingebrigtsen  <[email protected]>
 
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 4ca7e7f..127082b 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -1254,10 +1254,9 @@ textual parts.")
 	(when uidnext
 	  (setq high (1- uidnext)))
 	;; First set the active ranges based on high/low.
-	(gnus-set-active
-	 group
 	 (if (or completep
 		 (not (gnus-active group)))
+	    (gnus-set-active group
 	     (cond
 	      (active
 	       (cons (min (or low (car active))
@@ -1273,7 +1272,8 @@ textual parts.")
 	       (cons start-article (1- start-article)))
 	      (t
 	       ;; No articles and no uidnext.
-	       nil))
+			       nil)))
+	  (gnus-set-active group
 	   (cons (car active)
 		 (or high (1- uidnext)))))
 	;; See whether this is a read-only group.

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    1 +
 lisp/nnimap.el |   44 ++++++++++++++++++++++----------------------
 2 files changed, 23 insertions(+), 22 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.