Gnus development mailing list
 help / color / mirror / Atom feed
From: Nevin Kapur <kapur@mts.jhu.edu>
Subject: [Patch] nnmh.el does not consider expiry-target
Date: Thu, 05 Jun 2003 21:45:29 -0400	[thread overview]
Message-ID: <17713.3756260902$1054863909@news.gmane.org> (raw)

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  <kapur@mts.jhu.edu>

	* 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




                 reply	other threads:[~2003-06-06  1:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='17713.3756260902$1054863909@news.gmane.org' \
    --to=kapur@mts.jhu.edu \
    /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).