Re: [PATCH v2] Omit User-Agent: header by default
[notmuch-archives.git] / 08 / a433cfb81f2e780551d27a22855fba23e5d9e5
1 Return-Path: <david@tethera.net>\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 3D4896DE1890\r
6  for <notmuch@notmuchmail.org>; Sun, 13 Mar 2016 05:37:49 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.031\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.031 tagged_above=-999 required=5\r
12  tests=[AWL=-0.020, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id Hu-HHXfKGqeT for <notmuch@notmuchmail.org>;\r
17  Sun, 13 Mar 2016 05:37:47 -0700 (PDT)\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 343B66DE188C\r
20  for <notmuch@notmuchmail.org>; Sun, 13 Mar 2016 05:37:47 -0700 (PDT)\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
22  (envelope-from <david@tethera.net>)\r
23  id 1af5Hn-0005hY-Fb; Sun, 13 Mar 2016 08:38:19 -0400\r
24 Received: (nullmailer pid 16606 invoked by uid 1000);\r
25  Sun, 13 Mar 2016 12:37:40 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: patricktotzke@gmail.com\r
28 Cc: notmuch@notmuchmail.org\r
29 Subject: Re: [PATCH] use notmuch_database_open_verbose\r
30 In-Reply-To:\r
31  <CAM7JpKmVzZYZ8bpjc5qzWvBedKx4GT-y+EKWS1KQgZJ_LamKNw@mail.gmail.com>\r
32 References: <1457795857-12410-1-git-send-email-patricktotzke@gmail.com>\r
33  <87r3ff64sa.fsf@zancas.localnet> <87oaaj64gh.fsf@zancas.localnet>\r
34  <CAM7JpKmVzZYZ8bpjc5qzWvBedKx4GT-y+EKWS1KQgZJ_LamKNw@mail.gmail.com>\r
35 User-Agent: Notmuch/0.21+74~g6c60fb1 (http://notmuchmail.org) Emacs/24.5.1\r
36  (x86_64-pc-linux-gnu)\r
37 Date: Sun, 13 Mar 2016 09:37:40 -0300\r
38 Message-ID: <87lh5m5zaj.fsf@zancas.localnet>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.20\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45  <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
47  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
52  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Sun, 13 Mar 2016 12:37:49 -0000\r
54 \r
55 Patrick Totzke <patricktotzke@gmail.com> writes:\r
56 \r
57 > As far as I understand the bindings, the returned message is not needed\r
58 > because the return\r
59 > value of `Database._open` (line 212) contains information about the type of\r
60 > error that occurred.\r
61 > This is passed on two lines below if the open-call was unsuccessful.\r
62 >\r
63 > The docstrings for this method are not ideal (the mentioned "status"\r
64 > parameter is actually called "mode") but in terms of functionality it seems\r
65 > ok.\r
66 \r
67 The error_message parameter (potentially) contains additional\r
68 information about an error. In any case, you're passing one too few\r
69 arguments to n_d_open_verbose, which doesn't seem like a good idea.\r
70 \r
71 d\r