1 Return-Path: <amdragon@mit.edu>
\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 84A1E431FBD
\r
6 for <notmuch@notmuchmail.org>; Mon, 10 Mar 2014 19:09:39 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id QcqW+uAmNLnW for <notmuch@notmuchmail.org>;
\r
16 Mon, 10 Mar 2014 19:09:33 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu
\r
19 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id F26A6431FBC
\r
22 for <notmuch@notmuchmail.org>; Mon, 10 Mar 2014 19:09:32 -0700 (PDT)
\r
23 X-AuditID: 12074423-f79726d000000cc9-b4-531e705c0ac5
\r
24 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
\r
25 (using TLS with cipher AES256-SHA (256/256 bits))
\r
26 (Client did not present a certificate)
\r
27 by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP
\r
28 id E6.9F.03273.C507E135; Mon, 10 Mar 2014 22:09:32 -0400 (EDT)
\r
29 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
\r
30 by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s2B29UJk025645;
\r
31 Mon, 10 Mar 2014 22:09:31 -0400
\r
32 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])
\r
33 (authenticated bits=0)
\r
34 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
35 by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s2B29SU6008979
\r
36 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
\r
37 Mon, 10 Mar 2014 22:09:30 -0400
\r
38 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)
\r
39 (envelope-from <amdragon@mit.edu>)
\r
40 id 1WNC8G-0008Jg-GQ; Mon, 10 Mar 2014 22:09:28 -0400
\r
41 From: Austin Clements <amdragon@MIT.EDU>
\r
42 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
\r
43 Subject: Re: [PATCH v2 3/7] emacs: tag: add customize for deleted/added tag
\r
45 In-Reply-To: <1392841212-8494-4-git-send-email-markwalters1009@gmail.com>
\r
46 References: <1392841212-8494-1-git-send-email-markwalters1009@gmail.com>
\r
47 <1392841212-8494-4-git-send-email-markwalters1009@gmail.com>
\r
48 User-Agent: Notmuch/0.17~rc2+14~g06f47e0 (http://notmuchmail.org) Emacs/23.4.1
\r
50 Date: Mon, 10 Mar 2014 22:09:28 -0400
\r
51 Message-ID: <87bnxd32qv.fsf@awakening.csail.mit.edu>
\r
53 Content-Type: text/plain; charset=us-ascii
\r
54 X-Brightmail-Tracker:
\r
55 H4sIAAAAAAAAA+NgFnrAIsWRmVeSWpSXmKPExsUixCmqrBtTIBds0PGL02L1XB6L6zdnMjsw
\r
56 eeycdZfd49mqW8wBTFFcNimpOZllqUX6dglcGZ3/NzIXLBKoeLGguoFxLm8XIyeHhICJxN/3
\r
57 m5khbDGJC/fWs4HYQgKzmSSevDXsYuQCsjcySmxp28AK4ZwGSrxYzwThLGGUOLZ/DxNIC5uA
\r
58 hsS2/csZQWwRAVeJp98+g40VFgiW2L73HjuIzSngKdEyoZcFormVUeLihB9g+0QFkiROT/3N
\r
59 CmKzCKhK3H+9AKyZF+i+lZMamSBsQYmTM5+wgNjMAloSN/69ZJrAKDALSWoWktQCRqZVjLIp
\r
60 uVW6uYmZOcWpybrFyYl5ealFumZ6uZkleqkppZsYQQHJ7qK8g/HPQaVDjAIcjEo8vCv95YKF
\r
61 WBPLiitzDzFKcjApifKuywQK8SXlp1RmJBZnxBeV5qQWH2KU4GBWEuE9bQGU401JrKxKLcqH
\r
62 SUlzsCiJ8/adlQgWEkhPLEnNTk0tSC2CycpwcChJ8C7NB2oULEpNT61Iy8wpQUgzcXCCDOcB
\r
63 Gr4epIa3uCAxtzgzHSJ/ilFRSpx3FkhCACSRUZoH1wtLGK8YxYFeEeZ1B6niASYbuO5XQIOZ
\r
64 gAY3H5cCGVySiJCSamAUdNaS+BdYopd/tqKWkV2XJZdfUOl8zp6bds93bky5tVrMRfwX589T
\r
65 WhePP795aOGPecGvn2pKB6kJP9h9qzHZ7NfJtUyztnGw1FovCv6omfAwVkrte3H4jAl8e+T0
\r
66 Yl54Mh97vFpXK+pXqzFT1M+uCB75r2c4YpXnHUrbVyubELbq8aWC4BYlluKMREMt5qLiRAAI
\r
68 X-BeenThere: notmuch@notmuchmail.org
\r
69 X-Mailman-Version: 2.1.13
\r
71 List-Id: "Use and development of the notmuch mail system."
\r
72 <notmuch.notmuchmail.org>
\r
73 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
74 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
75 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
76 List-Post: <mailto:notmuch@notmuchmail.org>
\r
77 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
78 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
79 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
80 X-List-Received-Date: Tue, 11 Mar 2014 02:09:39 -0000
\r
82 On Wed, 19 Feb 2014, Mark Walters <markwalters1009@gmail.com> wrote:
\r
83 > Add customize options for deleted/added tag formats. These are not
\r
84 > used yet but will be later in the series.
\r
86 > emacs/notmuch-tag.el | 31 +++++++++++++++++++++++++++++++
\r
87 > 1 files changed, 31 insertions(+), 0 deletions(-)
\r
89 > diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el
\r
90 > index 878aaf7..064fbdb 100644
\r
91 > --- a/emacs/notmuch-tag.el
\r
92 > +++ b/emacs/notmuch-tag.el
\r
93 > @@ -101,6 +101,37 @@ with images."
\r
94 > :group 'notmuch-show
\r
95 > :type 'notmuch-tag-format-type)
\r
97 > +(defcustom notmuch-tag-deleted-formats
\r
98 > + '((".*" (propertize tag 'face
\r
99 > + (if (display-supports-face-attributes-p '(:strike-through "red"))
\r
100 > + '(:strike-through "red")
\r
101 > + '(:inverse-video t)))))
\r
102 > + "Custom formats for tags when deleted.
\r
104 > +For deleted tags the formats in `notmuch-tag-formats` are applied
\r
105 > +first and then these formats are applied on top.
\r
107 > +By default this shows deleted tags with strike-through in red,
\r
108 > +unless strike-through is not available (e.g., emacs is running in
\r
109 > +a terminal) in which case it uses inverse video. To hide deleted
\r
110 > +tags completely set this to
\r
113 Should this be '((\".*\" nil))?
\r
116 > +See `notmuch-tag-formats' for full documentation."
\r
117 > + :group 'notmuch-show
\r
118 > + :type 'notmuch-tag-format-type)
\r
120 > +(defcustom notmuch-tag-added-formats
\r
121 > + '((".*" (propertize tag 'face '(:underline "green"))))
\r
122 > + "Custom formats for tags when added.
\r
124 > +For added tags the formats in `notmuch-tag-formats` are applied
\r
125 > +first and then these formats are applied on top.
\r
127 > +See `notmuch-tag-formats' for full documentation."
\r
128 > + :group 'notmuch-show
\r
129 > + :type 'notmuch-tag-format-type)
\r
131 > (defun notmuch-tag-format-image-data (tag data)
\r
132 > "Replace TAG with image DATA, if available.
\r
137 > _______________________________________________
\r
138 > notmuch mailing list
\r
139 > notmuch@notmuchmail.org
\r
140 > http://notmuchmail.org/mailman/listinfo/notmuch
\r