Re: [PATCH] lib: add support for thread:<message-id> queries

Subject: Re: [PATCH] lib: add support for thread:<message-id> queries

Date: Fri, 20 Oct 2017 11:20:12 +0100

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: Mark Walters


Hi

On Mon, 16 Oct 2017, Jani Nikula <jani@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


_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: