From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5809 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: expiring articles Date: 29 Mar 1996 17:10:51 +0100 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146358 1463 80.91.224.250 (20 Oct 2002 20:39:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:39:18 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id JAA06736 for ; Fri, 29 Mar 1996 09:08:28 -0800 Original-Received: from aegir.ifi.uio.no (4867@aegir.ifi.uio.no [129.240.94.24]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Fri, 29 Mar 1996 17:10:53 +0100 Original-Received: (from larsi@localhost) by aegir.ifi.uio.no ; Fri, 29 Mar 1996 17:10:51 +0100 Original-To: ding@ifi.uio.no Original-Lines: 17 Xref: main.gmane.org gmane.emacs.gnus.general:5809 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5809 Kai Grossjohann 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."