Michael J Gruber writes on July 6, 2018 16:04:
IMAP clients (such as webmail) use folders to mark messages as junk etc., some even to mark messages as trash ("move to trash"). Such a change is reported by notmuch as a rename; the message is not tagged with new.tags since it is not new, so that there is no way to act upon a rename.Introduce new.rename_tags (default: not set) which are added by `notmuch new` to renamed messages. This allows to act upon renames, e.g. to keep the IMAP folder structure in sync with tags with a tool like `afew` or homecooked scripts simply by filtering for this tag in the same ways as one would filter for new messages using new.tags.
Hi, think this would be very useful. I suggested something similar way back[0] (no doubt bit-rotted by now), and seem to remember there were some issues with cases where a rename would not be detected. Might be worth checking out ! [0] id:[email protected] BTW: My use-case was solved by using `lastmod:` queries in keywsync [1] (later obsoleted by gmailieer[2]). [1] https://github.com/gauteh/abunchoftags [2] https://github.com/gauteh/gmailieer Regards, Gaute
pgpPr3HwklXIs.pgp
Description: PGP signature
_______________________________________________ notmuch mailing list [email protected] https://notmuchmail.org/mailman/listinfo/notmuch
