Re: Emacs: Crypto: How to get automatic encryption?
[notmuch-archives.git] / a9 / ac1c07956e9ab8d9a428aefe32c7063660549b
1 Return-Path: <dmitry.kurochkin@gmail.com>\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 1B2C4431FB6\r
6         for <notmuch@notmuchmail.org>; Sun, 22 May 2011 11:57:47 -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.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 CYebLRlrr5md for <notmuch@notmuchmail.org>;\r
17         Sun, 22 May 2011 11:57:46 -0700 (PDT)\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
19         [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id B4F47429E2C\r
22         for <notmuch@notmuchmail.org>; Sun, 22 May 2011 11:57:44 -0700 (PDT)\r
23 Received: by mail-fx0-f53.google.com with SMTP id 8so3802481fxm.26\r
24         for <notmuch@notmuchmail.org>; Sun, 22 May 2011 11:57:44 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer\r
27         :in-reply-to:references;\r
28         bh=gFr9vTmYXTANM2uEJanLDK2+UQDHlMxEe4ayGCwaNdA=;\r
29         b=d0+Dj7dSzzHgMBK7vuGckA6Ib+pDO8FxXk7IxisEO9tW9thNGmhdFJroBn2uAAYbUO\r
30         Z92MsLrhb9Byg/8lEMc40Wp6jWOnT37shfLqDMVKv/6u7jEAulJKvttkFgJLcROZ3Hru\r
31         obLuvoxD1CEhJjZTKrPlToydDdPuervyn1PsY=\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
33         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
34         b=AF24Ld2YOlE3EIGQEY77kSGv1joej+ONnQeMMmvvnf7HEIN+CK0BPu96mKaT0Ftmsa\r
35         X4A+cCD2PLWtoUcypurglrzsqpRNYl3v+VxEriQLXeFsxaXXIPH4MRv0URz+g03HwH5F\r
36         t1jPhIXcMHinDH4+sdz74cl4+6CThrm/j7qWo=\r
37 Received: by 10.223.92.132 with SMTP id r4mr1600021fam.142.1306090664371;\r
38         Sun, 22 May 2011 11:57:44 -0700 (PDT)\r
39 Received: from localhost ([91.144.186.21])\r
40         by mx.google.com with ESMTPS id c24sm2063463fak.7.2011.05.22.11.57.43\r
41         (version=TLSv1/SSLv3 cipher=OTHER);\r
42         Sun, 22 May 2011 11:57:43 -0700 (PDT)\r
43 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
44 To: notmuch@notmuchmail.org\r
45 Subject: [PATCH 3/3] test: add test for hiding/showing signature in\r
46         notmuch-show view\r
47 Date: Sun, 22 May 2011 22:57:55 +0400\r
48 Message-Id: <1306090675-26982-3-git-send-email-dmitry.kurochkin@gmail.com>\r
49 X-Mailer: git-send-email 1.7.5.1\r
50 In-Reply-To: <1306090675-26982-1-git-send-email-dmitry.kurochkin@gmail.com>\r
51 References: <1306090675-26982-1-git-send-email-dmitry.kurochkin@gmail.com>\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Sun, 22 May 2011 18:57:47 -0000\r
65 \r
66 ---\r
67  test/emacs |   11 +++++++++++\r
68  1 files changed, 11 insertions(+), 0 deletions(-)\r
69 \r
70 diff --git a/test/emacs b/test/emacs\r
71 index f2983a7..ccf02af 100755\r
72 --- a/test/emacs\r
73 +++ b/test/emacs\r
74 @@ -141,4 +141,15 @@ first_line=$(echo "$expected" | head -n1)\r
75  output=$(test_emacs '(notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com") (notmuch-show-view-raw-message) (princ (buffer-string))' | sed -ne "/$first_line/,\$ p")\r
76  test_expect_equal "$output" "$expected"\r
77  \r
78 +test_begin_subtest "Hiding/showing signature in notmuch-show view"\r
79 +maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)\r
80 +output=$(test_emacs "(notmuch-show \"$maildir_storage_thread\")\r
81 +                    (search-forward \"Click/Enter to show.\")\r
82 +                    (button-activate (button-at (point)))\r
83 +                    (search-backward \"Click/Enter to hide.\")\r
84 +                    (button-activate (button-at (point)))\r
85 +                    (princ (buffer-string))")\r
86 +expected=$(cat $EXPECTED/notmuch-show-thread-maildir-storage)\r
87 +test_expect_equal "$output" "$expected"\r
88 +\r
89  test_done\r
90 -- \r
91 1.7.5.1\r
92 \r