Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 89 / add0d068074b29979a4ab5e4d16ab9f76a5c9b
1 Return-Path: <patricktotzke@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 arlo.cworth.org (Postfix) with ESMTP id B378F6DE1861\r
6  for <notmuch@notmuchmail.org>; Sat, 12 Mar 2016 07:17:46 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.82\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.82 tagged_above=-999 required=5\r
12  tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13  FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
14  RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled\r
15 Received: from arlo.cworth.org ([127.0.0.1])\r
16  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
17  with ESMTP id 8RBYAJ6bdCdr for <notmuch@notmuchmail.org>;\r
18  Sat, 12 Mar 2016 07:17:45 -0800 (PST)\r
19 Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com\r
20  [74.125.82.51]) by arlo.cworth.org (Postfix) with ESMTPS id 9BCC36DE185F for\r
21  <notmuch@notmuchmail.org>; Sat, 12 Mar 2016 07:17:44 -0800 (PST)\r
22 Received: by mail-wm0-f51.google.com with SMTP id p65so51511857wmp.0\r
23  for <notmuch@notmuchmail.org>; Sat, 12 Mar 2016 07:17:44 -0800 (PST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
25  h=from:to:cc:subject:date:message-id;\r
26  bh=1ZtyQndaBRc8UEDeObdKZhTMaEs8/GWaaoSyX/535F0=;\r
27  b=Mm556gkU4/CQuCTEBWl6l3U8KUkyrEOv10Fw/AhvklDDNy2S2pb2V9DqzRHFFoSHpi\r
28  X4rf5+kpiTqr3M18wxiCyWcqnkZtfWZqXXWkVqzgStm2HmCT6viurC1gicxYeMLRNo4G\r
29  nBTBynfDGf0eFsV45f/+XXmgQ8OnpVO2AiPolwQ+8WUfdWaA8SMhAgcqonWhfWMjUMEv\r
30  XS4oM8t3P0o5KdmdPlhC8BLc2OO+3zs7fw5jaOtE/9FGTqwllnReQOKr7pQiAQmRaJsV\r
31  divY81zCddLm7VByoqK/Gf9YB4KAJUB390KsLsScxwyBBSIj0/Lg8yDqB9GNvdY3eEDE\r
32  F3nw==\r
33 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
34  d=1e100.net; s=20130820;\r
35  h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
36  bh=1ZtyQndaBRc8UEDeObdKZhTMaEs8/GWaaoSyX/535F0=;\r
37  b=EkiDrINjoeC92ZNAovBa0BwyFO9g9EuV8r+G+Sy5YH/P2i06lzpY5IuYOfr+r+CHHA\r
38  hPMU2qqm4m7GKTN28BZ4B1aO8qsbdmF0BCS29UvmKL4KquBoWFS/dUxtw7O1tQzOHAYO\r
39  QHoR01i5ayzOrzSpzWuo6r+GmAIMPnndnJIHa94HoNXpr2S3nfxep3U7FMmldzwUlwtU\r
40  AYY385h9pLbbdVrx/KUvJVFmNsf1bjc9Lt+lAFRGrbQtkUyn2J8gOF651JAHvNN1OuDG\r
41  O3UrWooJ0YZ6BQy2H9QKLaUF/DEejkTc6aAKrt219TIO80k1eTfpOwQSj4XO5fsgaFBX\r
42  xVZw==\r
43 X-Gm-Message-State:\r
44  AD7BkJLONLEmORvi+iNL8MiQsnDt+ee1M5c68tW6V4gvHVj2ZXDNuQ/gRwthXolXuksCLg==\r
45 X-Received: by 10.194.184.139 with SMTP id\r
46  eu11mr17589762wjc.169.1457795863108;  Sat, 12 Mar 2016 07:17:43 -0800 (PST)\r
47 Received: from localhost ([194.66.248.108])\r
48  by smtp.gmail.com with ESMTPSA id m6sm13585855wje.21.2016.03.12.07.17.40\r
49  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
50  Sat, 12 Mar 2016 07:17:40 -0800 (PST)\r
51 From: Patrick Totzke <patricktotzke@gmail.com>\r
52 To: notmuch@notmuchmail.org\r
53 Subject: [PATCH] use notmuch_database_open_verbose\r
54 Date: Sat, 12 Mar 2016 15:17:37 +0000\r
55 Message-Id: <1457795857-12410-1-git-send-email-patricktotzke@gmail.com>\r
56 X-Mailer: git-send-email 2.7.0\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.20\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61  <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
63  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
68  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Sat, 12 Mar 2016 15:17:46 -0000\r
70 \r
71 ... instead of the deprecated notmuch_database_open\r
72 when opening the database in notmuch.database.Database.open.\r
73 This prevents the library to print Xapian exceptions to stderr.\r
74 ---\r
75  bindings/python/notmuch/database.py | 6 +++---\r
76  1 file changed, 3 insertions(+), 3 deletions(-)\r
77 \r
78 diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py\r
79 index f304533..5400338 100644\r
80 --- a/bindings/python/notmuch/database.py\r
81 +++ b/bindings/python/notmuch/database.py\r
82 @@ -86,8 +86,8 @@ class Database(object):\r
83      _get_version.argtypes = [NotmuchDatabaseP]\r
84      _get_version.restype = c_uint\r
85  \r
86 -    """notmuch_database_open"""\r
87 -    _open = nmlib.notmuch_database_open\r
88 +    """notmuch_database_open_verbose"""\r
89 +    _open = nmlib.notmuch_database_open_verbose\r
90      _open.argtypes = [c_char_p, c_uint, POINTER(NotmuchDatabaseP)]\r
91      _open.restype = c_uint\r
92  \r
93 @@ -201,7 +201,7 @@ class Database(object):\r
94  \r
95          This function is used by __init__() and usually does not need\r
96          to be called directly. It wraps the underlying\r
97 -        *notmuch_database_open* function.\r
98 +        *notmuch_database_open_verbose* function.\r
99  \r
100          :param status: Open the database in read-only or read-write mode\r
101          :type status:  :attr:`MODE`\r
102 -- \r
103 2.7.0\r
104 \r