David Bremner <david@tethera.net> writes: > The testing here is not really suitable for production, since we export > a function just for testing. It would be possible to modify the test > framework to test functions in notmuch-private.h, but this was the quick > and dirty solution. On looking at the problem a second time I think this should really drop all of the non-(tag|property) terms, so including some prefixed terms as well. I think that would be doable; it's probably worth having some performance benchmark before introducing the extra complication versus dkg's approach. d