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 2CF82431FC3
\r
6 for <notmuch@notmuchmail.org>; Fri, 14 Feb 2014 01:15:55 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 MEXtWVQvk3MF for <notmuch@notmuchmail.org>;
\r
18 Fri, 14 Feb 2014 01:15:50 -0800 (PST)
\r
19 Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com
\r
20 [74.125.82.51]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
21 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
22 54DAD431FC7 for <notmuch@notmuchmail.org>; Fri, 14 Feb 2014 01:15:35 -0800
\r
24 Received: by mail-wg0-f51.google.com with SMTP id n12so184065wgh.18
\r
25 for <notmuch@notmuchmail.org>; Fri, 14 Feb 2014 01:15:34 -0800 (PST)
\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=OtljRpbfMX1AXd9Wj2R5ZiDRa0FgMQhq8Gb1mIiq5as=;
\r
29 b=uOjeBAPB2WoHSDUA7gqwT0V+jANaEJUm3bYazweLeVrHt13rf3JaPKQTBPtKrMNyTa
\r
30 EpqFV50VfHVnvf+RMBwSEj8n5PPUu7icYkmHGPoSrMCIkgk3UF3iwPTArCJQHUSaf4F3
\r
31 5N41XjmPBS5W734DujK+Kqi+2rPcRcBEvsNBMgBI6502yk6eBBCRdyyHPlKuYOZvHRbi
\r
32 gTdKdLbByKIKeGtX1oe/oN96uwuTluE2esRbS1gqRE9QrWZvOcfo1uAeD9EV2avLygME
\r
33 mU7grY5V8yhxS641bPFwVdKhbLxAA6In+XQAqtzBNpPe7w5wxOfeDK6C6F5gsdr7yLWS
\r
35 X-Received: by 10.194.92.199 with SMTP id co7mr5021686wjb.14.1392369334216;
\r
36 Fri, 14 Feb 2014 01:15:34 -0800 (PST)
\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 de3sm11136384wjb.8.2014.02.14.01.15.33
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Fri, 14 Feb 2014 01:15:33 -0800 (PST)
\r
42 From: Mark Walters <markwalters1009@gmail.com>
\r
43 To: notmuch@notmuchmail.org,
\r
44 Austin Clements <amdragon@MIT.EDU>
\r
45 Subject: [WIP Patch 5/7] emacs: show: use orig-tags for tag display
\r
46 Date: Fri, 14 Feb 2014 09:15:17 +0000
\r
47 Message-Id: <1392369319-24508-6-git-send-email-markwalters1009@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.9.1
\r
49 In-Reply-To: <1392369319-24508-1-git-send-email-markwalters1009@gmail.com>
\r
50 References: <1392369319-24508-1-git-send-email-markwalters1009@gmail.com>
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\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: Fri, 14 Feb 2014 09:15:55 -0000
\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
68 emacs/notmuch-show.el | 4 +++-
\r
69 1 files changed, 3 insertions(+), 1 deletions(-)
\r
71 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
72 index 1ce56f9..97243dc 100644
\r
73 --- a/emacs/notmuch-show.el
\r
74 +++ b/emacs/notmuch-show.el
\r
75 @@ -344,7 +344,7 @@ operation on the contents of the current buffer."
\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
83 (defun notmuch-clean-address (address)
\r
84 @@ -1167,6 +1167,8 @@ function is used."
\r
86 (jit-lock-register #'notmuch-show-buttonise-links)
\r
88 + (notmuch-show-mapc (lambda () (notmuch-show-set-prop :orig-tags (notmuch-show-get-tags))))
\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