* gnus-agent.el (gnus-agent-possibly-synchronize-flags): A server
authorKevin Greiner <kevin.greiner@compsol.cc>
Sun, 20 Nov 2005 04:17:20 +0000 (04:17 +0000)
committerKevin Greiner <kevin.greiner@compsol.cc>
Sun, 20 Nov 2005 04:17:20 +0000 (04:17 +0000)
must be explicitly online rather than "not explicitly offline" for
its flags to be synchronized.

* gnus-sum.el (gnus-summary-remove-process-mark): Always return t so
that gnus-uu-unmark-thread will function correctly.

* gnus-group.el (gnus-total-fetched-for): Reduced cutoff so that
1024K is instead displayed as 1M.

lisp/ChangeLog
lisp/gnus-agent.el
lisp/gnus-group.el
lisp/gnus-sum.el

index 31a0969..7f014f8 100644 (file)
@@ -1,3 +1,15 @@
+2005-11-19  Kevin Greiner  <kevin.greiner@compsol.cc>
+
+       * gnus-agent.el (gnus-agent-possibly-synchronize-flags): A server
+       must be explicitly online rather than "not explicitly offline" for
+       its flags to be synchronized.
+
+       * gnus-sum.el (gnus-summary-remove-process-mark): Always return t so
+       that gnus-uu-unmark-thread will function correctly.
+
+       * gnus-group.el (gnus-total-fetched-for): Reduced cutoff so that
+       1024K is instead displayed as 1M.
+
 2005-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * flow-fill.el (fill-flowed): Bind adaptive-fill-mode to nil. 
index 7daf318..634b2b7 100644 (file)
@@ -838,7 +838,7 @@ be a select method."
   (save-excursion
     (dolist (gnus-command-method (gnus-agent-covered-methods))
       (when (and (file-exists-p (gnus-agent-lib-file "flags"))
-                (not (eq (gnus-server-status gnus-command-method) 'offline)))
+                (eq (gnus-server-status gnus-command-method) 'ok))
        (gnus-agent-possibly-synchronize-flags-server gnus-command-method)))))
 
 (defun gnus-agent-synchronize-flags-server (method)
index 1254f09..36094fc 100644 (file)
@@ -1703,7 +1703,7 @@ If FIRST-TOO, the current line is also eligible as a target."
         (size (+ size-in-cache size-in-agent))
         (suffix '("B" "K" "M" "G"))
         (scale 1024.0)
-        (cutoff (* 10 scale)))
+        (cutoff scale))
     (while (> size cutoff)
       (setq size (/ size scale)
            suffix (cdr suffix)))
index 7204bef..dfc3c09 100644 (file)
@@ -10020,7 +10020,8 @@ the actual number of articles marked is returned."
     (when (gnus-summary-goto-subject article)
       (gnus-summary-show-thread)
       (gnus-summary-goto-subject article)
-      (gnus-summary-update-secondary-mark article))))
+      (gnus-summary-update-secondary-mark article)))
+  t)
 
 (defun gnus-summary-set-saved-mark (article)
   "Set the process mark on ARTICLE and update the summary line."