Re: Improving notmuch query documentation [was: Re: Partial words on notmuch search?]

Subject: Re: Improving notmuch query documentation [was: Re: Partial words on notmuch search?]

Date: Thu, 15 Mar 2012 17:15:36 -0400

To: Mark Anderson

Cc: notmuch@notmuchmail.org, Andrei Popescu

From: Austin Clements


Quoth Mark Anderson on Jan 20 at 12:08 pm:
> On Tue, 17 Jan 2012 16:29:23 -0600, Austin Clements <amdragon@MIT.EDU> wrote:
> > Quoth Andrei Popescu on Jan 18 at 12:14 am:
> > > On Lu, 16 ian 12, 21:34:31, Austin Clements wrote:
> > > > Quoth Andrei Popescu on Jan 16 at 10:21 pm:
> > > > > Where can I read more about this? (except the source :)
> > > > 
> > > > Most of this is in the Xapian query syntax document you found.  Really
> > > > we ought to beef-up Notmuch's query syntax documentation.
> > > 
> > > If I get around to write something myself where do you suggest I should 
> > > start, the wiki or the manpage?
> > 
> > Probably expanding man/man7/notmuch-search-terms.7 would be the way to
> > go.
> 
> I would appreciate it if the limitations of id: search were explained
> there too.  I have some rules that I would love to make based on pattern
> matching the message-id of the message, because I have a tool that
> generates scads of email and I want to be able to delete a lot of it.
> 
> I think that id: is only matchable as an entire string, and a
> confirmation of that would be nice to see.

This is true.  thread:, id:, tag:, and is: are "boolean prefixes",
which means they only match on entire strings.

What sorts of message-id patterns did you want to search for?

Thread: