[Filter.1]
message = Delete all messages from spammer
query = from:spam@spam.com
tags = +deleted;-new
but this is much more verbose.
IMHO the most tedious part is the forced numbering in [Filter.1]. From what I understand, sections in afew's config are already ordered, so why forcing the numbers?
Also, deleting a filter in a shell script (or a notmuch-tag --batch file) is straightforward, it's only removing one line, while doing the same in afew's config is much more complicated, it involves re-numbering all sections to offset them by 1.
To use query-based tagging, one must convert
notmuch-tag
(optionally--batch
)+deleted -- tag:new and from:spam@spam.com
to (taken from the sample config)
but this is much more verbose. IMHO the most tedious part is the forced numbering in
[Filter.1]
. From what I understand, sections in afew's config are already ordered, so why forcing the numbers?Also, deleting a filter in a shell script (or a
notmuch-tag --batch
file) is straightforward, it's only removing one line, while doing the same in afew's config is much more complicated, it involves re-numbering all sections to offset them by 1.