[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 6e / a6646e8e3ea78ab0d6e1ffa2a9901cd6bf9fd2
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 254BC431FAE\r
6         for <notmuch@notmuchmail.org>; Fri,  5 Jul 2013 11:11:35 -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 OGQm-fmNiski for <notmuch@notmuchmail.org>;\r
18         Fri,  5 Jul 2013 11:11:27 -0700 (PDT)\r
19 Received: from mail-ea0-f177.google.com (mail-ea0-f177.google.com\r
20         [209.85.215.177]) (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 794A0431FBC\r
23         for <notmuch@notmuchmail.org>; Fri,  5 Jul 2013 11:11:27 -0700 (PDT)\r
24 Received: by mail-ea0-f177.google.com with SMTP id j14so1610113eak.36\r
25         for <notmuch@notmuchmail.org>; Fri, 05 Jul 2013 11:11:26 -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:x-mailer:in-reply-to:references;\r
28         bh=GGz13JsJHsZgBWvQ8vXZi/SQtYU43NSHI2r6oKMiaVo=;\r
29         b=KEey9gJkKT5MqWtlTK4sWt5pqfAEArIeJbkYUYn9yAF3pcNGzJVCEq0/8j/nT2vYEc\r
30         j/eXnSi3MV8qHoYcNC3Y0yjJVvahg92DY0X/qjrXX8zandNjgdCvSP8oHn6nii5emoFa\r
31         Ew8kBtcM13POrAIVei9C1Q4vVrUVQNdldzMVHmPJtnzNEZK8gOJTXFDAKlwFFtfDy+jM\r
32         zYAKs8ja5qNubJsQAp6BwM75U35Hmie3TwC8wCxg7038dFeLknydZPNjYDKXrlQti8oL\r
33         4zBRqAoZfAEppZDt9ZzqOcaoOyVDFMBjk/ptzfeGyTsiMLy5/s/bZQZxdeHtnaqQEyoQ\r
34         +xzQ==\r
35 X-Received: by 10.15.34.77 with SMTP id d53mr13345124eev.95.1373047886320;\r
36         Fri, 05 Jul 2013 11:11:26 -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 a4sm16046387eez.0.2013.07.05.11.11.25\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Fri, 05 Jul 2013 11:11:25 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 01/11] contrib: pick: override notmuch-show-get-prop\r
45 Date: Fri,  5 Jul 2013 19:11:08 +0100\r
46 Message-Id: <1373047878-20822-2-git-send-email-markwalters1009@gmail.com>\r
47 X-Mailer: git-send-email 1.7.9.1\r
48 In-Reply-To: <1373047878-20822-1-git-send-email-markwalters1009@gmail.com>\r
49 References: <1373047878-20822-1-git-send-email-markwalters1009@gmail.com>\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Fri, 05 Jul 2013 18:11:35 -0000\r
63 \r
64 We override notmuch-show-get-prop so that many of the show functions\r
65 can be used in notmuch-pick without modification. The main use is that\r
66 it means notmuch-show-get-message-id `works' in pick. Thus we get all\r
67 the stash functions and several other `for free' in pick.\r
68 ---\r
69  contrib/notmuch-pick/notmuch-pick.el |   16 ++++++++++++++++\r
70  1 files changed, 16 insertions(+), 0 deletions(-)\r
71 \r
72 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
73 index fbd7c0b..d07f393 100644\r
74 --- a/contrib/notmuch-pick/notmuch-pick.el\r
75 +++ b/contrib/notmuch-pick/notmuch-pick.el\r
76 @@ -238,6 +238,22 @@ Some useful entries are:\r
77      (beginning-of-line)\r
78      (get-text-property (point) :notmuch-message-properties)))\r
79  \r
80 +;; This should really be a lib function but we are trying to reduce\r
81 +;; impact on the code base.\r
82 +(defun notmuch-show-get-prop (prop &optional props)\r
83 +  "This is a pick overridden version of notmuch-show-get-prop\r
84 +\r
85 +It gets property PROP from PROPS or, if PROPS is nil, the current\r
86 +message in either pick or show. This means that several functions\r
87 +in notmuch-show now work unchanged in pick as they just need the\r
88 +correct message properties."\r
89 +  (let ((props (or props\r
90 +                  (cond ((eq major-mode 'notmuch-show-mode)\r
91 +                         (notmuch-show-get-message-properties))\r
92 +                        ((eq major-mode 'notmuch-pick-mode)\r
93 +                         (notmuch-pick-get-message-properties))))))\r
94 +    (plist-get props prop)))\r
95 +\r
96  (defun notmuch-pick-set-message-properties (props)\r
97    (save-excursion\r
98      (beginning-of-line)\r
99 -- \r
100 1.7.9.1\r
101 \r