Jeffrey Ratcliffe <jffry@posteo.net> writes: > Is there any suitable hook in notmuch? Or will I have to write some > lisp in notmuch-config.el? In the case of the latter, has anyone > already done something similar? Not exactly what you're asking for, but I personally handle this issue with commands like this in my automatically-tagging script: ``` notmuch search --format=text0 --output=files tag:junk and not folder:Junk | \ xargs -0I '{}' mv '{}' /.../Junk/cur/ ``` It's not exactly a tag hook, but as it's run before and after any sync with my IMAP folder, it works well enough for my use case. _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch