Re: [PATCH] emacs: remove hardcoded defaults values from docstrings
[notmuch-archives.git] / ff / 623725ef973c8cba85c85dd2e6c519fe9c90fc
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 09E4E431FD0\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Apr 2012 05:08:51 -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 f+OjZTbtPLO0 for <notmuch@notmuchmail.org>;\r
16         Sun, 22 Apr 2012 05:08:50 -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 4010A431FDE\r
21         for <notmuch@notmuchmail.org>; Sun, 22 Apr 2012 05:08:50 -0700 (PDT)\r
22 Received: from mail.jade-hamburg.de (mail.jade-hamburg.de [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 96A4E5836F8\r
26         for <notmuch@notmuchmail.org>; Sun, 22 Apr 2012 14:08:48 +0200 (CEST)\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)\r
28         id E2F37DF2A1; Sun, 22 Apr 2012 14:08:47 +0200 (CEST)\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 DE440DF2A4;\r
33         Sun, 22 Apr 2012 14:08:28 +0200 (CEST)\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 1SLvad-0007B3-4j; Sun, 22 Apr 2012 14:08:27 +0200\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: Sun, 22 Apr 2012 14:07:55 +0200\r
42 Message-Id:\r
43  <1335096477-27537-5-git-send-email-4winter@informatik.uni-hamburg.de>\r
44 X-Mailer: git-send-email 1.7.10\r
45 In-Reply-To:\r
46  <1335096477-27537-1-git-send-email-4winter@informatik.uni-hamburg.de>\r
47 References: <20120422120620.26225.40778@thinkbox.jade-hamburg.de>\r
48         <1335096477-27537-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: Sun, 22 Apr 2012 12:08:51 -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 file 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.10\r
94 \r