Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Jason L Tibbitts III" <tibbs@math.uh.edu>
Cc: ding@gnus.org
Subject: Re: Long wait for "Expiring Articles..."
Date: Wed, 05 Feb 2014 18:17:45 -0800	[thread overview]
Message-ID: <87txcdt25y.fsf@building.gnus.org> (raw)
In-Reply-To: <ufay51q4a2d.fsf@epithumia.math.uh.edu> (Jason L. Tibbitts, III's message of "Tue, 04 Feb 2014 19:34:02 -0600")

"Jason L Tibbitts III" <tibbs@math.uh.edu> writes:

> And, to continue talking to myself, I learned about the debugger and
> stepped into gnus-request-expire-articles.  Turns out this just gets
> called with a nice big list containing the positive integers from 1 to
> 260000 or so.  Which explains why it takes so long to run.  Doesn't
> explain why Gnus seems to not be keeping track of, or asking the server
> for, the actual number of articles in the group which according to
> previous discussion it's supposed to do.

Hm; looking at the code I see that it tries to do unexist handling, so
it "should work".  >"?

If you step through `gnus-summary-expire-articles', what are the values
of `gnus-newsgroup-unexist', and what does `expirable' end up being here?

    (let* ((total (gnus-group-total-expirable-p gnus-newsgroup-name))
	   (expirable
	    (gnus-list-range-difference
	     (if total
		 (progn
		   ;; We need to update the info for
		   ;; this group for `gnus-list-of-read-articles'
		   ;; to give us the right answer.
		   (gnus-run-hooks 'gnus-exit-group-hook)
		   (gnus-summary-update-info)
		   (gnus-list-of-read-articles gnus-newsgroup-name))
	       (setq gnus-newsgroup-expirable
		     (sort gnus-newsgroup-expirable '<)))
	     gnus-newsgroup-unexist))
	   (expiry-wait (if now 'immediate
			  (gnus-group-find-parameter
			   gnus-newsgroup-name 'expiry-wait)))
	   (nnmail-expiry-target
	    (or (gnus-group-find-parameter gnus-newsgroup-name 'expiry-target)
		nnmail-expiry-target))
	   es)
-->   (when expirable


-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



  parent reply	other threads:[~2014-02-06  2:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-03  7:14 Jason L Tibbitts III
2014-02-03 21:59 ` Lars Ingebrigtsen
2014-02-03 22:12   ` Bjørn Mork
2014-02-03 22:40     ` Lars Ingebrigtsen
2014-02-04  8:19       ` Bjørn Mork
2014-02-03 22:59   ` Jason L Tibbitts III
2014-02-05  0:05     ` Jason L Tibbitts III
2014-02-05  1:34       ` Jason L Tibbitts III
2014-02-05  1:36         ` Lars Ingebrigtsen
2014-02-06  2:17         ` Lars Ingebrigtsen [this message]
2014-02-06  4:32           ` Jason L Tibbitts III
2014-02-06  6:24             ` Jason L Tibbitts III
2014-02-06  6:39               ` Lars 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=87txcdt25y.fsf@building.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    --cc=tibbs@math.uh.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).