Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 44 / 4a33dc74ae7580c8d0eda9d93d6405ee9a483a
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 289B1429E32\r
6         for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 09:48:46 -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.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 KEdjFH+stuGz for <notmuch@notmuchmail.org>;\r
17         Mon,  3 Oct 2011 09:48:45 -0700 (PDT)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id 0F335429E21\r
20         for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 09:48:45 -0700 (PDT)\r
21 Received: from localhost.localdomain (thor.loria.fr [152.81.12.250])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id 1384A6A069B;\r
23         Mon,  3 Oct 2011 18:48:43 +0200 (CEST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1317660523;\r
26         bh=pWEFzwRGA6uLB5pgxvBjipRJBzA7HxxakujIEnys5oQ=;\r
27         h=From:To:Subject:Date:Message-Id:In-Reply-To:References;\r
28         b=ECRMU3iDPCeBZAbqqtgizpajW8Wadj+Jjo1wyXDFikHdLtIGBLCmT1RwZ+ugBF2i5\r
29         SsWJgKuyA1b7xbmCWsb/zeCks8JWsXNLx6INZvqOJLqmMleVzjLSj9519I/d7a6DVr\r
30         8cpaD/QEXGKbXSjaB2yw5pedeUey4bSPm8ZAbmW8=\r
31 From: Thomas Jost <schnouki@schnouki.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH 00/13] Test prereqs and screen-based Emacs tests\r
34 Date: Mon,  3 Oct 2011 18:47:14 +0200\r
35 Message-Id: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>\r
36 X-Mailer: git-send-email 1.7.6.4\r
37 In-Reply-To: <871uuuywtt.fsf@convex-new.cs.unb.ca>\r
38 References: <871uuuywtt.fsf@convex-new.cs.unb.ca>\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Mon, 03 Oct 2011 16:48:46 -0000\r
52 \r
53 Here it is: a rebased version of Pieter's patch series adding prereqs for the\r
54 emacs and crypto tests [1], and Dmitry's patches for running emacs inside screen\r
55 in the test suite [2]. (Please note that this one also includes fixes to improve\r
56 hidden signatures handling in notmuch-show-advance-and-archive.)\r
57 \r
58 I had to do several changes to the original patches:\r
59 - prereqs are not tested using test_expect_success as they were in Pieter's\r
60   original patches, but using a new function called test_set_bin_prereq. I wrote\r
61   this before the gdb prereq was added, hence the different way to set it.\r
62 \r
63 - some fixes in Pieter's patches so that it actually works when gpg is not\r
64   installed. Can't exactly remember what (...but you can just check his original\r
65   patches), but in the end it was working fine in a chroot without gpg.\r
66 \r
67 - I added a little patch to smtp-dummy that makes the test suite work again in\r
68   Emacs 24 (tested with emacs-pretest 24.0.90).\r
69 \r
70 Here are the results when running the test suite on my computer:\r
71 - without GNU Screen: \r
72     All 247 tests behaved as expected (1 expected failure).\r
73     46 tests skipped.\r
74 - with GNU Screen:\r
75     242/247 tests passed.\r
76     2 broken tests failed as expected.\r
77     3 tests failed.\r
78 \r
79 (The 3 failed tests come from some trouble with Emacs 24, I'll try to fix this\r
80 later.)\r
81 \r
82 *Many* thanks to Dmitry Kurochkin and Pieter Praet for their work!\r
83 \r
84 Regards,\r
85 Thomas\r
86 \r
87 [1] id:"1307016220-17509-1-git-send-email-pieter@praet.org"\r
88 [2] id:"1309496122-4965-1-git-send-email-dmitry.kurochkin@gmail.com"\r
89 \r
90 Dmitry Kurochkin (7):\r
91   test: run emacs inside screen\r
92   test: avoid using screen(1) configuration files\r
93   test: do not set frame width in emacs\r
94   test: `notmuch-show-advance-and-archive' with invisible signature\r
95   emacs: improve hidden signatures handling in\r
96     notmuch-show-advance-and-archive\r
97   emacs: remove no longer used functions from notmuch-show.el\r
98   emacs: remove unused `point-invisible-p' function\r
99 \r
100 Pieter Praet (4):\r
101   test: add 'GnuPG' prereq to dependent 'crypto' tests\r
102   test: add 'Emacs' prereq to dependent 'crypto' tests\r
103   test: add 'Emacs' prereq to dependent 'emacs' tests\r
104   test: add 'Emacs' prereq to dependent 'emacs-large-search-buffer'\r
105     tests\r
106 \r
107 Thomas Jost (2):\r
108   test: define a helper function for defining prereqs on executables\r
109   test: make smtp-dummy work with Emacs 24\r
110 \r
111  emacs/notmuch-lib.el           |   15 -------\r
112  emacs/notmuch-show.el          |   25 ++++-------\r
113  test/crypto                    |   46 ++++++++++++++-------\r
114  test/emacs                     |   85 ++++++++++++++++++++++++---------------\r
115  test/emacs-large-search-buffer |    9 +++-\r
116  test/smtp-dummy.c              |    2 +-\r
117  test/test-lib.el               |    3 -\r
118  test/test-lib.sh               |   31 +++++++++++++--\r
119  8 files changed, 127 insertions(+), 89 deletions(-)\r
120 \r
121 -- \r
122 1.7.6.4\r
123 \r