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

Re: nnshimbun-request-scan fetches unsubscribed server groups



Katsumi Yamaoka <yamaoka@xxxxxxx> writes:

> Matt Lundin <mdl@xxxxxxxxxxxx> wrote:
>> With the most recent nognus (44e4398abd1f2d11b3f32d64c54a6366104cf485),
>> all nnshimbun groups in a server are fetched at startup, regardless of
>> whether one has subscribed to them or not.
> [...]
>
> I've introduced `nnshimbun-retrieve-groups' that's the new back
> end function, and also modified `nnshimbun-request-scan' so as
> to do nothing unless a group to scan is specified.  Could you try
> it?

Thank you. While nnshimbun no longer activates all groups at startup, it
now does not activate any groups. It works as expected (i.e., activates
only subscribed groups at startup) if I replace nnshimbun-request-group
with nnshimbun-request-scan in nnshimbun-retrieve-groups.
--- nnshimbun.el	2010-09-30 07:38:47.825664151 -0400
+++ nnshimbun-fix.el	2010-09-30 08:21:01.153141306 -0400
@@ -531,7 +531,7 @@
 (deffoo nnshimbun-retrieve-groups (groups &optional server)
   (when (nnshimbun-possibly-change-group nil server)
     (dolist (group groups)
-      (nnshimbun-request-group group server))
+      (nnshimbun-request-scan group server))
     t))
 
 (deffoo nnshimbun-close-group (group &optional server)
Best,
Matt