Fix the prefixed select method in the presence of many similar methods.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 21 Sep 2010 20:06:53 +0000 (22:06 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 21 Sep 2010 20:06:53 +0000 (22:06 +0200)
lisp/ChangeLog
lisp/gnus-start.el

index 5f9b669..6d77128 100644 (file)
@@ -1,5 +1,8 @@
 2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select
+       method in the presence of many similar methods.
+
        * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
 
        * nnimap.el (nnimap-find-expired-articles): Don't refer to
index f4745c1..97a920a 100644 (file)
@@ -1712,6 +1712,9 @@ If SCAN, request a scan of that group as well."
       ;; method.
       (if (not (setq method (gnus-info-method info)))
          (setq method gnus-select-method)
+       ;; There may be several similar methods.  Possibly extend the
+       ;; method.
+       (setq method (gnus-find-method-for-group (gnus-info-group info) info))
        (if (setq cmethod (assoc method methods-cache))
            (setq method (cdr cmethod))
          (setq cmethod (inline (gnus-server-get-method nil method)))