Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: gnus-group-get-new-news broken again
Date: 04 Dec 1999 23:20:44 -0500	[thread overview]
Message-ID: <2niu2evx0j.fsf@tiger.jia.vnet> (raw)
In-Reply-To: Simon Josefsson's message of "05 Dec 1999 01:43:07 +0100"

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

Simon> Michael Harnois <mharnois@willinet.net> writes:
>> > I have mail groups at level 1, and news groups at level 3.  I
>> > use C-u 2 g to get new email messages.
>> 
>> > A few days ago, this worked, but now it doesn't (it doesn't get
>> > any new messages).  I'm using CVS gnus, and this coincides
>> > approximately with the 0.99->5.8.2->5.8.3 change, I guess.
>> 
>> I reported it three days ago, so it's at least that old...

Simon> Hm, does it go away if you remove my speedup-patch, by applying this
Simon> patch below?  Commited some days ago, so it might be it.

Simon> If so, what does the select method for your level 1 group look like?
Simon> (`G e' in the group buffer, on the group)

Simon> --- gnus-start.el	Sun Dec  5 01:34:31 1999
Simon> +++ gnus-start.el.~5.41~	Sun Dec  5 01:32:59 1999
Simon> @@ -1550,10 +1542,7 @@
Simon>  		  (setcdr (assoc method retrievegroups)
Simon>  			  (cons group (cdr (assoc method retrievegroups))))
Simon>  		(push (list method group) retrievegroups))
Simon> -	    (if (member method scanned-methods)
Simon> -		(setq active (gnus-activate-group group))
Simon> -	      (setq active (gnus-activate-group group 'scan))
Simon> -	      (push method scanned-methods))
Simon> +	  (setq active (gnus-activate-group group 'scan))
Simon>  	    (inline (gnus-close-group group))))))
 
Simon>        ;; Get the number of unread articles in the group.


I think the patch speed up most mail sources correctly except
directory, since there is a hack code in nnmail-get-new-mail
(nnmail.el:1426), which only fetch the contents of a single group's
spool file. With the patch, `2 g' fetching for the first group
inhibits fetching from other spool files.  For those users who do not
use directory as a mail source, this patch would not be a problem.

-- 
Shenghuo


  reply	other threads:[~1999-12-05  4:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-04 14:24 Bruce Stephens
1999-12-04 16:52 ` Michael Harnois
1999-12-04 17:17   ` Shenghuo ZHU
1999-12-04 17:46     ` Michael Harnois
1999-12-05  0:43   ` Simon Josefsson
1999-12-05  4:20     ` Shenghuo ZHU [this message]
1999-12-05 15:16       ` Simon Josefsson
1999-12-05 16:24         ` Shenghuo ZHU
1999-12-05 16:53           ` Michael Harnois
1999-12-05 17:01           ` Bruce Stephens

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=2niu2evx0j.fsf@tiger.jia.vnet \
    --to=zsh@cs.rochester.edu \
    /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).