[PATCH 4/4] Update NEWS for user.other_name
[notmuch-archives.git] / 70 / 9c59413dc640ba54ac0a8f616be35817008300
1 Return-Path: <david@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 585B4429E35\r
6         for <notmuch@notmuchmail.org>; Sat, 10 Jan 2015 01:00:25 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.438\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
12         tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 5TnOY4DIpZuV for <notmuch@notmuchmail.org>;\r
16         Sat, 10 Jan 2015 01:00:22 -0800 (PST)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id A0D99431E84\r
21         for <notmuch@notmuchmail.org>; Sat, 10 Jan 2015 01:00:22 -0800 (PST)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1Y9ru7-0002My-To; Sat, 10 Jan 2015 05:00:19 -0400\r
25 Received: (nullmailer pid 28192 invoked by uid 1000); Sat, 10 Jan 2015\r
26         09:00:14 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: Todd <todd@electricoding.com>, notmuch@notmuchmail.org\r
29 Subject: Re: [PATCH] Index Content-Type of attachments with a contenttype\r
30         prefix\r
31 In-Reply-To: <1420849787-4401-1-git-send-email-todd@electricoding.com>\r
32 References: <1420849787-4401-1-git-send-email-todd@electricoding.com>\r
33 User-Agent: Notmuch/0.19+10~g215de26 (http://notmuchmail.org) Emacs/24.4.1\r
34         (x86_64-pc-linux-gnu)\r
35 Date: Sat, 10 Jan 2015 10:00:14 +0100\r
36 Message-ID: <87ppanj9i9.fsf@maritornes.cs.unb.ca>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 Cc: Austin Clements <aclements@csail.mit.edu>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Sat, 10 Jan 2015 09:00:25 -0000\r
53 \r
54 Todd <todd@electricoding.com> writes:\r
55 \r
56 > I wanted to tag messages with calendar invitations, but couldn't as\r
57 > the information wasn't indexed.\r
58 >\r
59 > This patch allows for queries for like:\r
60 >\r
61 > Find calendar invites\r
62 > - contenttype:text/calendar or contenttype:applicaton/ics\r
63 >\r
64 > Find any image attachments\r
65 > - contenttype:image\r
66 >\r
67 > Find all patches\r
68 > - contenttype:text/x-patch\r
69 \r
70 The main issue,  that I won't really address in this message (because I'm\r
71 hoping Austin finds time to comment) is upgrading the database. The short\r
72 version is that a new "database feature" needs to be created.\r
73 \r
74 > --- a/NEWS\r
75 > +++ b/NEWS\r
76 > @@ -15,6 +15,12 @@ keyboard shortcuts to saved searches.\r
77 >  Command-Line Interface\r
78 >  ----------------------\r
79 \r
80 Minor point, 0.19 was released, you should start a new NEWS section for\r
81 0.20 with date UNRELEASED\r
82 \r
83 > --- a/completion/notmuch-completion.bash\r
84 > +++ b/completion/notmuch-completion.bash\r
85 \r
86 If you can without too much suffering, it would be nice to update the zsh completion at the same\r
87 time.\r
88 \r
89 \r
90 > +The **contenttype:** prefix can be used to search for specific\r
91 > +content-types of attachments to email messages (as specified by the\r
92 > +sender).\r
93 > +\r
94 \r
95 I'm not 100% sure, but I did wonder if the docs should mention MIME\r
96 somewhere, for people searching.\r
97 >      { "attachment",          "XATTACHMENT" },\r
98 > +    { "contenttype",         "XCONTENTTYPE"},\r
99 >      { "subject",             "XSUBJECT"},\r
100 \r
101 I didn't work through all the details, but I did wonder if it was in\r
102 some sense redundant to be indexing contenttype and also the existing\r
103 attachement and encrypted pseudotags.  I guess this might be one of\r
104 those cases where we are stuck with the extra indexing for now, until we\r
105 sort out some query parsing issues.\r
106 \r
107 d\r
108 \r