Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: automatically moving deleted mail to deleted folder
       [not found] ` <m3n0ifk6s3.fsf@magma.savecore.net>
@ 2003-04-25  0:05   ` Emin Martinian
  2003-04-27 15:39     ` Simon Josefsson
  0 siblings, 1 reply; 2+ messages in thread
From: Emin Martinian @ 2003-04-25  0:05 UTC (permalink / raw)


Frank Cusack <fcusack@fcusack.com> writes:

> On 24 Apr 2003 15:06:44 -0400 Emin Martinian <emin@allegro.mit.edu> wrote:
> > I started using GNUS recently and one feature I would like is to have
> > my deleted mail stored in a deleted folder.  
> > I had set up the expiry stuff to make this happen but it
> > doesn't seem to work with IMAP folders so I wrote the code below.
> 
> Really?  Works fine for me with the following (using Oort Gnus):
> 
> (setq nnmail-expiry-wait-function
>       (lambda (group)
>         (cond ((string= group "user.frank.Trash")
>                 31)
>               (t
>                 'immediate))))
> (setq nnmail-expiry-target
>       (lambda (group)
>         (cond ((string-match "^user\\.frank\\.auto\\." group)
>                 'delete)
>               (t
>                 "user.frank.Trash"))))
> 

I tried inserting your code into my .gnus file (after deleting my own
code from the .gnus file) and it didn't work.  Nothing was inserted
into the trash group; the expired messages just disappeared.  I think
what is happening is that gnus-group-nnimap-expunge is getting called
and deleting all expired messages.  Note I don't ever call
gnus-group-nnimap-expunge, but I'm guessing it is built into GNUS.

I'm using GNUS version 5.8.8 (which seems like the latest stable
version available from http://www.gnus.org/dist/gnus.tar.gz).  Should
I be using ognus-0.18.tar.gz?  Is it stable?  Packages with version
numbers much less than 1.0 usually aren't particularly stable...

Thanks,
-Emin


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: automatically moving deleted mail to deleted folder
  2003-04-25  0:05   ` automatically moving deleted mail to deleted folder Emin Martinian
@ 2003-04-27 15:39     ` Simon Josefsson
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 2003-04-27 15:39 UTC (permalink / raw)


Emin Martinian <emin@allegro.mit.edu> writes:

> Frank Cusack <fcusack@fcusack.com> writes:
>
>> On 24 Apr 2003 15:06:44 -0400 Emin Martinian <emin@allegro.mit.edu> wrote:
>> > I started using GNUS recently and one feature I would like is to have
>> > my deleted mail stored in a deleted folder.  
>> > I had set up the expiry stuff to make this happen but it
>> > doesn't seem to work with IMAP folders so I wrote the code below.
>> 
>> Really?  Works fine for me with the following (using Oort Gnus):
>> 
>> (setq nnmail-expiry-wait-function
>>       (lambda (group)
>>         (cond ((string= group "user.frank.Trash")
>>                 31)
>>               (t
>>                 'immediate))))
>> (setq nnmail-expiry-target
>>       (lambda (group)
>>         (cond ((string-match "^user\\.frank\\.auto\\." group)
>>                 'delete)
>>               (t
>>                 "user.frank.Trash"))))
>> 
>
> I tried inserting your code into my .gnus file (after deleting my own
> code from the .gnus file) and it didn't work.  Nothing was inserted
> into the trash group; the expired messages just disappeared.  I think
> what is happening is that gnus-group-nnimap-expunge is getting called
> and deleting all expired messages.  Note I don't ever call
> gnus-group-nnimap-expunge, but I'm guessing it is built into GNUS.
>
> I'm using GNUS version 5.8.8 (which seems like the latest stable
> version available from http://www.gnus.org/dist/gnus.tar.gz).  Should
> I be using ognus-0.18.tar.gz?  Is it stable?  Packages with version
> numbers much less than 1.0 usually aren't particularly stable...

The feature was added during Oort, so please try the latest ognus
release.  It is in feature freeze, so should be stable.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-27 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <twel3rd8aj.fsf@a83.dsp.mit.edu>
     [not found] ` <m3n0ifk6s3.fsf@magma.savecore.net>
2003-04-25  0:05   ` automatically moving deleted mail to deleted folder Emin Martinian
2003-04-27 15:39     ` Simon Josefsson

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).