Re: Deleted mails to a folder
* On Sun, Oct 30, 2005 Pete Johns (paj-mutt@xxxxxxxxxx) muttered:
> On Sun, 2005-10-30 at 05:09:24 +0100, Michael Tatge sent:
> >* On Sun, Oct 30, 2005 I (Michael.Tatge@xxxxxx) muttered:
> >Plus what happens when use the proposed macro solution to delete a
> >message from the trash folder? ;)
> >
> Easy...
>
> [From my .muttrc]
>
> # Send stuff to trashcan ##################################################
> folder-hook . 'macro index \cd
> "<untag-pattern>~A<enter><tag-thread><tag-prefix><save-message>=trash<enter>y"
>
> folder-hook . 'macro index d "<save-message>=trash<enter>y" '
> folder-hook . 'macro pager d "<save-message>=trash<enter>y" '
> folder-hook =(spam|trash) 'macro index \cd <delete-thread>'
> folder-hook =(spam|trash) 'macro index d <delete-message>'
> folder-hook =(spam|trash) 'macro pager d <delete-message>'
Exactly. As i said the patch is the much cleaner approach.
HTH,
Michael
--
BOFH excuse #355:
Boredom in the Kernel.
PGP-Key-ID: 0xDC1A44DD
Jabber: init[0]@amessage.de