[PATCH v2 00/14] reply refactor, fixes
[notmuch-archives.git] / 39 / 6c09e46ea8ba9ccaebaac7865799c3efd2a231
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 03325431FC7\r
6         for <notmuch@notmuchmail.org>; Mon, 29 Oct 2012 10:50:30 -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.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_LOTS_OF_MONEY=0.01] 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 0N5J-tWFXrwq for <notmuch@notmuchmail.org>;\r
16         Mon, 29 Oct 2012 10:50:30 -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 2F7DC431FAF\r
19         for <notmuch@notmuchmail.org>; Mon, 29 Oct 2012 10:50:30 -0700 (PDT)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21         by guru.guru-group.fi (Postfix) with ESMTP id 05E2D10007D;\r
22         Mon, 29 Oct 2012 19:50:31 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: James Vasile <james@hackervisions.org>,\r
25         notmuch mailing list <notmuch@notmuchmail.org>\r
26 Subject: Re: Notmuch search missing mail id\r
27 In-Reply-To: <87r4oh44h8.fsf@hackervisions.org>\r
28 References: <87r4oh44h8.fsf@hackervisions.org>\r
29 User-Agent: Notmuch/0.14+59~gf9031cd (http://notmuchmail.org) Emacs/24.2.1\r
30         (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Mon, 29 Oct 2012 19:50:31 +0200\r
35 Message-ID: <m2390x6uc8.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Mon, 29 Oct 2012 17:50:31 -0000\r
51 \r
52 On Mon, Oct 29 2012, James Vasile <james@hackervisions.org> wrote:\r
53 \r
54 > I received the attached piece of spam telling me about an exciting\r
55 > investment opportunity.  Notmuch pulled it in to the database, noting\r
56 > the message id.  But then it seems to stop paying attention to the\r
57 > message id.\r
58 >\r
59 > notmuch can find the mail when I search by the from field:\r
60 >\r
61 > $ notmuch search "from:caroline horn"\r
62 > thread:000000000000bcb7  Today 09:29 [1/1] Caroline Horn; This Company is on the rise (hv inbox unread)\r
63 >\r
64 > But not by the message id:\r
65 > $ notmuch search id:000801cdb5da$17673470$26448589@microsof000000t4ko3r\r
66 > $\r
67 \r
68 Try \r
69 \r
70 $ notmuch search id:'000801cdb5da$17673470$26448589@microsof000000t4ko3r'\r
71 \r
72 so that the $....s are not expanded...\r
73 \r
74 note that id:"..." does not suffice as shell expands $ & ` inside double\r
75 quotes.\r
76 \r
77 Tomi\r
78 \r
79 \r
80 >\r
81 > Notmuch has correctly pulled the id into the database:\r
82 > $ notmuch show "from:caroline horn" | grep "id:" | sed "s/.*\(id:[^ ]*\).*/\1/"\r
83 > id:000801cdb5da$17673470$26448589@microsof000000t4ko3r\r
84 >\r
85 > If notmuch knows the id but won't match it in a search, that looks like\r
86 > a bug to me.\r
87 >\r
88 > On a related matter, I have a script that pulls the message id header\r
89 > From a mail file and then uses notmuch tag id:foo to tag that file.  But\r
90 > if notmuch sometimes fails to find the id, maybe there is there a better\r
91 > way to do it?\r
92 >\r
93 > Thanks,\r
94 > James\r
95 >\r
96 > _______________________________________________\r
97 > notmuch mailing list\r
98 > notmuch@notmuchmail.org\r
99 > http://notmuchmail.org/mailman/listinfo/notmuch\r