Re: Filesystem functionality used by notmuch
[notmuch-archives.git] / 50 / 28a2cb642454e2a417246f629a19473446915c
1 Return-Path: <sojkam1@fel.cvut.cz>\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 11659431FC2\r
6         for <notmuch@notmuchmail.org>; Mon, 26 May 2014 07:06:18 -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: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 9pbL4f9fGTvR for <notmuch@notmuchmail.org>;\r
16         Mon, 26 May 2014 07:06:10 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id 8D7B9431FBD\r
19         for <notmuch@notmuchmail.org>; Mon, 26 May 2014 07:06:10 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.7])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 6EB8F19F362F\r
22         for <notmuch@notmuchmail.org>; Mon, 26 May 2014 16:06:06 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP STYX AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new,\r
26         port 10044) with ESMTP id fs5nM68-toSY for <notmuch@notmuchmail.org>;\r
27         Mon, 26 May 2014 16:06:01 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id F097F19F3636\r
30         for <notmuch@notmuchmail.org>; Mon, 26 May 2014 16:06:01 +0200 (CEST)\r
31 Received: from wsh by steelpick.2x.cz with local (Exim 4.82)\r
32         (envelope-from <sojkam1@fel.cvut.cz>)\r
33         id 1WovXM-0008S5-0O; Mon, 26 May 2014 16:06:00 +0200\r
34 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
35 To: notmuch@notmuchmail.org\r
36 Subject: [PATCH 0/2] Improve message threading\r
37 Date: Mon, 26 May 2014 16:05:55 +0200\r
38 Message-Id: <1401113157-32454-1-git-send-email-sojkam1@fel.cvut.cz>\r
39 X-Mailer: git-send-email 2.0.0.rc2\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Mon, 26 May 2014 14:06:18 -0000\r
53 \r
54 Hi all,\r
55 \r
56 I noticed that in certain situations notmuch does not reconstruct\r
57 thread structure correctly. The fix was quite trivial - see the\r
58 patches.\r
59 \r
60 The patch fixes my problem, however, as I learnt from the thread\r
61 around id:87oazwjq1e.fsf@yoom.home.cworth.org, there are more problems\r
62 in this code. I think that my problem is orthogonal to what was\r
63 discussed there.\r
64 \r
65 The patch does not break any existing text (except two in\r
66 T460-emacs-tree.sh, which fail even with 0.18 on my system).\r
67 \r
68 Cheers,\r
69 -Michal\r
70 \r
71 Michal Sojka (2):\r
72   Add test for incorrect threading of messages\r
73   Make parsing of References and In-Reply-To header less error prone\r
74 \r
75  lib/database.cc             | 15 ++++++---------\r
76  test/T510-thread-replies.sh | 27 +++++++++++++++++++++++++++\r
77  2 files changed, 33 insertions(+), 9 deletions(-)\r
78 \r
79 -- \r
80 2.0.0.rc2\r
81 \r