[Patch v5 6/8] lib: add private function to extract the database for a message.
[notmuch-archives.git] / 6c / bedc37f5544fa6bb250f9635c6a4ba5938a7f6
1 Return-Path: <dkg@fifthhorseman.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 olra.theworths.org (Postfix) with ESMTP id AEC27429E3B\r
6         for <notmuch@notmuchmail.org>; Sun,  3 Nov 2013 11:22:59 -0800 (PST)\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 gFdjc80uA2oW for <notmuch@notmuchmail.org>;\r
16         Sun,  3 Nov 2013 11:22:54 -0800 (PST)\r
17 Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
18         by olra.theworths.org (Postfix) with ESMTP id 3D639429E38\r
19         for <notmuch@notmuchmail.org>; Sun,  3 Nov 2013 11:22:54 -0800 (PST)\r
20 Received: from [192.168.42.101] (h-67-101-156-40.nycm.ny.dynamic.megapath.net\r
21         [67.101.156.40])\r
22         by che.mayfirst.org (Postfix) with ESMTPSA id 02325F986;\r
23         Sun,  3 Nov 2013 14:22:48 -0500 (EST)\r
24 Message-ID: <5276A289.3070605@fifthhorseman.net>\r
25 Date: Sun, 03 Nov 2013 14:22:49 -0500\r
26 From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
27 User-Agent: Mozilla/5.0 (X11; Linux x86_64;\r
28         rv:24.0) Gecko/20100101 Icedove/24.0\r
29 MIME-Version: 1.0\r
30 To: Felipe Contreras <felipe.contreras@gmail.com>, \r
31  notmuch@notmuchmail.org\r
32 Subject: Re: Getting the right root mail of the thread\r
33 References: <5274f93e254b5_6de7f51e7849@nysa.notmuch>\r
34 In-Reply-To: <5274f93e254b5_6de7f51e7849@nysa.notmuch>\r
35 Content-Type: text/plain; charset=UTF-8; format=flowed\r
36 Content-Transfer-Encoding: 7bit\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sun, 03 Nov 2013 19:22:59 -0000\r
50 \r
51 On 11/02/2013 09:08 AM, Felipe Contreras wrote:\r
52 > Either way this doesn't make any sense to me. Each thread has a single origin\r
53 > mail, why would anybody would like to show a message other than that while\r
54 > displaying the summary of the tread? Even more, why isn't there an option to\r
55 > fetch that information easily?\r
56 \r
57 It's entirely possible to make a message that has a References: header \r
58 that includes message IDs from two different threads.  For a message \r
59 like this, there is not a single "origin mail", right?  For threads that \r
60 derive from this message, the whole thread has more than one origin.\r
61 \r
62         --dkg\r