* Re: Bug#755246: notmuch-mutt: search that returns whole threads
[not found] ` <20140722114049.GB30408@upsilon.cc>
@ 2014-07-25 10:08 ` David Bremner
0 siblings, 0 replies; only message in thread
From: David Bremner @ 2014-07-25 10:08 UTC (permalink / raw)
To: Stefano Zacchiroli, 755246; +Cc: Vagrant Cascadian, Notmuch Mail
Stefano Zacchiroli <zack@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
^ permalink raw reply [flat|nested] only message in thread