[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: agent strangeness



Simon Josefsson <jas@pdc.kth.se> writes:

> Since late PGnus 0.8x's I haven't been able to use the Agent at all --

I debugged it and this patch solve that problem for me. I'll try the
agent stuff now to see if I can answer Conrad's question.

1999-08-17  Simon Josefsson  <jas@pdc.kth.se>

	* gnus-start.el (gnus-groups-to-gnus-format): Only use agent
	to get active info if method is covered by agent, otherwise
	active info is lost.

--- /tmp/jas/pgnus-0.95/lisp/gnus-start.el      Wed Jul  7 14:58:11 1999
+++ lisp/gnus-start.el  Tue Aug 17 22:42:44 1999
@@ -1828,7 +1828,7 @@
                     (gnus-group-prefixed-name "" method))))
 
     ;; Let the Gnus agent save the active file.
-    (if (and gnus-agent real-active gnus-plugged)
+    (if (and gnus-agent real-active gnus-plugged (gnus-agent-method-p method))
        (progn
          (gnus-agent-save-groups method)
          (gnus-active-to-gnus-format method hashtb nil real-active))