Stefano Zacchiroli <zack at debian.org> writes:

>
> In fact, I was hoping in some sort of meta-syntax, to piggyback on. For
> instance, if "field:value" is something that is always threated
> specially by notmuch, we can use something like "notmuch:threads" (vs,
> say, "notmuch:nothreads") and strip it before it hits notmuch.
>
> If you've no objection to this, I can implement something like it.

(bringing in the upstream list, as this is really an upstream design
issue)

Currently any unrecognized field:value will be searched for as a phrase
[1], and is equivalent to "field value", field.value, field-value, among
others.  So as long as notmuch: is not a recognized prefix, your scheme
will not block any searches.  

It doesn't seem especially likely that we'll want to use "notmuch:" as a
prefix; of course if you were to choose something with "mutt" in the
name that would be more nearly a sure thing.



[1]: http://xapian.org/docs/queryparser.html

Reply via email to