Re: [PATCH v4 09/16] index encrypted parts when asked.
[notmuch-archives.git] / b3 / d5a1c45ada7de25657bd1095478f7b755beaac
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 38FC4421166\r
6         for <notmuch@notmuchmail.org>; Tue, 29 Oct 2013 15:56:15 -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 kCr4gWh5rZ+V for <notmuch@notmuchmail.org>;\r
18         Tue, 29 Oct 2013 15:56:10 -0700 (PDT)\r
19 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com\r
20  [74.125.82.46])        (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  7A22F429E3D    for <notmuch@notmuchmail.org>; Tue, 29 Oct 2013 15:55:58 -0700\r
23  (PDT)\r
24 Received: by mail-wg0-f46.google.com with SMTP id m15so544949wgh.1\r
25         for <notmuch@notmuchmail.org>; Tue, 29 Oct 2013 15:55:57 -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:in-reply-to:references;\r
28         bh=A+PwLnMtldeJhb/rZg9jAy8/hSc4JXoviPQRbydeufw=;\r
29         b=GrGCVpUfDfzEYbMV1Ieb8oQjHjc5Ecu7f0xcgNWgoFEuW9E1MtnXv4HJeYtgV/1yoF\r
30         5GaUzhyTgc+1g1//VKTLmfocs93R3aoRuPfz77fhi8ND4xaFSzdRT17/DpHu0uSkLMvU\r
31         jPI0hmw1mquyurc9xPxLkN6LljZpRL/KptgRJNJZdSAFLcrT/su/+fsESUkX6NZ1lCkY\r
32         hwl9Vzl8RMuadnSohE18aG3jdBDa/AbRaTFp4syJ1JL2FjXcViFrZLmOlYjS8KRTBOZN\r
33         JPIYlkv1NrajuG+ycZiC/Q9uhZbOpmesQRk3n89AyzrMszTe+T0AWSwEMVJ6nfWbHZon\r
34         uXJQ==\r
35 X-Received: by 10.194.104.66 with SMTP id gc2mr1516875wjb.75.1383087355795;\r
36         Tue, 29 Oct 2013 15:55:55 -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 y20sm9518514wib.0.2013.10.29.15.55.55\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Tue, 29 Oct 2013 15:55:55 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 07/11] emacs: minimal change to autoload notmuch-tree\r
45 Date: Tue, 29 Oct 2013 22:55:34 +0000\r
46 Message-Id: <1383087338-10220-8-git-send-email-markwalters1009@gmail.com>\r
47 X-Mailer: git-send-email 1.7.9.1\r
48 In-Reply-To: <1383087338-10220-1-git-send-email-markwalters1009@gmail.com>\r
49 References: <1383087338-10220-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: Tue, 29 Oct 2013 22:56:15 -0000\r
63 \r
64 We want to autoload notmuch-tree.el so include it as a require in\r
65 notmuch.el. To avoid circular dependency we need to move one\r
66 keybinding from notmuch-tree.el to notmuch.el: it makes sense for it\r
67 to be defined there anyway.\r
68 \r
69 Since tree is now autoloaded there is no need to print a message when\r
70 it is loaded.\r
71 ---\r
72  emacs/notmuch-tree.el |    3 ---\r
73  emacs/notmuch.el      |    2 ++\r
74  2 files changed, 2 insertions(+), 3 deletions(-)\r
75 \r
76 diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el\r
77 index d3330a0..ebfb5e7 100644\r
78 --- a/emacs/notmuch-tree.el\r
79 +++ b/emacs/notmuch-tree.el\r
80 @@ -29,7 +29,6 @@\r
81  (require 'notmuch-show)\r
82  (require 'notmuch-tag)\r
83  (require 'notmuch-parser)\r
84 -(require 'notmuch) ;; XXX ATM, as notmuch-search-mode-map is defined here\r
85  \r
86  (eval-when-compile (require 'cl))\r
87  (declare-function notmuch-search "notmuch" (&optional query oldest-first target-thread target-line))\r
88 @@ -939,8 +938,6 @@ The arguments are:\r
89  \r
90  ;; Set up key bindings from the rest of notmuch.\r
91  (define-key notmuch-common-keymap "z" 'notmuch-tree)\r
92 -(define-key notmuch-search-mode-map "Z" 'notmuch-tree-from-search-current-query)\r
93  (define-key notmuch-show-mode-map "Z" 'notmuch-tree-from-show-current-query)\r
94 -(message "Initialised notmuch-tree")\r
95  \r
96  (provide 'notmuch-tree)\r
97 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
98 index 19210cb..418c781 100644\r
99 --- a/emacs/notmuch.el\r
100 +++ b/emacs/notmuch.el\r
101 @@ -54,6 +54,7 @@\r
102  (require 'notmuch-lib)\r
103  (require 'notmuch-tag)\r
104  (require 'notmuch-show)\r
105 +(require 'notmuch-tree)\r
106  (require 'notmuch-mua)\r
107  (require 'notmuch-hello)\r
108  (require 'notmuch-maildir-fcc)\r
109 @@ -156,6 +157,7 @@ To enter a line break in customize, press \\[quoted-insert] C-j."\r
110      (define-key map "-" 'notmuch-search-remove-tag)\r
111      (define-key map "+" 'notmuch-search-add-tag)\r
112      (define-key map (kbd "RET") 'notmuch-search-show-thread)\r
113 +    (define-key map "Z" 'notmuch-tree-from-search-current-query)\r
114      map)\r
115    "Keymap for \"notmuch search\" buffers.")\r
116  (fset 'notmuch-search-mode-map notmuch-search-mode-map)\r
117 -- \r
118 1.7.9.1\r
119 \r