[PATCH 2/2] Add notmuch_database_reopen method
[notmuch-archives.git] / 17 / dcb96800bf4edf91804d560e6fb17d847db72d
1 Return-Path: <awg@xvx.ca>\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 5D3F7431FB6\r
6         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 10:27:56 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 y-JIuGqOXiO3 for <notmuch@notmuchmail.org>;\r
16         Wed, 18 Apr 2012 10:27:52 -0700 (PDT)\r
17 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
18         [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 222A5431FAE\r
21         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 10:27:51 -0700 (PDT)\r
22 Received: by lahc1 with SMTP id c1so6030630lah.26\r
23         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 10:27:50 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=mime-version:sender:x-originating-ip:in-reply-to:references:date\r
27         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
28         :x-gm-message-state;\r
29         bh=5UKZTVFxrA5JUexhY/ghtSxumeXXKwCqhtfZkbPyl9Q=;\r
30         b=Empld8ZbuHnGCa+O2O6CoDuRjSuEo0UjbM5MNZzNrBj/H4bIgXRaj0xIVu7CT9RMhQ\r
31         cqBXeKRiC5go3ViSmvwvhhHnZY5xnax/09X03GjspjKIG2ZYoXdwsmmLn6011Vomk1NJ\r
32         TeBJCuBAJbEBs4VZrcPjYm46sY7mMoGvFRUkvxxGMoe77ngIJscbaFOUnW5mxOUUStUf\r
33         Wm58StNpfIInSWZybLIPR9NU8uoQHvT3ylcJApNmWJcwH46lv59JhlNuedXss76RdgSK\r
34         Oo6/8aTbZtLerCm8yo6sqhpp27O3xc7kvWWfzZxv/4YIZFd08o2eClep83wxWVgSQuJe\r
35         9t/g==\r
36 MIME-Version: 1.0\r
37 Received: by 10.152.129.137 with SMTP id nw9mr2891547lab.48.1334770070514;\r
38         Wed, 18 Apr 2012 10:27:50 -0700 (PDT)\r
39 Sender: awg@xvx.ca\r
40 Received: by 10.112.23.39 with HTTP; Wed, 18 Apr 2012 10:27:50 -0700 (PDT)\r
41 X-Originating-IP: [128.221.197.57]\r
42 In-Reply-To: <87zka9b2zl.fsf@nikula.org>\r
43 References: <1334752753-23970-1-git-send-email-felipe.contreras@gmail.com>\r
44         <1334752753-23970-3-git-send-email-felipe.contreras@gmail.com>\r
45         <87zka9b2zl.fsf@nikula.org>\r
46 Date: Wed, 18 Apr 2012 11:27:50 -0600\r
47 X-Google-Sender-Auth: HOAc3JhsmjFtQXXv_GnbGVBVbrM\r
48 Message-ID:\r
49  <CAMoJFUvcd+-b6VR7Mg3qfccZ1TUy3puMb12gAyaqJ0fyVV4uMg@mail.gmail.com>\r
50 Subject: Re: [PATCH v2 2/3] reply: add message-id header\r
51 From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
52 To: Jani Nikula <jani@nikula.org>\r
53 Content-Type: text/plain; charset=ISO-8859-1\r
54 X-Gm-Message-State:\r
55  ALoCoQk70iM5wlrLmilJo38gh3siahojd62Q1lMZ7cmPIL2BmH4Xlu99qLTu5eQiG/kPd0he9LYV\r
56 Cc: notmuch@notmuchmail.org\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\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: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Wed, 18 Apr 2012 17:27:56 -0000\r
70 \r
71 On Wed, Apr 18, 2012 at 07:09, Jani Nikula <jani@nikula.org> wrote:\r
72 > I do wonder whether the emacs ui / message mode will add a duplicate\r
73 > message-id rather than override this.\r
74 \r
75 I think the emacs reply code will replace Message-ID and User-Agent\r
76 headers correctly, as it does with the From header when selecting a\r
77 different identity within emacs. But, this should be tested.\r
78 \r
79 Ideally, the emacs tests should catch any problems here. As things are\r
80 right now, I think we would catch problems with the User-Agent header\r
81 in the reply tests: the tests replace the emacs and notmuch versions\r
82 with XXX but otherwise leave the header intact, so it should differ\r
83 from the one generated by notmuch compose.\r
84 \r
85 The Message-ID is trickier, since in emacs it's generated when the\r
86 message is sent, not when the message is created, and thus the reply\r
87 tests don't see it at all. The "Sending a message via (fake) SMTP"\r
88 test could potentially catch problems, but currently the tests don't\r
89 try to predict the Message-ID emacs will give the message, so they\r
90 replace it with XXX.\r
91 \r
92 -- Adam\r