[PATCH v2 0/5] Index the content-type of MIME parts
authorTodd <todd@electricoding.com>
Wed, 14 Jan 2015 00:00:23 +0000 (18:00 +1800)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:22 +0000 (14:47 -0700)
9c/e6a369ddde2121fca75b015465396e634f2977 [new file with mode: 0644]

diff --git a/9c/e6a369ddde2121fca75b015465396e634f2977 b/9c/e6a369ddde2121fca75b015465396e634f2977
new file mode 100644 (file)
index 0000000..11720f2
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <todd@electricoding.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id D6DBE431FD0\r
+       for <notmuch@notmuchmail.org>; Tue, 13 Jan 2015 16:01:02 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id nzWUg7ckUuOc for <notmuch@notmuchmail.org>;\r
+       Tue, 13 Jan 2015 16:00:59 -0800 (PST)\r
+Received: from s75.web-hosting.com (s75.web-hosting.com [198.187.31.9])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A5D15431FBF\r
+       for <notmuch@notmuchmail.org>; Tue, 13 Jan 2015 16:00:59 -0800 (PST)\r
+Received: from user-69-73-37-128.knology.net ([69.73.37.128]:38910\r
+       helo=localhost.localdomain)\r
+       by server75.web-hosting.com with esmtpsa (UNKNOWN:AES128-SHA256:128)\r
+       (Exim 4.82) (envelope-from <todd@electricoding.com>)\r
+       id 1YBBOL-001yjE-Rx; Tue, 13 Jan 2015 19:00:58 -0500\r
+From: Todd <todd@electricoding.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 0/5] Index the content-type of MIME parts\r
+Date: Tue, 13 Jan 2015 18:00:23 -0600\r
+Message-Id: <1421193628-2699-1-git-send-email-todd@electricoding.com>\r
+X-Mailer: git-send-email 1.9.1\r
+In-Reply-To: <8761ce7s16.fsf@nikula.org>\r
+References: <8761ce7s16.fsf@nikula.org>\r
+X-AntiAbuse: This header was added to track abuse,\r
+       please include it with any abuse report\r
+X-AntiAbuse: Primary Hostname - server75.web-hosting.com\r
+X-AntiAbuse: Original Domain - notmuchmail.org\r
+X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]\r
+X-AntiAbuse: Sender Address Domain - electricoding.com\r
+X-Get-Message-Sender-Via: server75.web-hosting.com: authenticated_id:\r
+       todd@electricoding.com\r
+X-Source: \r
+X-Source-Args: \r
+X-Source-Dir: \r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 14 Jan 2015 00:01:03 -0000\r
+\r
+\r
+This set of patches allows for queries for like:\r
+\r
+Find calendar invites\r
+- mimetype:text/calendar or mimetype:application/ics\r
+\r
+Find any image attachments\r
+- mimetype:image\r
+\r
+Find all patches\r
+- mimetype:text/x-patch\r
+\r
+It is a rework of a previous set of patches that now adds a new\r
+database feature, only available in newly created databases, which\r
+indicates that all of the mime parts are indexed.  Indexing of new\r
+messages on an existing database should work fine as well, but the\r
+feature won't be enabled via upgrade.\r
+\r
+Code reviews welcome, I'm not familiar with this code base.\r
+\r
+Todd (5):\r
+  Add a failing unit test for indexed mime types\r
+  Add the NOTMUCH_FEATURE_INDEXED_MIMETYPES database feature\r
+  Add indexing for the mimetype term\r
+  Update completions for Emacs and bash\r
+  Update documentation\r
+\r
+ NEWS                               | 16 ++++++++++++++++\r
+ completion/notmuch-completion.bash |  2 +-\r
+ doc/man7/notmuch-search-terms.rst  |  6 ++++++\r
+ emacs/notmuch.el                   |  2 +-\r
+ lib/database-private.h             | 15 ++++++++++++---\r
+ lib/database.cc                    | 11 +++++++++--\r
+ lib/index.cc                       |  6 ++++++\r
+ test/T190-multipart.sh             | 32 ++++++++++++++++++++++++++++++++\r
+ 8 files changed, 83 insertions(+), 7 deletions(-)\r
+\r
+--\r
+1.9.1\r