From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46003 Path: main.gmane.org!not-for-mail From: Norman Walsh Newsgroups: gmane.emacs.gnus.general Subject: Re: Continuing struggle with expiry Date: Mon, 05 Aug 2002 08:33:02 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87bs8hxz7l.fsf@nwalsh.com> References: <87heid47uu.fsf@nwalsh.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028550907 24185 127.0.0.1 (5 Aug 2002 12:35:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2002 12:35:07 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17bh4j-0006Hy-00 for ; Mon, 05 Aug 2002 14:35:06 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17bh3s-0005yV-00; Mon, 05 Aug 2002 07:34:12 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 05 Aug 2002 07:34:39 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA20437 for ; Mon, 5 Aug 2002 07:34:25 -0500 (CDT) Original-Received: (qmail 6951 invoked by alias); 5 Aug 2002 12:33:53 -0000 Original-Received: (qmail 6946 invoked from network); 5 Aug 2002 12:33:52 -0000 Original-Received: from dc-mx08.cluster1.charter.net (209.225.8.18) by gnus.org with SMTP; 5 Aug 2002 12:33:52 -0000 Original-Received: from [68.112.234.9] (HELO mercury) by dc-mx08.cluster1.charter.net (CommuniGate Pro SMTP 3.5.9) with ESMTP id 73495112 for ding@gnus.org; Mon, 05 Aug 2002 08:32:55 -0400 Original-Received: from ndw by mercury with local (Exim 3.35 #1 (Debian)) id 17bh2k-0005Su-00 for ; Mon, 05 Aug 2002 08:33:02 -0400 Original-To: ding@gnus.org X-URL: http://nwalsh.com/ In-Reply-To: (prj@po.cwru.edu's message of "Fri, 02 Aug 2002 13:20:22 -0400") Original-Lines: 38 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46003 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46003 / prj@po.cwru.edu (Paul Jarc) was heard to say: | Norman Walsh wrote: |> What function actually cleans up articles marked expired that are older |> than expiry-wait days? | | nn*-request-expire-articles. Uncle! I like to think I enjoy elisp hackery as much as the next guy, but the more I investigate this problem, the less sense it makes. Expiry isn't working for me because nnml-request-expire-articles calls nnmail-expired-article-p with mod-time set to '(15679 803). And when nnmail-expired-article-p asks for the (time-since '(15679 803)), time-since goes bang: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) time-since((15679 803)) eval((time-since (quote (15679 803)))) That is, the byte-compiled, auto-loaded version of time-since goes bang. If I copy the definition of time-since into *scratch* and compile it myself, which I did initially in order to debug it further, it runs just fine, thank you very much. BTW, "goes bang" isn't strictly true. nnmail-expired-article-p calls (ignore-errors (time-less-p ...)) so the error in time-since is ignored, and nil is returned, meaning that no article is expired. Help!? For the record, I'm running GNU Emacs 21.1.1 and ognus from CVS this morning. Be seeing you, norm -- Norman Walsh | We think in generalities, but we live http://nwalsh.com/ | in detail--Alfred North Whitehead