Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / eb / 12ee97a0ca74f78692b26b131920143de4ae31
1 Return-Path: <jrollins@finestructure.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 250E3431FD0\r
6         for <notmuch@notmuchmail.org>; Mon, 21 Mar 2011 09:33:01 -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: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=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 NsX7Zfy0CQ6P for <notmuch@notmuchmail.org>;\r
16         Mon, 21 Mar 2011 09:33:00 -0700 (PDT)\r
17 Received: from brinza.cc.columbia.edu (brinza.cc.columbia.edu [128.59.29.8])\r
18         by olra.theworths.org (Postfix) with ESMTP id 50D75431FB6\r
19         for <notmuch@notmuchmail.org>; Mon, 21 Mar 2011 09:33:00 -0700 (PDT)\r
20 Received: from servo.finestructure.net (cpe-98-149-172-122.socal.res.rr.com\r
21         [98.149.172.122])\r
22         (user=jgr2110 author=jrollins@servo.finestructure.net mech=PLAIN\r
23         bits=0)\r
24         by brinza.cc.columbia.edu (8.14.4/8.14.3) with ESMTP id p2LGWvIx027680\r
25         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
26         Mon, 21 Mar 2011 12:32:58 -0400 (EDT)\r
27 Received: from jrollins by servo.finestructure.net with local (Exim 4.74)\r
28         (envelope-from <jrollins@finestructure.net>)\r
29         id 1Q1i2J-00042q-OD; Mon, 21 Mar 2011 09:32:55 -0700\r
30 From: Jameson Rollins <jrollins@finestructure.net>\r
31 To: Sebastian Spaeth <Sebastian@SSpaeth.de>,\r
32         Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: Re: problem with folder: search in python bindings\r
34 In-Reply-To: <877hbsfq4q.fsf@SSpaeth.de>\r
35 References: <87tyf4xmm1.fsf@servo.finestructure.net>\r
36         <87aagv2z92.fsf@SSpaeth.de>\r
37         <87y64dk9da.fsf@servo.finestructure.net>\r
38         <877hbsfq4q.fsf@SSpaeth.de>\r
39 User-Agent: Notmuch/0.5-137-g2e489e3 (http://notmuchmail.org) Emacs/23.2.1\r
40         (i486-pc-linux-gnu)\r
41 Date: Mon, 21 Mar 2011 09:32:52 -0700\r
42 Message-ID: <871v20bfij.fsf@servo.finestructure.net>\r
43 MIME-Version: 1.0\r
44 Content-Type: multipart/signed; boundary="=-=-=";\r
45         micalg=pgp-sha256; protocol="application/pgp-signature"\r
46 X-No-Spam-Score: Local\r
47 X-Scanned-By: MIMEDefang 2.68 on 128.59.29.8\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Mon, 21 Mar 2011 16:33:01 -0000\r
61 \r
62 --=-=-=\r
63 Content-Transfer-Encoding: quoted-printable\r
64 \r
65 On Mon, 21 Mar 2011 16:29:57 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de>=\r
66  wrote:\r
67 > On Thu, 17 Mar 2011 09:19:29 -0700, Jameson Rollins <jrollins@finestructu=\r
68 re.net> wrote:\r
69 > > Hey, Sebastian.  Can you share your notmuch.py script?\r
70 >=20\r
71 > No, it's my secret plan for earning my pension :).\r
72 > You already got it:\r
73 > http://git.notmuchmail.org/git/notmuch/blob/HEAD:/bindings/python/notmuch=\r
74 .py\r
75 \r
76 Thanks, Sebastian.  Very convenient of you to include it in the repo!\r
77 \r
78 > Let me know what you find out.\r
79 \r
80 So right off the bat I'm seeing a big discrepancy between the results\r
81 From=20notmuch and notmuch.py:\r
82 \r
83 servo:~/src/notmuch/git [personal] 0$ notmuch count from:jrollins\r
84 34358\r
85 servo:~/src/notmuch/git [personal] 0$ ./bindings/python/notmuch.py count fr=\r
86 om:jrollins\r
87 34358\r
88 servo:~/src/notmuch/git [personal] 0$ notmuch count folder:sent\r
89 635\r
90 servo:~/src/notmuch/git [personal] 0$ ./bindings/python/notmuch.py count fo=\r
91 lder:sent\r
92 7\r
93 servo:~/src/notmuch/git [personal] 0$=20\r
94 \r
95 As you can see, the two interfaces are returning the same results for\r
96 the "from:jrollins" search, but the binary is returning 635 results for\r
97 the "folder:sent" search while the python interface is returning 7.\r
98 That's a big discrepancy.  This must be related to the same problem I\r
99 was seeing with my test case.\r
100 \r
101 I'm running notmuch.py from my "personal" branch, which is the same\r
102 branch that the binary has been compiled from.  My database has also\r
103 recently been rebuild from the same branch.\r
104 \r
105 I really have no idea what could be going on here.  It's a stranger\r
106 result even than the one I was seeing before, since it is actually\r
107 returning *some* results.\r
108 \r
109 Any suggestions about how we might go about debugging this?\r
110 \r
111 jamie.\r
112 \r
113 --=-=-=\r
114 Content-Type: application/pgp-signature\r
115 \r
116 -----BEGIN PGP SIGNATURE-----\r
117 Version: GnuPG v1.4.11 (GNU/Linux)\r
118 \r
119 iQIcBAEBCAAGBQJNh320AAoJEO00zqvie6q86M0QAKKaosIJaqYWq6Au1rmUa2lP\r
120 a+QFq21g+NrnaNf9iiqbBh5p2QuBd65cHlZ+sd4mVcCNTp2TxdvYoNMi51bp1SjM\r
121 LaXViBUjdxP5uwf1Foqbl7OCCHgZNPqnijsYrsLDfKgTIaKd4ED9/WlRxBdHSIwL\r
122 tFl570wojA3qf2YFWzjRqQx0yxmEsDEbgrYVgSmLd4FDKy8PsOCjl0L1uMXsxGy1\r
123 GGovm7eWkpOCZ1YGXRWQW3TE90nc++ZnnHIsexvE3Tl7mqGF8ov8StzvQ3ZzvJUl\r
124 Gv7vAF5Rqh0uxcJ44jKCM2BQ1k3XexL2R+qjjNtTRpuc3l0wnQALuw/2q1Jfddwf\r
125 7GDi40vCpusVMdr6uEmjzdmz2ow/jEQLBStbYSfPLz8SI88moTLbHTSJ03kEoaYt\r
126 SwnH74cSex8a0UEcYgCYhTN/dQhlj3baQ+vn1j+JUQ6rrnXzqzQW9NhH59g4w4wn\r
127 U5nFwLGLbAA9GOWinw4IK+bdrg14AjvNoT6TlkMPtEAvI0s2UNAb8BBVkurQ99wE\r
128 xq1wMZG+CLWUYjOhjBwGBh/bYevqs3F6SDXx8D42SEooGVE56nLqCkLgcODZQ+GA\r
129 IXhul6H50Sq51Pm5Wbw4zjZ5gB8sbcPWaCDEuyRUf8NCgn8Ho9+2ReVGFcipAqOr\r
130 UDaeq3FwdeSyMBSjqLHj\r
131 =Uf7s\r
132 -----END PGP SIGNATURE-----\r
133 --=-=-=--\r