unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Stefano Zacchiroli <zack@debian.org>, 755246@bugs.debian.org
Cc: Vagrant Cascadian <vagrant@debian.org>,
	Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: Bug#755246: notmuch-mutt: search that returns whole threads
Date: Fri, 25 Jul 2014 07:08:01 -0300	[thread overview]
Message-ID: <8761iln43i.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <20140722114049.GB30408@upsilon.cc>

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

           reply	other threads:[~2014-07-25 10:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20140722114049.GB30408@upsilon.cc>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761iln43i.fsf@maritornes.cs.unb.ca \
    --to=david@tethera.net \
    --cc=755246@bugs.debian.org \
    --cc=notmuch@notmuchmail.org \
    --cc=vagrant@debian.org \
    --cc=zack@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).