[PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 4f / af6cfdd679773269ddd13c4377a52cf9d6b00e
1 Return-Path: <tomi.ollila@iki.fi>\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 4315D431FB6\r
6         for <notmuch@notmuchmail.org>; Sat,  5 Apr 2014 10:43:04 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 UgKDYp9RlmQ1 for <notmuch@notmuchmail.org>;\r
16         Sat,  5 Apr 2014 10:42:57 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id C377E431FAF\r
19         for <notmuch@notmuchmail.org>; Sat,  5 Apr 2014 10:42:56 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 6FDF1100051\r
22         for <notmuch@notmuchmail.org>; Sat,  5 Apr 2014 20:42:49 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH v5 1/2] lib: drop support for single-message mbox files\r
26 In-Reply-To: <87fvlr214y.fsf@maritornes.cs.unb.ca>\r
27 References: <cover.1396214154.git.jani@nikula.org>\r
28         <657fe62a36d8f6a0b8464f191c2adc95d00de183.1396214154.git.jani@nikula.org>\r
29         <87fvlr214y.fsf@maritornes.cs.unb.ca>\r
30 User-Agent: Notmuch/0.17+174~gef82849 (http://notmuchmail.org) Emacs/24.3.1\r
31         (x86_64-unknown-linux-gnu)\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
33         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
34         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
35 Date: Sat, 05 Apr 2014 20:42:49 +0300\r
36 Message-ID: <m2bnwfoep2.fsf@guru.guru-group.fi>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sat, 05 Apr 2014 17:43:04 -0000\r
52 \r
53 On Sat, Apr 05 2014, David Bremner <david@tethera.net> wrote:\r
54 \r
55 > Jani Nikula <jani@nikula.org> writes:\r
56 >\r
57 >> We've supported mbox files containing a single message for historical\r
58 >> reasons, but the support has been deprecated, with a warning message\r
59 >> while indexing, since Notmuch 0.15. Finally drop the support, and\r
60 >> consider all mbox files non-email.\r
61 >\r
62 > series pushed.\r
63 \r
64 \r
65 For now, anyone who wants to check their mail storage whether this have\r
66 any effect:\r
67 \r
68 $ find . -type f | xargs head -1 | grep -B1 '^From '\r
69 \r
70 (I got zero results :D on this machine; have to test on another...)\r
71 \r
72 ----\r
73 \r
74 Quickly crafted other test: regexp (and head -1) may be incomplete...\r
75 \r
76 $ find . -type f | xargs head -1 | grep -B1 -v -e '^[a-zA-Z_-]*:' -e '==.*==' -e '^$'\r
77 \r
78 The first one will find any emails that were found last time but would\r
79 not be found (as emails) after e.g. dump-restore-reindex. Second one\r
80 would find (some/most?) emails that weren't indexed in the first place...\r
81 \r
82 \r
83 > d\r
84 \r
85 \r
86 Tomi\r