Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 73 / 57463d40614c9b35bcf60cd8f672a534bc38d6
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 03B43431FC7\r
6         for <notmuch@notmuchmail.org>; Fri, 27 Jan 2012 20:42:51 -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.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 H-H+X8RPTvEY for <notmuch@notmuchmail.org>;\r
17         Fri, 27 Jan 2012 20:42:48 -0800 (PST)\r
18 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com\r
19         [209.85.214.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 58C72431FBC\r
22         for <notmuch@notmuchmail.org>; Fri, 27 Jan 2012 20:42:38 -0800 (PST)\r
23 Received: by mail-bk0-f53.google.com with SMTP id zt19so2255515bkb.26\r
24         for <notmuch@notmuchmail.org>; Fri, 27 Jan 2012 20:42:38 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=from:to:subject:date:message-id:x-mailer:in-reply-to:references;\r
27         bh=S9ZZJ8HkmcVceIZY41Z7DYkAuQcPrhWDkTitJy8lCuI=;\r
28         b=wK+2JTXOrm7IJPBl4BXCtFAeHpLhVaOoKDTPQ8tfmI1EQClASzaB40/3FFDesWHrAW\r
29         8jnWpDbcyJLdkDG/AE8ox1DJjuRX6JfnkkngyqC+eGfH3NMnZxKJjKKYRf3XvmqETHc2\r
30         vf2kPEmVOvuEpLHaQr1dsFdQcEbL/6bYyBD9M=\r
31 Received: by 10.204.145.82 with SMTP id c18mr4242896bkv.121.1327725758070;\r
32         Fri, 27 Jan 2012 20:42:38 -0800 (PST)\r
33 Received: from localhost ([91.144.186.21])\r
34         by mx.google.com with ESMTPS id ez5sm20630155bkc.15.2012.01.27.20.42.37\r
35         (version=TLSv1/SSLv3 cipher=OTHER);\r
36         Fri, 27 Jan 2012 20:42:37 -0800 (PST)\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 4/6] test: fix emacs tests after tagging operations changes\r
40 Date: Sat, 28 Jan 2012 08:41:22 +0400\r
41 Message-Id: <1327725684-5887-4-git-send-email-dmitry.kurochkin@gmail.com>\r
42 X-Mailer: git-send-email 1.7.8.3\r
43 In-Reply-To: <1327725684-5887-1-git-send-email-dmitry.kurochkin@gmail.com>\r
44 References: <1327725684-5887-1-git-send-email-dmitry.kurochkin@gmail.com>\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: Sat, 28 Jan 2012 04:42:51 -0000\r
58 \r
59 After the recent tagging operations changes, functions bound to "+"\r
60 and "-" in notmuch-search and notmuch-show views always read input\r
61 from the minibuffer.  Use kbd macros instead of calling them directly.\r
62 ---\r
63  test/emacs |   20 ++++++++++----------\r
64  1 files changed, 10 insertions(+), 10 deletions(-)\r
65 \r
66 diff --git a/test/emacs b/test/emacs\r
67 index 8ca4c8a..b9c0e02 100755\r
68 --- a/test/emacs\r
69 +++ b/test/emacs\r
70 @@ -101,26 +101,26 @@ test_begin_subtest "Add tag from search view"\r
71  os_x_darwin_thread=$(notmuch search --output=threads id:ddd65cda0911171950o4eea4389v86de9525e46052d3@mail.gmail.com)\r
72  test_emacs "(notmuch-search \"$os_x_darwin_thread\")\r
73             (notmuch-test-wait)\r
74 -           (notmuch-search-add-tag \"tag-from-search-view\")"\r
75 +           (execute-kbd-macro \"+tag-from-search-view\")"\r
76  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
77  test_expect_equal "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox tag-from-search-view unread)"\r
78  \r
79  test_begin_subtest "Remove tag from search view"\r
80  test_emacs "(notmuch-search \"$os_x_darwin_thread\")\r
81             (notmuch-test-wait)\r
82 -           (notmuch-search-remove-tag \"tag-from-search-view\")"\r
83 +           (execute-kbd-macro \"-tag-from-search-view\")"\r
84  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
85  test_expect_equal "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"\r
86  \r
87  test_begin_subtest "Add tag from notmuch-show view"\r
88  test_emacs "(notmuch-show \"$os_x_darwin_thread\")\r
89 -           (notmuch-show-add-tag \"tag-from-show-view\")"\r
90 +           (execute-kbd-macro \"+tag-from-show-view\")"\r
91  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
92  test_expect_equal "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox tag-from-show-view unread)"\r
93  \r
94  test_begin_subtest "Remove tag from notmuch-show view"\r
95  test_emacs "(notmuch-show \"$os_x_darwin_thread\")\r
96 -           (notmuch-show-remove-tag \"tag-from-show-view\")"\r
97 +           (execute-kbd-macro \"-tag-from-show-view\")"\r
98  output=$(notmuch search $os_x_darwin_thread | notmuch_search_sanitize)\r
99  test_expect_equal "$output" "thread:XXX   2009-11-18 [4/4] Jjgod Jiang, Alexander Botero-Lowry; [notmuch] Mac OS X/Darwin compatibility issues (inbox unread)"\r
100  \r
101 @@ -128,14 +128,14 @@ test_begin_subtest "Message with .. in Message-Id:"\r
102  add_message [id]=123..456@example '[subject]="Message with .. in Message-Id"'\r
103  test_emacs '(notmuch-search "id:\"123..456@example\"")\r
104             (notmuch-test-wait)\r
105 -           (notmuch-search-add-tag "search-add")\r
106 -           (notmuch-search-add-tag "search-remove")\r
107 -           (notmuch-search-remove-tag "search-remove")\r
108 +           (execute-kbd-macro "+search-add")\r
109 +           (execute-kbd-macro "+search-remove")\r
110 +           (execute-kbd-macro "-search-remove")\r
111             (notmuch-show "id:\"123..456@example\"")\r
112             (notmuch-test-wait)\r
113 -           (notmuch-show-add-tag "show-add")\r
114 -           (notmuch-show-add-tag "show-remove")\r
115 -           (notmuch-show-remove-tag "show-remove")'\r
116 +           (execute-kbd-macro "+show-add")\r
117 +           (execute-kbd-macro "+show-remove")\r
118 +           (execute-kbd-macro "-show-remove")'\r
119  output=$(notmuch search 'id:"123..456@example"' | notmuch_search_sanitize)\r
120  test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] Notmuch Test Suite; Message with .. in Message-Id (inbox search-add show-add)"\r
121  \r
122 -- \r
123 1.7.8.3\r
124 \r