Gnus development mailing list
 help / color / mirror / Atom feed
From: Norman Walsh <ndw@nwalsh.com>
Subject: Re: Continuing struggle with expiry
Date: Mon, 05 Aug 2002 08:33:02 -0400	[thread overview]
Message-ID: <87bs8hxz7l.fsf@nwalsh.com> (raw)
In-Reply-To: <m3r8hhp47n.fsf@multivac.cwru.edu> (prj@po.cwru.edu's message of "Fri, 02 Aug 2002 13:20:22 -0400")

/ prj@po.cwru.edu (Paul Jarc) was heard to say:
| Norman Walsh <ndw@nwalsh.com> 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 <ndw@nwalsh.com> | We think in generalities, but we live
http://nwalsh.com/            | in detail--Alfred North Whitehead



  reply	other threads:[~2002-08-05 12:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-02 15:07 Norman Walsh
2002-08-02 17:20 ` Paul Jarc
2002-08-05 12:33   ` Norman Walsh [this message]
2002-08-05 12:42     ` Simon Josefsson
2002-08-05 14:52       ` Norman Walsh
2002-08-05 15:44         ` Kai Großjohann
2002-08-02 18:09 ` Kai Großjohann

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=87bs8hxz7l.fsf@nwalsh.com \
    --to=ndw@nwalsh.com \
    /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).