[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 8c / 78334d74469f5f039cc6bca000308e005aa287
1 Return-Path: <dmitry.kurochkin@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 318BA40B945\r
6         for <notmuch@notmuchmail.org>; Thu,  1 Jul 2010 09:09:27 -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: -1.999\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
13         DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001] autolearn=ham\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 EJh2GJ6luIvV for <notmuch@notmuchmail.org>;\r
17         Thu,  1 Jul 2010 09:09:14 -0700 (PDT)\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
19         [209.85.161.53])\r
20         by olra.theworths.org (Postfix) with ESMTP id 88BCE49F192\r
21         for <notmuch@notmuchmail.org>; Thu,  1 Jul 2010 09:09:01 -0700 (PDT)\r
22 Received: by mail-fx0-f53.google.com with SMTP id 19so1776530fxm.26\r
23         for <notmuch@notmuchmail.org>; Thu, 01 Jul 2010 09:09:01 -0700 (PDT)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
25         h=domainkey-signature:received:received:from:to:cc:subject:date\r
26         :message-id:x-mailer:in-reply-to:references;\r
27         bh=8BMPRlPTJS2Lk8FIx4b8iGAe2P2nNEX4mWHe8Za0UQ0=;\r
28         b=Av4zNFnLxlN0DSbPfqevTzi92OuFRa/G9ZAnufKAhJamKNjKjfmo3D+2DFcXLyEUHs\r
29         F2xPYBJQD5Zd55oUXF3MN12HMjFQl52C0HraKXgO92kVnR4B44ZO9sni2VqV7yQIfpr9\r
30         YLnJhSo2CaqPtKBfpcn94kEZIe0GgI3YDYGSI=\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
32         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
33         b=eZh1Zn0nR83ZEfkm3KJrtXgLYei+bqGranDflNQAoh7Nsk8Xc/alqQzr7HOEPNzPeP\r
34         UoFmYyCFQ2mds/FcZKxuJSQT0L29erG138H5/dPCDkxZKCTEObYNvX3eqzCt9S/BYwFF\r
35         zDyGhDtCOc773M4cpghg4G1+RAnO0M9y+sLRI=\r
36 Received: by 10.223.20.73 with SMTP id e9mr9768254fab.103.1278000541258;\r
37         Thu, 01 Jul 2010 09:09:01 -0700 (PDT)\r
38 Received: from localhost ([91.144.186.21])\r
39         by mx.google.com with ESMTPS id l26sm7739482fam.15.2010.07.01.09.09.00\r
40         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
41         Thu, 01 Jul 2010 09:09:00 -0700 (PDT)\r
42 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 3/5] Use message-field-value instead of message-fetch-field.\r
45 Date: Thu,  1 Jul 2010 20:08:25 +0400\r
46 Message-Id: <1278000507-22290-4-git-send-email-dmitry.kurochkin@gmail.com>\r
47 X-Mailer: git-send-email 1.7.1\r
48 In-Reply-To: <1278000507-22290-1-git-send-email-dmitry.kurochkin@gmail.com>\r
49 References: <1278000507-22290-1-git-send-email-dmitry.kurochkin@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: Thu, 01 Jul 2010 16:09:27 -0000\r
63 \r
64 ---\r
65  emacs/notmuch-maildir-fcc.el |    6 +++---\r
66  1 files changed, 3 insertions(+), 3 deletions(-)\r
67 \r
68 diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el\r
69 index 8bb41a8..c3e4505 100644\r
70 --- a/emacs/notmuch-maildir-fcc.el\r
71 +++ b/emacs/notmuch-maildir-fcc.el\r
72 @@ -83,18 +83,18 @@\r
73            ;; notmuch-fcc-dirs is a string, just use it as subdir\r
74            (setq subdir notmuch-fcc-dirs)\r
75          ;; else: it's a list of alists (("sent") ("name1" . "sent1"))\r
76 -        (setq subdir (cdr (assoc-string (message-fetch-field "from") notmuch-fcc-dirs t)))\r
77 +        (setq subdir (cdr (assoc-string (message-field-value "from") notmuch-fcc-dirs t)))\r
78           ;; if we found no hit, use the first entry as default fallback\r
79           (unless subdir (setq subdir (car (car notmuch-fcc-dirs)))))\r
80  \r
81    ;; if there is no fcc header yet, add ours\r
82 -  (unless (message-fetch-field "fcc")\r
83 +  (unless (message-field-value "fcc")\r
84      (message-add-header (concat "Fcc: "\r
85                                  (file-name-as-directory message-directory)\r
86                                  subdir)))\r
87  \r
88    ;; finally test if fcc points to a valid maildir\r
89 -  (let ((fcc-header (message-fetch-field "fcc")))\r
90 +  (let ((fcc-header (message-field-value "fcc")))\r
91      (unless (notmuch-maildir-fcc-dir-is-maildir-p fcc-header)\r
92        (cond ((not (file-writable-p fcc-header))\r
93               (error (format "%s is not a maildir, but you don't have permission to create one." fcc-header)))\r
94 -- \r
95 1.7.1\r
96 \r