* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
authorTed Zlatanov <tzz@lifelogs.com>
Wed, 20 Apr 2011 20:40:19 +0000 (15:40 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Wed, 20 Apr 2011 20:40:19 +0000 (15:40 -0500)
lisp/ChangeLog
lisp/gnus-registry.el

index 885e0ed..f23e8a3 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-registry.el
+       (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
+
 2011-04-20  David Engster  <dengste@eml.cc>
 
        * tests/gnustest-nntp.el: New file for simple NNTP testing.
index 009786d..3dbffd9 100644 (file)
@@ -442,8 +442,10 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details."
         (gnus-message 9 "%s is looking up %s" log-agent reference)
         (loop for group in (gnus-registry-get-id-key reference 'group)
               when (gnus-registry-follow-group-p group)
-              do (gnus-message 7 "%s traced %s to %s" log-agent reference group)
-              do (push group found)))
+              do
+              (progn
+                (gnus-message 7 "%s traced %s to %s" log-agent reference group)
+                (push group found))))
       ;; filter the found groups and return them
       ;; the found groups are the full groups
       (setq found (gnus-registry-post-process-groups
@@ -468,7 +470,7 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details."
                          (if gnus-registry-track-extra 7 9)
                          "%s (extra tracking) traced subject '%s' to %s"
                          log-agent subject group)
-                     collect group))
+                    and collect group))
          ;; filter the found groups and return them
          ;; the found groups are NOT the full groups
          (setq found (gnus-registry-post-process-groups
@@ -495,7 +497,7 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details."
                          (if gnus-registry-track-extra 7 9)
                          "%s (extra tracking) traced sender '%s' to %s"
                          log-agent sender group)
-                     collect group)))
+                     and collect group)))
 
        ;; filter the found groups and return them
        ;; the found groups are NOT the full groups
@@ -525,7 +527,7 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details."
                              (if gnus-registry-track-extra 7 9)
                              "%s (extra tracking) traced recipient '%s' to %s"
                              log-agent recp group)
-                         collect group)))))
+                        and collect group)))))
 
        ;; filter the found groups and return them
        ;; the found groups are NOT the full groups