From: Todd Date: Fri, 16 Jan 2015 00:30:29 +0000 (+1800) Subject: [PATCH v3 5/5] Update documentation X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae3595a5c424d9a473ac7031ecbb9362c2e572bf;p=notmuch-archives.git [PATCH v3 5/5] Update documentation --- diff --git a/a4/3bb5e194cb6902df3d478aa9f66e4ae2dc2bfd b/a4/3bb5e194cb6902df3d478aa9f66e4ae2dc2bfd new file mode 100644 index 000000000..f69b410a3 --- /dev/null +++ b/a4/3bb5e194cb6902df3d478aa9f66e4ae2dc2bfd @@ -0,0 +1,121 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 183F5431FDA + for ; Thu, 15 Jan 2015 16:31:10 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id IanNSwQbf6iW for ; + Thu, 15 Jan 2015 16:31:09 -0800 (PST) +Received: from s75.web-hosting.com (s75.web-hosting.com [198.187.31.9]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 09766431FDC + for ; Thu, 15 Jan 2015 16:31:06 -0800 (PST) +Received: from user-69-73-37-128.knology.net ([69.73.37.128]:60097 + helo=localhost.localdomain) + by server75.web-hosting.com with esmtpsa (UNKNOWN:AES128-SHA256:128) + (Exim 4.82) (envelope-from ) + id 1YBuob-003S2e-5i; Thu, 15 Jan 2015 19:31:05 -0500 +From: Todd +To: notmuch@notmuchmail.org +Subject: [PATCH v3 5/5] Update documentation +Date: Thu, 15 Jan 2015 18:30:29 -0600 +Message-Id: <1421368229-4360-5-git-send-email-todd@electricoding.com> +X-Mailer: git-send-email 1.9.1 +In-Reply-To: <1421368229-4360-1-git-send-email-todd@electricoding.com> +References: <1421368229-4360-1-git-send-email-todd@electricoding.com> +In-Reply-To: <1420849787-4401-1-git-send-email-todd@electricoding.com> +References: <1420849787-4401-1-git-send-email-todd@electricoding.com> +X-AntiAbuse: This header was added to track abuse, + please include it with any abuse report +X-AntiAbuse: Primary Hostname - server75.web-hosting.com +X-AntiAbuse: Original Domain - notmuchmail.org +X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] +X-AntiAbuse: Sender Address Domain - electricoding.com +X-Get-Message-Sender-Via: server75.web-hosting.com: authenticated_id: + todd@electricoding.com +X-Source: +X-Source-Args: +X-Source-Dir: +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 16 Jan 2015 00:31:10 -0000 + +--- + NEWS | 11 +++++++++++ + doc/man7/notmuch-search-terms.rst | 6 ++++++ + 2 files changed, 17 insertions(+) + +diff --git a/NEWS b/NEWS +index abb5ad7..baa4519 100644 +--- a/NEWS ++++ b/NEWS +@@ -1,4 +1,5 @@ + Notmuch 0.20 (UNRELEASED) ++========================= + + Contrib + ------- +@@ -7,6 +8,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 `notmuch ++ insert`. See the `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..8d1acfc 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 can be used to search for the specific ++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 +