[PATCH] VIM: Add better attachment support
[notmuch-archives.git] / 33 / bc4adad43f6ff59f91a5521a96c411b0d92752
1 Return-Path: <teythoon@jade-hamburg.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 722DC429E26\r
6         for <notmuch@notmuchmail.org>; Tue, 20 Mar 2012 17:55:44 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 xvRUjBvddo7H for <notmuch@notmuchmail.org>;\r
16         Tue, 20 Mar 2012 17:55:43 -0700 (PDT)\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 1B606431FD2\r
21         for <notmuch@notmuchmail.org>; Tue, 20 Mar 2012 17:55:41 -0700 (PDT)\r
22 Received: from mail.jade-hamburg.de (unknown [85.183.11.228])\r
23         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
24         (No client certificate requested)\r
25         by mail.cryptobitch.de (Postfix) with ESMTPSA id 80A0957678F\r
26         for <notmuch@notmuchmail.org>; Wed, 21 Mar 2012 01:55:39 +0100 (CET)\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)\r
28         id D2C11DF2A3; Wed, 21 Mar 2012 01:55:38 +0100 (CET)\r
29 Received: from thinkbox.jade-hamburg.de (unknown [10.1.1.153])\r
30         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
31         (No client certificate requested) (Authenticated sender: teythoon)\r
32         by mail.jade-hamburg.de (Postfix) with ESMTPSA id 349A6DF2A5;\r
33         Wed, 21 Mar 2012 01:55:27 +0100 (CET)\r
34 Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77)\r
35         (envelope-from <teythoon@thinkbox.jade-hamburg.de>)\r
36         id 1SA9pl-0007vJ-94; Wed, 21 Mar 2012 01:55:25 +0100\r
37 From: Justus Winter <4winter@informatik.uni-hamburg.de>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 5/7] go: Use notmuch_database_destroy instead of\r
40         notmuch_database_close\r
41 Date: Wed, 21 Mar 2012 01:55:09 +0100\r
42 Message-Id:\r
43  <1332291311-28954-6-git-send-email-4winter@informatik.uni-hamburg.de>\r
44 X-Mailer: git-send-email 1.7.9.1\r
45 In-Reply-To:\r
46  <1332291311-28954-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
47 References:\r
48  <1332291311-28954-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Wed, 21 Mar 2012 00:55:44 -0000\r
62 \r
63 Adapt the go bindings to the notmuch_database_close split.\r
64 \r
65 Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>\r
66 ---\r
67  bindings/go/pkg/notmuch.go |    4 ++--\r
68  1 files changed, 2 insertions(+), 2 deletions(-)\r
69 \r
70 diff --git a/bindings/go/pkg/notmuch.go b/bindings/go/pkg/notmuch.go\r
71 index c6844ef..d32901d 100644\r
72 --- a/bindings/go/pkg/notmuch.go\r
73 +++ b/bindings/go/pkg/notmuch.go\r
74 @@ -114,7 +114,7 @@ func NewDatabase(path string) *Database {\r
75   * An existing notmuch database can be identified by the presence of a\r
76   * directory named ".notmuch" below 'path'.\r
77   *\r
78 - * The caller should call notmuch_database_close when finished with\r
79 + * The caller should call notmuch_database_destroy when finished with\r
80   * this database.\r
81   *\r
82   * In case of any failure, this function returns NULL, (after printing\r
83 @@ -140,7 +140,7 @@ func OpenDatabase(path string, mode DatabaseMode) *Database {\r
84  /* Close the given notmuch database, freeing all associated\r
85   * resources. See notmuch_database_open. */\r
86  func (self *Database) Close() {\r
87 -       C.notmuch_database_close(self.db)\r
88 +       C.notmuch_database_destroy(self.db)\r
89  }\r
90  \r
91  /* Return the database path of the given database.\r
92 -- \r
93 1.7.9.1\r
94 \r