Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@pdc.kth.se>
Subject: Re: nnml still tries to find a mail-source for every group
Date: 22 Nov 1999 19:12:32 +0100	[thread overview]
Message-ID: <iluk8nabdkf.fsf@badis.pdc.kth.se> (raw)
In-Reply-To: dsg@mitre.org's message of "22 Nov 1999 12:29:49 -0500"

David S. Goldberg <dsg@mitre.org> writes:

> There is one difference between current behavior and what I had
> before, though.  In particular 2 g only gets mail for level 2
> groups.  It used to get mail for both 1 and 2.  So I have to do a 1
> g for level 1 stuff and 2 g for level 2 stuff.

I believe the first is the expected behaviour, and I can't see how my
patch could change that. You do have nnml groups on both level 1 and
2? Are you sure it's my patch that causes this change?

> So, with the latest CVS and Simon's patch, gnus-no-server is working
> the "right" way with regard to nnml groups.

Lars, should I commit it?

diff -w -u -r5.41 gnus-start.el
--- gnus-start.el	1999/11/20 03:55:47	5.41
+++ gnus-start.el	1999/11/22 18:12:29
@@ -1498,7 +1498,7 @@
 		  gnus-activate-foreign-newsgroups)
 		 (t 0))
 	   level))
-	 info group active method retrievegroups)
+	 scanned-methods info group active method retrievegroups)
     (gnus-message 5 "Checking new news...")
 
     (while newsrc
@@ -1542,7 +1542,10 @@
 		  (setcdr (assoc method retrievegroups)
 			  (cons group (cdr (assoc method retrievegroups))))
 		(push (list method group) retrievegroups))
+	    (if (member method scanned-methods)
+		(setq active (gnus-activate-group group))
 	  (setq active (gnus-activate-group group 'scan))
+	      (push method scanned-methods))
 	    (inline (gnus-close-group group))))))
 
       ;; Get the number of unread articles in the group.


  reply	other threads:[~1999-11-22 18:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-18 20:34 David S. Goldberg
1999-11-19 16:23 ` David S. Goldberg
1999-11-19 23:35 ` Simon Josefsson
1999-11-22 14:53   ` David S. Goldberg
1999-11-22 15:03     ` David S. Goldberg
1999-11-22 15:46       ` David S. Goldberg
1999-11-22 16:58         ` Randal L. Schwartz
1999-11-22 17:29           ` David S. Goldberg
1999-11-22 18:12             ` Simon Josefsson [this message]
1999-12-01 17:13               ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iluk8nabdkf.fsf@badis.pdc.kth.se \
    --to=jas@pdc.kth.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).