[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / fc / c1ce7dfb87449cd0a75b8e7fd48b83beb695aa
1 Return-Path: <schnouki@schnouki.net>\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 96A84429E34\r
6         for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 09:32:32 -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.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\r
13         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 NXW-TDNae58A for <notmuch@notmuchmail.org>;\r
17         Tue, 13 Dec 2011 09:32:30 -0800 (PST)\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
19         by olra.theworths.org (Postfix) with ESMTP id 436EE429E28\r
20         for <notmuch@notmuchmail.org>; Tue, 13 Dec 2011 09:32:30 -0800 (PST)\r
21 Received: from thor.loria.fr (thor.loria.fr [152.81.12.250])\r
22         by ks3536.kimsufi.com (Postfix) with ESMTPSA id 962036A002A;\r
23         Tue, 13 Dec 2011 18:32:29 +0100 (CET)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
25         s=key-schnouki; t=1323797549;\r
26         bh=2WFPcLDYBeest3cKoOrH1D2US6CBUb+4jauDvRXv5Ak=;\r
27         h=From:To:Subject:Date:Message-Id:In-Reply-To:References;\r
28         b=J9OZLjHVTwbEGzHxD9MZn/9tY7gnqDPo+4wK+f1feZlOpP3MqYoIzFw+9G8ejCk/a\r
29         O6bJqeqdIVfM8ZPJKG4GVcYUVIzop+ZH1PsOSGqyWwWRvkb9knU+7CowDdeY58cKhx\r
30         1VCAxAgFZPzttu6s+4pjrOKO/qhzj4s0vOiZBoOA=\r
31 From: Thomas Jost <schnouki@schnouki.net>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH v3 2/4] emacs: Add a face for crypto parts headers\r
34 Date: Tue, 13 Dec 2011 18:32:10 +0100\r
35 Message-Id: <1323797532-597-3-git-send-email-schnouki@schnouki.net>\r
36 X-Mailer: git-send-email 1.7.8\r
37 In-Reply-To: <1323797532-597-1-git-send-email-schnouki@schnouki.net>\r
38 References: <87d3cx2t38.fsf@rocinante.cs.unb.ca>\r
39         <1323797532-597-1-git-send-email-schnouki@schnouki.net>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Tue, 13 Dec 2011 17:32:33 -0000\r
53 \r
54 Commit cb841878 introduced new parts handlers for crypto parts, but also\r
55 hardcoded values for their headers face. This replaces these hardcoded values\r
56 with a customizable face.\r
57 ---\r
58  emacs/notmuch-crypto.el |    5 +++++\r
59  emacs/notmuch-show.el   |    4 ++--\r
60  2 files changed, 7 insertions(+), 2 deletions(-)\r
61 \r
62 diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el\r
63 index 44fccae..67c26af 100644\r
64 --- a/emacs/notmuch-crypto.el\r
65 +++ b/emacs/notmuch-crypto.el\r
66 @@ -37,6 +37,11 @@ mode."\r
67    :group 'notmuch\r
68    :type 'boolean)\r
69  \r
70 +(defface notmuch-crypto-part-header\r
71 +  '((t (:foreground "blue")))\r
72 +  "Face used for crypto parts headers."\r
73 +  :group 'notmuch)\r
74 +\r
75  (defface notmuch-crypto-signature-good\r
76    '((t (:background "green" :foreground "black")))\r
77    "Face used for good signatures."\r
78 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
79 index 33ee3d8..ec9c52c 100644\r
80 --- a/emacs/notmuch-show.el\r
81 +++ b/emacs/notmuch-show.el\r
82 @@ -457,7 +457,7 @@ current buffer, if possible."\r
83  \r
84  (defun notmuch-show-insert-part-multipart/signed (msg part content-type nth depth declared-type)\r
85    (let ((button (notmuch-show-insert-part-header nth declared-type content-type nil)))\r
86 -    (button-put button 'face '(:foreground "blue"))\r
87 +    (button-put button 'face 'notmuch-crypto-part-header)\r
88      ;; add signature status button if sigstatus provided\r
89      (if (plist-member part :sigstatus)\r
90         (let* ((from (notmuch-show-get-header :From msg))\r
91 @@ -479,7 +479,7 @@ current buffer, if possible."\r
92  \r
93  (defun notmuch-show-insert-part-multipart/encrypted (msg part content-type nth depth declared-type)\r
94    (let ((button (notmuch-show-insert-part-header nth declared-type content-type nil)))\r
95 -    (button-put button 'face '(:foreground "blue"))\r
96 +    (button-put button 'face 'notmuch-crypto-part-header)\r
97      ;; add encryption status button if encstatus specified\r
98      (if (plist-member part :encstatus)\r
99         (let ((encstatus (car (plist-get part :encstatus))))\r
100 -- \r
101 1.7.8\r
102 \r