Teemu Likonen <[email protected]> writes:
>
> How about simply using Bogofilter's output value
>
To each their own, of course. I just prefer "wholemeal" programming, as Geraint
Jones called it.
I did think of some relevant considerations, though:
"notmuch tag --batch" is much faster than repeatedly invoking "notmuch tag"
Of course, this performance difference is probably not noticeable in a well
curated inbox.
Also, the awk-print-tag-batch pattern is re-usable if you'd like to auto-tag
messages in other ways e.g.
- tag "vip" threads from known addresses
- pick out coupon codes using a full text search (again, to each their own)
I find this way to be more flexible than the current provisions for "named
queries" in the notmuch config/database:
query:<name>
The 'query:' prefix allows queries to refer to previously saved queries
added with ‘notmuch-config(1)’.
Though, I'm not poo-pooing that feature. I would certainly appreciate further
development on this front.
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]