On Fri, 23 Jan 2015, Todd <todd@electricoding.com> wrote: > Adds new entry to the NEWS file, and updates the search terms section > of the man page. The search terms section needs to be updated again > once the new section in the documentation covering probablistic terms > has been committed. > --- > NEWS | 11 +++++++++++ > doc/man7/notmuch-search-terms.rst | 6 ++++++ > 2 files changed, 17 insertions(+) > > diff --git a/NEWS b/NEWS > index 53e06aa..a4f2a3f 100644 > --- a/NEWS > +++ b/NEWS > @@ -1,4 +1,5 @@ > Notmuch 0.20 (UNRELEASED) > +========================= > > Documentation > ------------- > @@ -13,6 +14,16 @@ Contrib > previously provided by `notmuch-deliver` should now be provided by > `notmuch insert`, provided by the main notmuch binary. > > +Command-Line Interface > +---------------------- > + > +There is a new `mimetype:` search prefix > + > + The new `mimetype:` search prefix allows searching for the > + content-type of attachments, which is now indexed by. See the "indexed by." ? Otherwise the series looks good to me, tests pass, and I rebuilt my own database with it and gave it a spin. Seems to work, and I like it. BR, Jani. > + `notmuch-search-terms` manual page for details. > + > + > Notmuch 0.19 (2014-11-14) > ========================= > > diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst > index 1acdaa0..315e849 100644 > --- a/doc/man7/notmuch-search-terms.rst > +++ b/doc/man7/notmuch-search-terms.rst > @@ -40,6 +40,8 @@ indicate user-supplied values): > > - attachment:<word> > > +- mimetype:<word> > + > - tag:<tag> (or is:<tag>) > > - id:<message-id> > @@ -66,6 +68,10 @@ by including quotation marks around the phrase, immediately following > The **attachment:** prefix can be used to search for specific filenames > (or extensions) of attachments to email messages. > > +The **mimetype:** prefix will be used to match text from the > +content-types of MIME parts within email messages (as specified by the > +sender). > + > For **tag:** and **is:** valid tag values include **inbox** and > **unread** by default for new messages added by **notmuch new** as well > as any other tag values added manually with **notmuch tag**. > -- > 1.9.1 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch