Info about notmuch database
[notmuch-archives.git] / d6 / 7565abfcc9ce1cccc1cc362c1885904664ca1f
1 Return-Path: <Sebastian@SSpaeth.de>\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 02E6D41733A\r
6         for <notmuch@notmuchmail.org>; Thu, 22 Apr 2010 02:08:00 -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.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\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 9u8B9UHX6f6C for <notmuch@notmuchmail.org>;\r
16         Thu, 22 Apr 2010 02:07:58 -0700 (PDT)\r
17 Received: from homiemail-a13.g.dreamhost.com (caiajhbdcaib.dreamhost.com\r
18         [208.97.132.81])\r
19         by olra.theworths.org (Postfix) with ESMTP id 9D1B4417339\r
20         for <notmuch@notmuchmail.org>; Thu, 22 Apr 2010 02:07:58 -0700 (PDT)\r
21 Received: from localhost.localdomain (mtec-hg-docking-1-dhcp-204.ethz.ch\r
22         [129.132.133.204]) (Authenticated sender: sebastian@sspaeth.de)\r
23         by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id 871596A8058; \r
24         Thu, 22 Apr 2010 02:07:52 -0700 (PDT)\r
25 From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
26 To: Notmuch developer list <notmuch@notmuchmail.org>\r
27 Subject: [PATCH 2/6] Integrate notmuch-maildir-fcc into notmuch\r
28 Date: Thu, 22 Apr 2010 11:07:27 +0200\r
29 Message-Id: <1271927251-19867-3-git-send-email-Sebastian@SSpaeth.de>\r
30 X-Mailer: git-send-email 1.7.0.4\r
31 In-Reply-To: <87ochbx3er.fsf@SSpaeth.de>\r
32 References: <87ochbx3er.fsf@SSpaeth.de>\r
33 X-BeenThere: notmuch@notmuchmail.org\r
34 X-Mailman-Version: 2.1.13\r
35 Precedence: list\r
36 List-Id: "Use and development of the notmuch mail system."\r
37         <notmuch.notmuchmail.org>\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
39         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
41 List-Post: <mailto:notmuch@notmuchmail.org>\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
45 X-List-Received-Date: Thu, 22 Apr 2010 09:08:00 -0000\r
46 \r
47 Require notmuch-maildir-fcc and also install it.\r
48 \r
49 Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
50 ---\r
51  emacs/Makefile.local         |    3 ++-\r
52  emacs/notmuch-maildir-fcc.el |    4 +++-\r
53  emacs/notmuch.el             |    1 +\r
54  3 files changed, 6 insertions(+), 2 deletions(-)\r
55 \r
56 diff --git a/emacs/Makefile.local b/emacs/Makefile.local\r
57 index f759c0d..c80e0e3 100644\r
58 --- a/emacs/Makefile.local\r
59 +++ b/emacs/Makefile.local\r
60 @@ -6,7 +6,8 @@ emacs_sources := \\r
61         $(dir)/notmuch.el \\r
62         $(dir)/notmuch-query.el \\r
63         $(dir)/notmuch-show.el \\r
64 -       $(dir)/notmuch-wash.el\r
65 +       $(dir)/notmuch-wash.el \\r
66 +       $(dir)/notmuch-maildir-fcc.el\r
67  \r
68  emacs_bytecode := $(subst .el,.elc,$(emacs_sources))\r
69  \r
70 diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el\r
71 index e7fddf1..f18ccc8 100644\r
72 --- a/emacs/notmuch-maildir-fcc.el\r
73 +++ b/emacs/notmuch-maildir-fcc.el\r
74 @@ -112,4 +112,6 @@ return t if successful, and nil otherwise."\r
75                      (file-already-exists\r
76                       (throw 'link-error nil))))))\r
77           (delete-file (concat destdir "/tmp/" msg-id))))\r
78 -      t)))\r
79 \ No newline at end of file\r
80 +      t)))\r
81 +\r
82 +(provide 'notmuch-maildir-fcc)\r
83 diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
84 index 57b7fcf..02760b4 100644\r
85 --- a/emacs/notmuch.el\r
86 +++ b/emacs/notmuch.el\r
87 @@ -53,6 +53,7 @@\r
88  \r
89  (require 'notmuch-lib)\r
90  (require 'notmuch-show)\r
91 +(require 'notmuch-maildir-fcc)\r
92  \r
93  (defcustom notmuch-search-authors-width 20\r
94    "Number of columns to use to display authors in a notmuch-search buffer."\r
95 -- \r
96 1.7.0.4\r
97 \r