Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / e9 / d4a67ae02ed582a60f4f71a72aecdcb75b07f3
1 Return-Path: <schnouki@schnouki.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 57A85429E26\r
6         for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 09:21:39 -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: -0.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id pJvO55qVuhHM for <notmuch@notmuchmail.org>;\r
17         Tue, 13 Dec 2011 09:21:38 -0800 (PST)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id B7FE0429E25\r
20         for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 09:21:38 -0800 (PST)\r
21 Received: from thor.loria.fr (thor.loria.fr [152.81.12.250])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id 12F866A0026;\r
23         Tue, 13 Dec 2011 18:21:38 +0100 (CET)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1323796898;\r
26         bh=l0GrMoZ9Ziwg3RJDdXE0A7DlYEeFsFkJcvrMUPBFFhk=;\r
27         h=From:To:Subject:In-Reply-To:References:Date:Message-ID:\r
28         MIME-Version:Content-Type;\r
29         b=NjAHLnFsxKD2Uxh/uwZqka8dsrdsOrL7FqjanUJWijWUZlrWZutWV1C77A0Xrmto7\r
30         CvHkr1wac5HJjlj4ZntkL9O/v+WQpI9XcV8KdNC/kEbj1T+Ib9e+0ZegiDaP1v8hZL\r
31         3Ur6OXR/mp0LZUfpysol4HDMiWF/CMXbv+QHTfcc=\r
32 From: Thomas Jost <schnouki@schnouki.net>\r
33 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH 1/2] test: add a function to run Python tests\r
35 In-Reply-To: <877h236tpx.fsf@gmail.com>\r
36 References: <1323251178-20409-1-git-send-email-schnouki@schnouki.net>\r
37         <877h236tpx.fsf@gmail.com>\r
38 User-Agent: Notmuch/0.10.2+106~gccdca5f (http://notmuchmail.org)\r
39         Emacs/24.0.92.1 (x86_64-unknown-linux-gnu)\r
40 Date: Tue, 13 Dec 2011 18:21:34 +0100\r
41 Message-ID: <87liqgqtep.fsf@thor.loria.fr>\r
42 MIME-Version: 1.0\r
43 Content-Type: multipart/signed; boundary="=-=-=";\r
44         micalg=pgp-sha1; protocol="application/pgp-signature"\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Tue, 13 Dec 2011 17:21:39 -0000\r
58 \r
59 --=-=-=\r
60 Content-Type: text/plain\r
61 Content-Transfer-Encoding: quoted-printable\r
62 \r
63 On Sun, 11 Dec 2011 18:58:18 +0400, Dmitry Kurochkin <dmitry.kurochkin@gmai=\r
64 l.com> wrote:\r
65 > Perhaps we should have a test-lib.py for test-specific stuff like this\r
66 > (similar to test-lib.el)?  I think it would be cleaner and makes it easy\r
67 > to add more Python test auxiliary functions later.\r
68 \r
69 Well, right now that would probably be overkill: the stdout-to-file\r
70 redirection takes 3 lines at most. Besides we would still need to set\r
71 some environment variables to run python with the correct directories.\r
72 But of course if we need to add more helper functions for running python\r
73 tests, then a test-lib.py would be nice.\r
74 \r
75 Maybe we could even think about using one of Python's unit test libs for\r
76 that: doctest, unittest (both in the standard library) and nose seem to\r
77 be the most popular ones.\r
78 \r
79 Regards,\r
80 \r
81 =2D-=20\r
82 Thomas/Schnouki\r
83 \r
84 --=-=-=\r
85 Content-Type: application/pgp-signature\r
86 \r
87 -----BEGIN PGP SIGNATURE-----\r
88 Version: GnuPG v1.4.11 (GNU/Linux)\r
89 \r
90 iQEcBAEBAgAGBQJO54meAAoJEMPdciX+bh5IQHQH/0XVE71m7PMwB9SLKalrH7V8\r
91 +YYszNlmBrQaezfonxpl69TToIEPFOekUQHv1BAJtWyYrbiBgVai5puXETE13OyC\r
92 Oehr/Xls+XnTo9XLH9R51DjwH1raxNwx564inYvzZi7kb/6MUSDdK3MPbPy/zB5s\r
93 AKn6INvjOgjWaU6DeTw89UAFg0OntIW11qaumUxggnCIAtMGVP4PBEYpqXH8nuYa\r
94 6YFnGKGtAjebFPbq7Opt/d1JCUbErZ6ZwsrAP1auI9dxeynMWqptHvJw22WJX7Ed\r
95 LKd58UzCsw8skOIG7S3Vn1HKw94cwAtRdVuJpSngSazH4bkBPPM1jtZsosVzJXU=\r
96 =jwtP\r
97 -----END PGP SIGNATURE-----\r
98 --=-=-=--\r