From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53028 Path: main.gmane.org!not-for-mail From: Nevin Kapur Newsgroups: gmane.emacs.gnus.general Subject: [Patch] nnmh.el does not consider expiry-target Date: Thu, 05 Jun 2003 21:45:29 -0400 Organization: Mathematical Sciences, The Johns Hopkins University Sender: ding-owner@lists.math.uh.edu Message-ID: <17713.3756260902$1054863909@news.gmane.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054863909 4252 80.91.224.249 (6 Jun 2003 01:45:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2003 01:45:09 +0000 (UTC) Original-X-From: ding-owner+M1572@lists.math.uh.edu Fri Jun 06 03:45:07 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19O6Hy-00016G-00 for ; Fri, 06 Jun 2003 03:45:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19O6Ih-0001WX-00; Thu, 05 Jun 2003 20:45:51 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19O6IZ-0001WP-00 for ding@lists.math.uh.edu; Thu, 05 Jun 2003 20:45:43 -0500 Original-Received: (qmail 11652 invoked by alias); 6 Jun 2003 01:45:42 -0000 Original-Received: (qmail 11647 invoked from network); 6 Jun 2003 01:45:42 -0000 Original-Received: from main.gmane.org (80.91.224.249) by sclp3.sclp.com with SMTP; 6 Jun 2003 01:45:42 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19O6GC-000101-00 for ; Fri, 06 Jun 2003 03:43:16 +0200 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19O6GB-0000zq-00 for ; Fri, 06 Jun 2003 03:43:15 +0200 Original-Lines: 31 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (darwin) Cancel-Lock: sha1:CBHtwnV6MoZS7D58Pdahjlq2KGI= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53028 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53028 Please consider the following patch which makes nnmh-request-expire-articles check not only nnmail-expiry-target but the expiry-target group parameter. 2003-06-05 Nevin Kapur * nnmh.el (nnmh-request-expire-articles): Check for expiry-target as target for expiry. Index: lisp/nnmh.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nnmh.el,v retrieving revision 6.12 diff -u -r6.12 nnmh.el --- lisp/nnmh.el 1 May 2003 14:23:15 -0000 6.12 +++ lisp/nnmh.el 6 Jun 2003 01:57:52 -0000 @@ -268,7 +268,10 @@ (nnmail-expired-article-p newsgroup mod-time force))) (progn ;; Allow a special target group. -- jcn - (unless (eq nnmail-expiry-target 'delete) + (unless (eq (or + (gnus-group-find-parameter + gnus-newsgroup-name 'expiry-target) + nnmail-expiry-target) 'delete) (with-temp-buffer (nnmh-request-article (car articles) newsgroup server (current-buffer)) -Nevin