Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: Re: expiring articles
Date: 29 Mar 1996 17:10:51 +0100	[thread overview]
Message-ID: <w8ska03op6c.fsf@aegir.ifi.uio.no> (raw)
In-Reply-To: <vafenqe4e3m.fsf@dusty>

Kai Grossjohann <grossjoh@dusty.informatik.uni-dortmund.de> writes:

> I would like to add expiration to nntp.el.  How do I do this?  To be
> precise, how do I find out if an article is expirable?
> 
> I know of the function nnmail-expired-article-p, but how do I find out
> the TIME argument to call it?

Well, you need to get some form of date from the backend.  nndb could
just use the Date header of the message, and just call
`nnmail-date-to-time' to get a TIME.  Or nndb could store the arrival
date of the message somewhere -- which is what, say, nnfolder does.
(It adds an extra header.)

-- 
  "Yes.  The journey through the human heart 
     would have to wait until some other time."


      reply	other threads:[~1996-03-29 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-27 17:53 Kai Grossjohann
1996-03-29 16:10 ` Lars Magne Ingebrigtsen [this message]

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=w8ska03op6c.fsf@aegir.ifi.uio.no \
    --to=larsi@ifi.uio.no \
    /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).