Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / c5 / 17f0cce328106eff52d006d85576f1fdc07e36
1 Return-Path: <dme@dme.org>\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 64F90431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 09:11:36 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 W0sGQrccg5FZ for <notmuch@notmuchmail.org>;\r
16         Mon, 16 Jan 2012 09:11:35 -0800 (PST)\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
18         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id AFBA2431FAF\r
21         for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 09:11:35 -0800 (PST)\r
22 Received: by werb13 with SMTP id b13so23976wer.26\r
23         for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 09:11:34 -0800 (PST)\r
24 Received: by 10.216.135.86 with SMTP id t64mr1924924wei.0.1326733894351;\r
25         Mon, 16 Jan 2012 09:11:34 -0800 (PST)\r
26 Received: from hotblack-desiato.hh.sledj.net\r
27         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
28         by mx.google.com with ESMTPS id 28sm23039807wby.3.2012.01.16.09.11.32\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Mon, 16 Jan 2012 09:11:33 -0800 (PST)\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
32         id 3EB9EA0397; Mon, 16 Jan 2012 17:11:31 +0000 (GMT)\r
33 To: notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH 1/2] test: Add "test_expect_emacs_t" to assist with emacs\r
35         testing.\r
36 In-Reply-To: <1326732453-23377-1-git-send-email-dme@dme.org>\r
37 References: <1326732453-23377-1-git-send-email-dme@dme.org>\r
38 User-Agent: Notmuch/0.11+64~g42e8f66 (http://notmuchmail.org) Emacs/24.0.92.1\r
39         (x86_64-pc-linux-gnu)\r
40 From: David Edmondson <dme@dme.org>\r
41 Date: Mon, 16 Jan 2012 17:11:30 +0000\r
42 Message-ID: <cunpqejshbx.fsf@hotblack-desiato.hh.sledj.net>\r
43 MIME-Version: 1.0\r
44 Content-Type: multipart/signed; boundary="=-=-=";\r
45         micalg=pgp-sha1; 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: Mon, 16 Jan 2012 17:11:36 -0000\r
59 \r
60 --=-=-=\r
61 Content-Type: text/plain; charset=utf-8\r
62 Content-Transfer-Encoding: quoted-printable\r
63 \r
64 I asked for feedback on the approach of implementing tests in .el[1] and\r
65 got only positive feedback (well, only one bit of feedback at all).\r
66 \r
67 Here are some simpler tests implemented using this approach, trying to\r
68 address the concerns about seeing what failed. The test output is now\r
69 something like:\r
70 \r
71  PASS   notmuch-show-clean-address 1\r
72  PASS   notmuch-show-clean-address 2\r
73  FAIL   notmuch-show-clean-address 3\r
74         Expect: "=D0=94=D0=91 <db-uknot@stop.me.uk>"\r
75         Output: "db-uknot@stop.me.uk"\r
76         Expect: "foo (at home) <foo@bar.com>"\r
77         Output: "foo <foo@bar.com>"\r
78         Expect: "foo [at home] <foo@bar.com>"\r
79         Output: "foo at home <foo@bar.com>"\r
80         Expect: "Foo Bar"\r
81         Output: nil\r
82 \r
83 Obviously the first two tests passed and the third failed.\r
84 \r
85 Footnotes:=20\r
86 [1]  id:"cunmxabqs6k.fsf@hotblack-desiato.hh.sledj.net"\r
87 \r
88 \r
89 --=-=-=\r
90 Content-Type: application/pgp-signature\r
91 \r
92 -----BEGIN PGP SIGNATURE-----\r
93 Version: GnuPG v1.4.11 (GNU/Linux)\r
94 \r
95 iEYEARECAAYFAk8UWkMACgkQaezQq/BJZRaDrwCfeuZoRFciLi0T3qHM54ARpfFe\r
96 L5MAn0ZC5LNIoCzzcM9yVH+V3UmG8hYF\r
97 =Hwe4\r
98 -----END PGP SIGNATURE-----\r
99 --=-=-=--\r