<<< Date Index >>>     <<< Thread Index >>>

Re: delete duplicated mails



    0n Tue, Sep 23, 2008 at 08:19:27AM -0500, Kyle Wheeler wrote: 

    >On Tuesday, September 23 at 02:20 PM, quoth Wilkinson, Alex:
    >>mmm, i liked the idea of this folder-hook so i tried it out.
    >>Is it meant to automagically delete duplicate threads ? If so
    >>the following folder-hook did sweet-fa for me :(
    >
    >"sweet-fa"? That's a new one to me...
    >
    >>   folder-hook . \
    >>        "set sort=reverse-threads ;\
    >>         set sort_aux=last-date-received ;\
    >>         set duplicate_threads=yes ;\
    >>         push '<collapse-all>' ;\
    >>         push '<delete-pattern>~=<enter>' ;\
    >>         set index_format='%3N %4C %Z %{%b %d} %-15.15F (%4c) %?M?%M> 
?%s' ;\
    >>         set display_filter='t-prot -acelmtS -Mmutt --spass'"
    >
    >Well, one problem I see is that delete-pattern only works on messages 
    >you can *see*. After you <collapse-all>, the pattern won't match 
    >anything that has been collapsed. So swap those two lines: delete 
    >things before you collapse-all.

Will test. Thanks!

 -aW

IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.