From 8fb1cbc1c20f822844af7a59aa06c37aacd88b9c Mon Sep 17 00:00:00 2001 From: Todd Date: Thu, 22 Jan 2015 17:43:40 -0600 Subject: [PATCH] Update documentation 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 | 10 ++++++++++ doc/man7/notmuch-search-terms.rst | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/NEWS b/NEWS index 53e06aa6..70ad3f3a 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,14 @@ Notmuch 0.20 (UNRELEASED) +========================= + +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. See the + `notmuch-search-terms` manual page for details. Documentation ------------- diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst index 1acdaa0b..315e8494 100644 --- a/doc/man7/notmuch-search-terms.rst +++ b/doc/man7/notmuch-search-terms.rst @@ -40,6 +40,8 @@ indicate user-supplied values): - attachment: +- mimetype: + - tag: (or is:) - 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**. -- 2.26.2