[PATCH] test/thread-order: more robust loop exit in case of broken input
[notmuch-archives.git] / 20 / f4e1ad13d6824e7d96e0f247f3d46e641c75a1
1 Return-Path: <markwalters1009@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 B40C9431FCF\r
6         for <notmuch@notmuchmail.org>; Tue, 11 Mar 2014 21:10:36 -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.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id CcIPDj3Kujuj for <notmuch@notmuchmail.org>;\r
18         Tue, 11 Mar 2014 21:10:32 -0700 (PDT)\r
19 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com\r
20         [209.85.212.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 6599C431FD2\r
23         for <notmuch@notmuchmail.org>; Tue, 11 Mar 2014 21:10:14 -0700 (PDT)\r
24 Received: by mail-wi0-f171.google.com with SMTP id hn9so1814215wib.10\r
25         for <notmuch@notmuchmail.org>; Tue, 11 Mar 2014 21:10:11 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:in-reply-to:references;\r
28         bh=E3yuVeWINftbYUwMXsfkhJnWRpCCr0QMCERkfRJsyic=;\r
29         b=Y0H+U+PckUAji5GuT60XIs/I0tdH07YnOocpLt2MnZIZv19P9epVfHkRnJLQ07exDF\r
30         q0S8hAJ4QhzRQvYw1xZum+1hheDIWG1HmKnaX4h8B3RR5cL/0UidmDZ0QNrqYgJEu6Xp\r
31         IbO3CiPQ4RISpLKEkJm0v7WZUAVm1xX4JYh0b5J7eZ3Stws3Xf11Xtv2qsSGGfEbpKnR\r
32         885XaGr69y7W4ty0PqjcAuAkwmTUpos7a5zS+a8ovizAeFlntHcC76PbziCJ+YX9jerO\r
33         eu4hmNrMk7z1nqLrePARF7J7W69Jo/5tSumRzBRmW1zmCpV7yGJgoDA47tuPLsfzSdWp\r
34         QJRw==\r
35 X-Received: by 10.180.189.10 with SMTP id ge10mr5860567wic.47.1394597411844;\r
36         Tue, 11 Mar 2014 21:10:11 -0700 (PDT)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPSA id\r
39         bm8sm66458039wjc.12.2014.03.11.21.10.10 for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Tue, 11 Mar 2014 21:10:11 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org,\r
44         amdragon@mit.edu\r
45 Subject: [Patch v3 6/8] emacs: show: use orig-tags for tag display\r
46 Date: Wed, 12 Mar 2014 04:09:55 +0000\r
47 Message-Id: <1394597397-8486-7-git-send-email-markwalters1009@gmail.com>\r
48 X-Mailer: git-send-email 1.7.9.1\r
49 In-Reply-To: <1394597397-8486-1-git-send-email-markwalters1009@gmail.com>\r
50 References: <1394597397-8486-1-git-send-email-markwalters1009@gmail.com>\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Wed, 12 Mar 2014 04:10:36 -0000\r
64 \r
65 This uses the previous patch to show the tag changes that have occured\r
66 in the show buffer since it was last loaded/refreshed.\r
67 ---\r
68  emacs/notmuch-show.el |    4 +++-\r
69  1 files changed, 3 insertions(+), 1 deletions(-)\r
70 \r
71 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
72 index 5492be4..f6ca827 100644\r
73 --- a/emacs/notmuch-show.el\r
74 +++ b/emacs/notmuch-show.el\r
75 @@ -344,7 +344,7 @@ (defun notmuch-show-update-tags (tags)\r
76      (if (re-search-forward "(\\([^()]*\\))$" (line-end-position) t)\r
77         (let ((inhibit-read-only t))\r
78           (replace-match (concat "("\r
79 -                                (notmuch-tag-format-tags tags tags)\r
80 +                                (notmuch-tag-format-tags tags (notmuch-show-get-prop :orig-tags))\r
81                                  ")"))))))\r
82  \r
83  (defun notmuch-clean-address (address)\r
84 @@ -1168,6 +1168,8 @@ (defun notmuch-show-build-buffer ()\r
85  \r
86        (jit-lock-register #'notmuch-show-buttonise-links)\r
87  \r
88 +      (notmuch-show-mapc (lambda () (notmuch-show-set-prop :orig-tags (notmuch-show-get-tags))))\r
89 +\r
90        ;; Set the header line to the subject of the first message.\r
91        (setq header-line-format (notmuch-sanitize (notmuch-show-strip-re (notmuch-show-get-subject))))\r
92  \r
93 -- \r
94 1.7.9.1\r
95 \r