From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62051 Path: news.gmane.org!not-for-mail From: Max Froumentin Newsgroups: gmane.emacs.gnus.general Subject: bug in nnfolder-request-expire-articles Date: Tue, 21 Feb 2006 12:09:39 +0000 Organization: none Message-ID: <87acck52ws.fsf@lapin-bleu.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140523842 9302 80.91.229.2 (21 Feb 2006 12:10:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2006 12:10:42 +0000 (UTC) Original-X-From: ding-owner+m10579@lists.math.uh.edu Tue Feb 21 13:10:40 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FBWLi-0006VV-B5 for ding-account@gmane.org; Tue, 21 Feb 2006 13:10:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FBWLf-00016u-00; Tue, 21 Feb 2006 06:10:31 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FBWLH-00016o-00 for ding@lists.math.uh.edu; Tue, 21 Feb 2006 06:10:07 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FBWLE-0003T0-TN for ding@lists.math.uh.edu; Tue, 21 Feb 2006 06:10:06 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FBWLD-0001lz-00 for ; Tue, 21 Feb 2006 13:10:03 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FBWL3-0006Kk-9P for ding@gnus.org; Tue, 21 Feb 2006 13:09:53 +0100 Original-Received: from dhcp-09.ilrt.bris.ac.uk ([137.222.34.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Feb 2006 13:09:53 +0100 Original-Received: from max by dhcp-09.ilrt.bris.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Feb 2006 13:09:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dhcp-09.ilrt.bris.ac.uk User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:NaLD8etK+cOZVoo1ufupsKRsbz4= X-Spam-Score: -2.4 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62051 Archived-At: nnfolder.el CVS-7.16 (i.e. latest as of this email) nnfolder-request-expire-articles has a comment that says: ;; Since messages are sorted in arrival order and expired in the ;; same order, we can stop as soon as we find a message that is ;; too old. That's not true in some (admittedly twisted, but it happened to me) circumstances: the messages are sorted in arrival order, but that doesn't mean that they are sorted in date order. What happened to me is that I mistakenly set my computer's date months ahead in the future, and received some emails, then realised my mistake and corrected the system's date. That meant that the messages were indeed sorted in arrival order but not by date. When nnfolder-request-expire-articles expired articles, it found the first in arrival order wasn't to be expired, because it wasn't old enough, and thus it stopped and never checked the next articles. The best fix would be along the lines of sorting the expirable articles by date and not by number in gnus-summary-expire-articles. But it would be slower, and I don't know if we should bother given the small importance of the bug (it always resolves eventually, as soon as the first article in the list becomes expirable, and it only becomes an annoyance if the date has been off by a long time). Max.