]> granicus.if.org Git - neomutt/commit
Notmuch: Parse `type=` statements from query 1319/head
authorAustin Ray <austin@austinray.io>
Sat, 18 Aug 2018 22:15:38 +0000 (18:15 -0400)
committerRichard Russon <rich@flatcap.org>
Thu, 4 Oct 2018 14:48:45 +0000 (15:48 +0100)
commit95a98f3ce42e40e32eec3a35a7b3b8ffecc3fced
tree9dafa1b42e9e7f4533acb616abf2d60dd20cce4e
parent6de884e0eb27afec9a784a2da50b4b3533f278a9
Notmuch: Parse `type=` statements from query

Implemented a function that will parse `type=` statements from a notmuch
query and set the appropriate query type in `NmCtxData`.

This change allows a user to change the query type for a single query
without affecting other queries. The primary use is for executing
`vfolder-from-query`.

This commit ensures notmuch integration behavior conforms to NeoMutt's
notmuch documentation.
notmuch/mutt_notmuch.c
notmuch/mutt_notmuch.h