Re: Unable to search for emails with content with a given MIME type
[notmuch-archives.git] / 33 / fe912240f07ff849ffdcaf9876876edfb35329
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 18608404775\r
6         for <notmuch@notmuchmail.org>; Fri,  6 Jan 2012 09:10:32 -0800 (PST)\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 NHglbNbXmpXX for <notmuch@notmuchmail.org>;\r
16         Fri,  6 Jan 2012 09:10:31 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 82E5240476B\r
20         for <notmuch@notmuchmail.org>; Fri,  6 Jan 2012 09:10:31 -0800 (PST)\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by fire-doxen-postvirus (Postfix) with ESMTP id 1A3D2328084;\r
23         Fri,  6 Jan 2012 09:10:24 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com\r
26         [76.174.137.84]) (Authenticated sender: jrollins)\r
27         by fire-doxen-submit (Postfix) with ESMTP id 31DDE3280A9;\r
28         Fri,  6 Jan 2012 09:10:21 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id CC41B711; Fri,  6 Jan 2012 09:10:20 -0800 (PST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
33 Subject: Re: [PATCH 2/2] test: Add tests for advance/rewind.\r
34 In-Reply-To: <cunmxabqs6k.fsf@hotblack-desiato.hh.sledj.net>\r
35 References: <1324665712-2419-1-git-send-email-dme@dme.org>\r
36         <1325160490-23472-1-git-send-email-dme@dme.org>\r
37         <1325160490-23472-2-git-send-email-dme@dme.org>\r
38         <cunmxabqs6k.fsf@hotblack-desiato.hh.sledj.net>\r
39 User-Agent: Notmuch/0.10.2+138~g0b4049e (http://notmuchmail.org) Emacs/23.3.1\r
40         (x86_64-pc-linux-gnu)\r
41 Date: Fri, 06 Jan 2012 09:10:17 -0800\r
42 Message-ID: <874nw83gg5.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-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Fri, 06 Jan 2012 17:10:32 -0000\r
59 \r
60 --=-=-=\r
61 \r
62 On Thu, 29 Dec 2011 16:05:39 +0000, David Edmondson <dme@dme.org> wrote:\r
63 > What's the general feeling about this approach to producing tests for\r
64 > the emacs UI? (That is, code the test in a .el file and call the\r
65 > relevant function(s) from the test harness.)\r
66 \r
67 I think it's a nice idea.  It seems much cleaner than writing ever more\r
68 complicated code in the command line.  There was another recent idea to\r
69 actually write the python tests in python, if I remember correctly.  It\r
70 all seems to make sense to me.  Bash is convenient, but there's no\r
71 reason we need to be monogamous, especially when there are ways, with\r
72 your technique, to call individual "embedded" tests from the command\r
73 line and still take advantage of the bells and whistles of full test\r
74 infrastructure.\r
75 \r
76 > It makes it simpler to develop and maintain the test (because you can do\r
77 > more work with traditional emacs support for editing elisp), but might\r
78 > make interpreting failures more difficult (the test harness mostly just\r
79 > reports 'failed').\r
80 \r
81 It is really nice to see diffs on failure, actually, to get a sense of\r
82 what exactly went wrong.  Is it possible to have some sort of standard\r
83 report to stdout that could provide more info?\r
84 \r
85 jamie.\r
86 \r
87 --=-=-=\r
88 Content-Type: application/pgp-signature\r
89 \r
90 -----BEGIN PGP SIGNATURE-----\r
91 Version: GnuPG v1.4.11 (GNU/Linux)\r
92 \r
93 iQIcBAEBCAAGBQJPByr6AAoJEO00zqvie6q8xugQAI48tXtAU0fFNeuJDC6YmIIi\r
94 F2mGihoAW9vD9dQRH+Vjiv6ef34GgPThuk/Qf5fSPbTBkr3SF6XK8wTXUYxIpEXe\r
95 RxzttX1OKcFnRM3MLe+cmJL1K+23vkeQcrux0b1YjWYwffpcbGPsOzzS6+grv8fQ\r
96 opHStOHrxEUzbF1F5sdLKW1c0bqVNUfXP3VMefw8QCyPxhik9yvGiAbWjk5pZZrN\r
97 9vc8Im6V0y95QYG1SvMp5+CbdKduKqGArdVOAJFFEHjEbxjP+/fvqDIna4deEgNb\r
98 1ksupaHd1m2BgR+jQ9NqKpge+SWW0oB/76I6x6axiidX/UCm+JLJUe1SKbT2MiVQ\r
99 apGFFP65QbIr7GO+EkwNdeszgX47M4WnHPN6/d6/DC/rhqDAwDRGgSr+C7dYXnhu\r
100 UUcI86XNYfGRhVnok0/hxQQI1+VPrdC6kMkQfAwCr8yeaLpOXT+VGYr4VnI6n6B0\r
101 di8EMMAUwHfPd0q7aVj1SMtkZM9jAujtA4KxcFtdoAEuKssaOkuvVLH1rAzwT5Wd\r
102 /tVSmHr+ajS3lrFxbLKrPDAdqluygmz6bzSkHUiF18GM+SdZ50MhPiuObzin2Pxu\r
103 Tqw1uenOmA46kW2tEaYOuWbvEJ93j3qzlKEZh2FSu8glQ/+UxgZcZsA4COgala03\r
104 J5SsvYtAIR8It1lC6py/\r
105 =xCDc\r
106 -----END PGP SIGNATURE-----\r
107 --=-=-=--\r