[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Immediate deletion of mail
From: |
Sebastian Tennant |
Subject: |
Re: Immediate deletion of mail |
Date: |
Thu, 28 Feb 2008 09:53:51 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Quoth Reiner Steib <reinersteib+gmane@imap.cc>:
> IIRC, expiry only happens on group exit. Maybe you need to simulate
> entering and quitting the group:
>
> (defun rs-gnus-enter-and-quit-group ()
> (interactive)
> (gnus-group-quick-select-group 0 "nnml:blackhole")
> (gnus-summary-exit))
Thanks Reiner. This looks like just what I needed. I can add this to
gnus-exit-gnus-hook and that should be that.
>> I just want mail split to 'blackhole' to disappear.
>
> How about using `junk' in `nnmail-split-fancy'?
>
> ,----[ (info "(gnus)Fancy Mail Splitting") ]
> | `junk'
> | If the split is the symbol `junk', then don't save (i.e., delete)
> | this message. Use with extreme caution.
> `----
Hmm. Interesting. Will investigate.
Thanks again.
Sebastian