[PATCH 6/9] CLI: refactor dumping of tags.
[notmuch-archives.git] / ca / f21fb0732121a0ddf68f9e7e4668a7374b09fe
1 Return-Path: <eirik@eirikba.org>\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 5542E431FAF\r
6         for <notmuch@notmuchmail.org>; Sat,  3 Nov 2012 03:17:21 -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 qiL-0Y+UrM9h for <notmuch@notmuchmail.org>;\r
16         Sat,  3 Nov 2012 03:17:20 -0700 (PDT)\r
17 Received: from atmail.labs2.com (atmail.labs2.com [93.182.166.49])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id C310A431FAE\r
21         for <notmuch@notmuchmail.org>; Sat,  3 Nov 2012 03:17:20 -0700 (PDT)\r
22 Received: from [178.74.1.248] (helo=star.eba)\r
23         by atmail.labs2.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77)\r
24         (envelope-from <eirik@eirikba.org>) id 1TUamw-00039j-8i\r
25         for notmuch@notmuchmail.org; Sat, 03 Nov 2012 11:17:14 +0100\r
26 Received: from eirik by star.eba with local (Exim 4.80)\r
27         (envelope-from <eirik@eirikba.org>) id 1TUan0-00062s-48\r
28         for notmuch@notmuchmail.org; Sat, 03 Nov 2012 11:17:18 +0100\r
29 From: Eirik Byrkjeflot Anonsen <eirik@eirikba.org>\r
30 To: notmuch@notmuchmail.org\r
31 Subject: Automatic suppression of non-duplicate messages\r
32 Date: Sat, 03 Nov 2012 11:17:18 +0100\r
33 Message-ID: <87mwyz3s9d.fsf@star.eba>\r
34 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain; charset=us-ascii\r
37 X-ACL-Warn: Authenticated as:  Sent as: eirik@eirikba.org\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sat, 03 Nov 2012 10:17:21 -0000\r
51 \r
52 As has been mentioned a few times before, notmuch chooses to silently\r
53 drop any message that has the same message-id as an already-seen\r
54 message.\r
55 \r
56 In another thread, Austin Clements said:\r
57 \r
58 > notmuch tracks all copies of a message, but its output generally shows\r
59 > messages, rather than files, so you see a message only once regardless\r
60 > of how many copies there are in the file system.\r
61 \r
62 That's not what I see.  If I search for a term that only appears in one\r
63 of the "copies", none of the copies are included in the search result.\r
64 \r
65 This is with:\r
66 $ dpkg -l | grep notmuch | <remove uninteresting stuff>\r
67 ii  libnotmuch3                                    0.13.2-1\r
68 ii  notmuch                                        0.13.2-1\r
69 ii  notmuch-emacs                                  0.13.2-1\r
70 \r
71 \r
72 However, I still find it a much bigger problem that notmuch will\r
73 silently and automatically discard new mail without letting me know that\r
74 they exist, let alone allow me to read them.  (I.e. when receiving a new\r
75 mail that happens to have the same message-id as a previously received\r
76 mail.)\r
77 \r
78 Personally, I find almost no cost in seeing all near-duplicates of the\r
79 same message (a cost that could be further mitigated by clever\r
80 presentation).  Conversely, I find a huge cost in never seeing some\r
81 messages at all.\r
82 \r
83 This is currently the main issue that keeps me from switching to\r
84 notmuch.  (Importing my mail into notmuch dropped roughly 6800 mails.\r
85 I'm sure most of these mails are near-duplicates, but I've found 34\r
86 mails so far that are emphatically not.)\r
87 \r
88 I think it is a nice and useful design to use the message-id as the\r
89 unique id to refer to a specific message.  Most of the time, this will\r
90 work just fine.  However, it is less useful to blindly trust that this\r
91 will always work correctly.\r
92 \r
93 eirik\r