Re: [PATCH v3] Allow content preference based on message content.
[notmuch-archives.git] / dc / 21883ee04f79a56024b979f925e424a4721f51
1 Return-Path: <sojkam1@fel.cvut.cz>\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 C68AD40BC42\r
6         for <notmuch@notmuchmail.org>; Thu, 12 Aug 2010 07:46:23 -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: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\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 LuTZHCDdMQhR for <notmuch@notmuchmail.org>;\r
16         Thu, 12 Aug 2010 07:46:09 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 26D4F40BC40\r
19         for <notmuch@notmuchmail.org>; Thu, 12 Aug 2010 07:46:09 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 51EE319F3363;\r
22         Thu, 12 Aug 2010 16:41:53 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id m6OGbIgMGQaH; Thu, 12 Aug 2010 16:41:48 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id AF8EC19F3351;\r
30         Thu, 12 Aug 2010 16:40:31 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id 88AEBFA005;\r
34         Thu, 12 Aug 2010 16:40:03 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1OjYws-0003wZ-LJ; Thu, 12 Aug 2010 16:40:02 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Stephen Paul Weber <singpolyma@singpolyma.net>, notmuch@notmuchmail.org\r
40 Subject: Re: Can't get notmuch to find mail\r
41 In-Reply-To: <20100805175511.GA1494@singpolyma-svelti>\r
42 References: <20100805175511.GA1494@singpolyma-svelti>\r
43 User-Agent: Notmuch/0.3.1-80-g86b7c46 (http://notmuchmail.org) Emacs/23.2.1\r
44         (x86_64-pc-linux-gnu)\r
45 Date: Thu, 12 Aug 2010 16:40:02 +0200\r
46 Message-ID: <87r5i3gail.fsf@steelpick.2x.cz>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=utf-8\r
49 Content-Transfer-Encoding: quoted-printable\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Thu, 12 Aug 2010 14:46:23 -0000\r
63 \r
64 On Thu, 05 Aug 2010, Stephen Paul Weber wrote:\r
65 > I've installed notmuch, run the setup to point it at the maildir of my Gm=\r
66 ail\r
67 > "All Mail" folder, and run notmuch new.  It says it found 32981 file, but=\r
68  no\r
69 > new mail... what?  Then when I run searches, none of them return results.\r
70 >=20\r
71 > Help?\r
72 \r
73 That's really strange. Could you check the database with delve tool\r
74 (a part of Xapian), whether you can get similar output as me?\r
75 \r
76 If I run the following command, I get the list of document numbers\r
77 (messages) written by me:\r
78 \r
79 $ delve -t XFROMsojkam1 ~/mail/.notmuch/xapian\r
80 Posting List for term `XFROMsojkam1' (termfreq 8229, collfreq 8276,\r
81 wdf_max 8276): 525 526 527 528 529 530 531 1178 1183 4593 4632 5290 5844\r
82 5972 5974 5975 5982 5988 6000 6003 6008 6015 6016 6017 6018 6070 6085\r
83 6086 6087 6088 6089 6104 6106 6150 6153 6175 6177 6178 6188 6199 6200\r
84 6202 6204 6247 6249 6262 6352 6353 6354 6355 6366 6371 6383 6384 6385\r
85 6394 6397 6398 6399 6416 6426 6432 6434...\r
86 \r
87 Then, I can look at what Xapian knows about the document 525:\r
88 \r
89 $ delve -V -r 525 ~/mail/.notmuch/xapian=20=20=20=20=20=20=20=20=20=20=20=\r
90 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=\r
91 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=\r
92 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=\r
93 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=\r
94 =20=20=20=20=20=20=20=20=20=20=20=20=20\r
95 Values for record #525: 0:=EF=BF=BD\nT=EF=BF=BD 1:46E0554F.7060608@fel.cvut=\r
96 .cz\r
97 Term List for record #525: 000000 1 154 2004 2100 4.01 5_deshpande\r
98 802.11 G00000000000001fa Q46E0554F.7060608@fel.cvut.cz Tmail\r
99 XFDIRENTRY524:1265611852_0.11574.steelpick,U=3D64,FMD5=3Ddb3af42ba64b595db6=\r
100 ab3ea999fe0bb1:2,S\r
101 XFROMcvut XFROMcz XFROMfel XFROMmichal...\r
102 \r
103 Can you see the messages in the database or not?\r
104 \r
105 -Michal\r