From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84193 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Long wait for "Expiring Articles..." Date: Wed, 05 Feb 2014 18:17:45 -0800 Message-ID: <87txcdt25y.fsf@building.gnus.org> References: <87zjm73ljq.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391656308 18267 80.91.229.3 (6 Feb 2014 03:11:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2014 03:11:48 +0000 (UTC) Cc: ding@gnus.org To: "Jason L Tibbitts III" Original-X-From: ding-owner+M32445@lists.math.uh.edu Thu Feb 06 04:11:55 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBFNa-0003JB-Gt for ding-account@gmane.org; Thu, 06 Feb 2014 04:11:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1WBFNJ-00010R-HW; Wed, 05 Feb 2014 21:11:37 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1WBEYT-0000n4-6x for ding@lists.math.uh.edu; Wed, 05 Feb 2014 20:19:05 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WBEYS-0002Iv-C6 for ding@lists.math.uh.edu; Wed, 05 Feb 2014 20:19:05 -0600 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WBEYR-0000Yr-2A for ding@gnus.org; Thu, 06 Feb 2014 03:19:03 +0100 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBEYC-0000iy-Db; Thu, 06 Feb 2014 03:18:48 +0100 In-Reply-To: (Jason L. Tibbitts, III's message of "Tue, 04 Feb 2014 19:34:02 -0600") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WBEYC-0000iy-Db MailScanner-NULL-Check: 1392257929.50443@a3T+5mapXRJbSxZkfqhShA X-Spam-Status: No X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84193 Archived-At: "Jason L Tibbitts III" 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/