Gnus development mailing list
 help / color / mirror / Atom feed
From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: how does expiry-target work?
Date: 22 Nov 2000 17:11:59 -0500	[thread overview]
Message-ID: <2naearodw0.fsf@tiger.jia.vnet> (raw)
In-Reply-To: <m3zoisgo5s.fsf@appel.lilypond.org>

janneke@gnu.org writes:

> Ah, that's it.  You can see from my comments that I haven't really
> grasped the finer details of Gnus, but here's a start that seems to
> work.  It may need some cleaning, possibly by someone who knows the
> answer to my comments.

[...]

> +;; Do we need this?  We can't seem to use nnmail-expiry-target-group.
> +;; What exacty is generic, and what's backend (nnmail, nnml, nnheader)?
> +;; -- jcn

We can use nnmail-expiry-target-group. nnml is a backend. nnmail and
nnheader are mail support functions for Gnus backends.


[...]

> @@ -263,6 +289,13 @@
>  		 (setq is-old
>  		       (nnmail-expired-article-p newsgroup mod-time force)))
>  	    (progn
> +	      ;; Allow a special target group. -- jcn
> +	      (unless (eq nnmh-expiry-target 'delete)
> +		(with-temp-buffer
> +		  (nnmh-request-article (car articles)
> +					newsgroup server (current-buffer))
> +		  (nnmh-expiry-target-group
> +		   nnmh-expiry-target group)))
>  	      (nnheader-message 5 "Deleting article %s in %s..."
>  				article newsgroup)
>  	      (condition-case ()

I guess we only need this part after replacing nnmh with nnmail.

ShengHuo



  reply	other threads:[~2000-11-22 22:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-21 15:37 janneke
2000-11-21 15:57 ` Kai Großjohann
2000-11-22 12:57   ` janneke
2000-11-22 22:11     ` ShengHuo ZHU [this message]
2000-12-06 15:25   ` Jan Nieuwenhuizen
2000-12-09  3:13     ` Kai Großjohann
2000-12-09 13:00       ` Jan Nieuwenhuizen
2000-12-10 16:09         ` Kai Großjohann
2000-12-15 17:32           ` Jan Nieuwenhuizen
2000-11-22  3:37 ` Harry Putnam

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=2naearodw0.fsf@tiger.jia.vnet \
    --to=zsh@cs.rochester.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).