[PATCH] lib: add support for thread:<message-id> queries
Mark Walters
markwalters1009 at gmail.com
Fri Oct 20 03:20:12 PDT 2017
Hi
On Mon, 16 Oct 2017, Jani Nikula <jani at nikula.org> wrote:
> Add support for querying threads using message-ids in addition to
> thread-ids. The main benefit is that thread queries via message-ids
> are portable across databases, re-indexing, and thread joining, while
> thread ids can be somewhat transient. A thread:<message-id> query can
> be shared between notmuch users, while a thread:<thread-id> query may
> cease to work after the regular delivery of a message that joins
> threads.
I like the idea.
Just one thought -- is any form of recursion allowed in this sort of
operator so could we have thread:'some query' which would expand to all
threads matching the query? I am guessing this may not be possible now
but would it be worth requiring the thread form to be
thread:id:<message id> rather than thread:<message id>?
Best wishes
Mark
More information about the notmuch
mailing list