Hi list,

I have bound the 'd' key to move mails to a trash folder, and 'D' to
move an entire thread to a trash folder:

 folder-hook . 'macro index,pager d "<save-message>=INBOX.Trash \r"
 folder-hook . 'macro index,pager D 
"<tag-thread><tag-prefix><save-message>=INBOX.Trash \r"

This doesn't prevent me from accidentally moving these messages twice,
eg when the first mails in a thread are deleted using 'd' (and are
marked deleted accordingly) with a subsequent use of 'D' the entire
thread, including the messages that got deleted already, gets saved to
the trash folder again, causing duplicates.

Is there a way to execute above scripts only on messages and threads
whose status is not 'deleted'?

Thank you for all ideas!

Peter

PS: Does anyone know of a simple way to disply identical duplicated
messages with mutt, and optionally delete only the duplicates?

Reply via email to