From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45824 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: B DEL is being treated as expiry? Date: Fri, 26 Jul 2002 18:37:53 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027701503 26185 127.0.0.1 (26 Jul 2002 16:38:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2002 16:38:23 +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 17Y86f-0006oE-00 for ; Fri, 26 Jul 2002 18:38:22 +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 17Y86X-0000uZ-00; Fri, 26 Jul 2002 11:38:13 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 26 Jul 2002 11:38: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 LAA28330 for ; Fri, 26 Jul 2002 11:38:25 -0500 (CDT) Original-Received: (qmail 15623 invoked by alias); 26 Jul 2002 16:37:55 -0000 Original-Received: (qmail 15618 invoked from network); 26 Jul 2002 16:37:55 -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; 26 Jul 2002 16:37:55 -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 g6QGbrkd030601 for ; Fri, 26 Jul 2002 18:37:54 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Hashcash: 020726:ding@gnus.org:9a88e5ea7e510864 In-Reply-To: (prj@po.cwru.edu's message of "Fri, 26 Jul 2002 10:50:26 -0400") Original-Lines: 42 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45824 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45824 prj@po.cwru.edu (Paul Jarc) writes: > Simon Josefsson wrote: >> I think the problem under discussion only happens for nnmail backends, >> since the problem only happens when expiry targets which is a nnmail >> thingie. > > No, nnmaildir has an equivalent but independent feature. Which is used even when `force' is non-nil? I think the feature should be deactivated in that case. Hm. Really, nnml and other backends shouldn't use the nnmail-expiry-target feature when force is non-nil as well. This would be the proper fix, instead of binding nnmail-expiry-target to 'delete in gnus-sum.el. Someone who like to take a look at it? > Anyway, it seems that we want two functions: immediate deletion and > time-based expiration, where the behavior on expiration is > configurable. Are we satisfied that those are the only features we > want from nnchoke-request-expire-articles? If so, then let's update > the backend interface documentation to specify that the "force" > argument indicates both immediacy and deletion instead of > expiration. Then let's fix the code to make it so. Or, if we're > not satisfied with those two functions, let's figure out what else > we want, and then update the docs and code. I thought the force parameter indicated immediate deletion. Isn't the docs clear? `(nnchoke-request-expire-articles ARTICLES &optional GROUP SERVER FORCE)' This function should run the expiry process on all articles in the ARTICLES range (which is currently a simple list of article numbers.) It is left up to the back end to decide how old articles should be before they are removed by this function. If FORCE is non-`nil', all ARTICLES should be deleted, no matter how new they are. This function should return a list of articles that it did not/was not able to delete. There should be no result data returned.