aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch/search.go
Commit message (Collapse)AuthorAgeFilesLines
* notmuch: translate filter/search options to queryKoni Marti2023-06-171-0/+86
Translate the regular filter and search options to a notmuch query to achieve a basic equivalence across backends for these commands. The following examples have the same filtering effect: :filter -uf koni :filter -u from:koni :filter tag:unread from:koni And ':filter -x Flagged' would translate to ':filter tag:flagged'. Fixes: https://todo.sr.ht/~rjarry/aerc/177 Signed-off-by: Koni Marti <koni.marti@gmail.com> Tested-by: Inwit <inwit@sindominio.net>