From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46004 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Continuing struggle with expiry Date: Mon, 05 Aug 2002 14:42:46 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87heid47uu.fsf@nwalsh.com> <87bs8hxz7l.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 1028551396 25371 127.0.0.1 (5 Aug 2002 12:43:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2002 12:43:16 +0000 (UTC) Cc: ding@gnus.org 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 17bhCc-0006ay-00 for ; Mon, 05 Aug 2002 14:43:14 +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 17bhCZ-000660-00; Mon, 05 Aug 2002 07:43:11 -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:43:38 -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 HAA20461 for ; Mon, 5 Aug 2002 07:43:23 -0500 (CDT) Original-Received: (qmail 7098 invoked by alias); 5 Aug 2002 12:42:51 -0000 Original-Received: (qmail 7093 invoked from network); 5 Aug 2002 12:42:50 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 5 Aug 2002 12:42:50 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.5/8.12.5) with ESMTP id g75CgkZX027476; Mon, 5 Aug 2002 14:42:47 +0200 Original-To: Norman Walsh Mail-Copies-To: nobody X-Hashcash: 020805:ndw@nwalsh.com:c4c10aa25d60c52e X-Hashcash: 020805:ding@gnus.org:580ccc380ae41fce In-Reply-To: <87bs8hxz7l.fsf@nwalsh.com> (Norman Walsh's message of "Mon, 05 Aug 2002 08:33:02 -0400") Original-Lines: 30 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46004 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46004 Norman Walsh writes: > / 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. Are you using the correct time-since? I think a problem like this was solved in time-date.el a few months ago, so if you have an older byte compiled version still laying around somewhere, perhaps your emacs uses the wrong one. Try C-h f time-since in a fresh Gnus.