Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 66 / 20f7909fdf52b181fc4fed19a4adc3daf421a6
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 F2B5F431FD0\r
6         for <notmuch@notmuchmail.org>; Tue, 15 Mar 2011 11:30:45 -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_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 hU8kY2DhsvvW for <notmuch@notmuchmail.org>;\r
16         Tue, 15 Mar 2011 11:30:45 -0700 (PDT)\r
17 Received: from paneer.cc.columbia.edu (paneer.cc.columbia.edu [128.59.29.4])\r
18         by olra.theworths.org (Postfix) with ESMTP id 2FDBC431FB5\r
19         for <notmuch@notmuchmail.org>; Tue, 15 Mar 2011 11:30:45 -0700 (PDT)\r
20 Received: from servo.finestructure.net ([69.163.54.8])\r
21         (user=jgr2110 author=jrollins@servo.finestructure.net mech=PLAIN\r
22         bits=0)\r
23         by paneer.cc.columbia.edu (8.14.4/8.14.3) with ESMTP id p2FIUcne019339\r
24         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
25         for <notmuch@notmuchmail.org>; Tue, 15 Mar 2011 14:30:44 -0400 (EDT)\r
26 Received: from jrollins by servo.finestructure.net with local (Exim 4.74)\r
27         (envelope-from <jrollins@finestructure.net>) id 1PzZ0r-0001im-6E\r
28         for notmuch@notmuchmail.org; Tue, 15 Mar 2011 11:30:33 -0700\r
29 From: Jameson Rollins <jrollins@finestructure.net>\r
30 To: Notmuch Mail <notmuch@notmuchmail.org>\r
31 Subject: problem with folder: search in python bindings\r
32 User-Agent: Notmuch/0.5-137-g2e489e3 (http://notmuchmail.org) Emacs/23.2.1\r
33         (i486-pc-linux-gnu)\r
34 Date: Tue, 15 Mar 2011 11:30:30 -0700\r
35 Message-ID: <87tyf4xmm1.fsf@servo.finestructure.net>\r
36 MIME-Version: 1.0\r
37 Content-Type: multipart/signed; boundary="==-=-=";\r
38         micalg=pgp-sha256; protocol="application/pgp-signature"\r
39 X-No-Spam-Score: Local\r
40 X-Scanned-By: MIMEDefang 2.68 on 128.59.29.4\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Tue, 15 Mar 2011 18:30:46 -0000\r
54 \r
55 --==-=-=\r
56 Content-Type: multipart/mixed; boundary="=-=-="\r
57 \r
58 --=-=-=\r
59 Content-Transfer-Encoding: quoted-printable\r
60 \r
61 Hey, folks.  I'm seeing something peculiar with the python bindings.\r
62 It seems that I am not able to get any results when doing "folder:"\r
63 searches with the python bindings.  I'm using a version of notmuch that\r
64 includes the folder index patch.\r
65 \r
66 Attached is a script that demonstrates the problem.  It generates a test\r
67 repository, then does a couple of searches over it.  When running the\r
68 script, I get the following output:\r
69 \r
70 0$ ./python-folder-search-test\r
71 Found 2 total files (that's not much mail).\r
72 Note: Ignoring non-mail file: /home/jrollins/tmp/tmp.1dMO5vnweJ/config\r
73 Processed 2 total files in almost no time.\r
74 Added 1 new message to the database.\r
75 =3D=3D notmuch search '*':\r
76 thread:0000000000000001  Yest. 23:26 [1/1] Jameson Rollins; python document=\r
77 ation (inbox signed unread)\r
78 =3D=3D notmuch search 'folder:sent':\r
79 thread:0000000000000001  Yest. 23:26 [1/1] Jameson Rollins; python document=\r
80 ation (inbox signed unread)\r
81 =3D=3D python search '*':\r
82 Jameson Rollins <jrollins@finestructure.net> (2011-03-14) (inbox signed unr=\r
83 ead) (-1) replies\r
84 =3D=3D python search 'folder:sent':\r
85 0$=20\r
86 \r
87 You can see that cli notmuch returns search results when searching for\r
88 "folder:sent".  The python bindings, on the other hand, return nothing.\r
89 \r
90 Anyone have any idea what could be going on here?  I'm not familiar with\r
91 how the python bindings work, unfortunately.\r
92 \r
93 jamie.\r
94 \r
95 \r
96 --=-=-=\r
97 Content-Type: application/octet-stream\r
98 Content-Disposition: inline; filename=python-folder-search\r
99 Content-Transfer-Encoding: base64\r
100 Content-Description: script to test python folder: search\r
101 \r
102 IyEvYmluL2Jhc2gKCmRpcj0kKG1rdGVtcCAtZCkKdHJhcCAicm0gLXJmICRkaXIiIEVYSVQKCm1r\r
103 ZGlyICIkZGlyIi9zZW50Cgpub3RtdWNoIHNlYXJjaCAtLW91dHB1dD1maWxlcyB0bzpub3RtdWNo\r
104 IGZyb206anJvbGxpbnMgXAogICAgfCBoZWFkIC0xIFwKICAgIHwgeGFyZ3MgLUkne30nIGNwICd7\r
105 fScgIiRkaXIiL3NlbnQvCgpleHBvcnQgTk9UTVVDSF9DT05GSUc9IiRkaXIiL2NvbmZpZwoKY2F0\r
106 IDw8RU9GID4iJE5PVE1VQ0hfQ09ORklHIgpbZGF0YWJhc2VdCnBhdGg9JGRpcgpFT0YKCm5vdG11\r
107 Y2ggbmV3CgplY2hvICI9PSBub3RtdWNoIHNlYXJjaCAnKic6Igpub3RtdWNoIHNlYXJjaCAnKicK\r
108 CmVjaG8gIj09IG5vdG11Y2ggc2VhcmNoICdmb2xkZXI6c2VudCc6Igpub3RtdWNoIHNlYXJjaCAn\r
109 Zm9sZGVyOnNlbnQnCgplY2hvICI9PSBweXRob24gc2VhcmNoICcqJzoiCnB5dGhvbiAtYyAiaW1w\r
110 b3J0IG5vdG11Y2gKZGIgPSBub3RtdWNoLkRhdGFiYXNlKCkKcSA9IG5vdG11Y2guUXVlcnkoZGIs\r
111 ICcqJykKZm9yIG1zZyBpbiBxLnNlYXJjaF9tZXNzYWdlcygpOgogICAgcHJpbnQgbXNnCiIKCmVj\r
112 aG8gIj09IHB5dGhvbiBzZWFyY2ggJ2ZvbGRlcjpzZW50JzoiCnB5dGhvbiAtYyAiaW1wb3J0IG5v\r
113 dG11Y2gKZGIgPSBub3RtdWNoLkRhdGFiYXNlKCkKcSA9IG5vdG11Y2guUXVlcnkoZGIsICdmb2xk\r
114 ZXI6c2VudCcpCmZvciBtc2cgaW4gcS5zZWFyY2hfbWVzc2FnZXMoKToKICAgIHByaW50IG1zZwoi\r
115 Cg==\r
116 --=-=-=--\r
117 \r
118 --==-=-=\r
119 Content-Type: application/pgp-signature\r
120 \r
121 -----BEGIN PGP SIGNATURE-----\r
122 Version: GnuPG v1.4.11 (GNU/Linux)\r
123 \r
124 iQIbBAEBCAAGBQJNf7BGAAoJEO00zqvie6q8q2UP92+U5hxnVnecEjmnBqJCDe9h\r
125 gO5uFJYd95G290OSyjsPpcnKPvc68L8C4i9WsPYnfGeA7ZLOHtDxltPwsPnz2RXi\r
126 JU+1NKMhdtlD4pxMhWya1DnB9eO8OxcYspnJvpAX5z0eOd0mf80WvmOoYVWguAra\r
127 fJnYrqik2430poyEoFNqxz/XZkp7sSq/cen7lPEky0/DluPtmJ85rrBc7N5bKINg\r
128 uPKFnVkLUscACRh+OJ0kdd8IHqJOZQ2byyYAJdS3rhlAdGXFQ1Iwc9e06NqQMy8F\r
129 k1WkM9enunTZ8L820O8NuP/7h3fm/G9IjvACuPzCoXHi2wmnd3iHNknkk9qwA+N7\r
130 4apSNkhNwmpbINoxj4p97F7KVJHPU4pt8NwUxbewXGf8/GdEUK6szzZSheFvKCeS\r
131 +GCQmd5Gz67q6S1s75g4rE8B1FmZU5NcYhOmI0ubdZVQiudhesH+C+Xz2zzq2HDj\r
132 5oUCySxtUtIkp3sa1dZDW/5RTXU6cTMCgqXsmKu1VcKUPsz7fJK0B2EhiVwuD4xf\r
133 VfmP1NE+N0rG7sJsqk3buOrAb9iQVqbK3SwgyDDVk5SbPhTFcCEDSOyZRnDfHryF\r
134 cCDIYL7ZC686EGJ+aibrlMxzkBdPhGQuLr4cIYB+pdl8qV7cQ6RgY95wOs10KhLX\r
135 KI4Df0nsqkw6JK8HZ48=\r
136 =OoqU\r
137 -----END PGP SIGNATURE-----\r
138 --==-=-=--\r