[PATCH v4 6/7] On deletion, replace with ghost when other active messages in thread
[notmuch-archives.git] / 2e / d4fc843faebb2a659e7ecc8a43cdd147b52170
1 Return-Path: <vasile@softwarefreedom.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 66E08429E27\r
6         for <notmuch@notmuchmail.org>; Sat, 20 Aug 2011 05:39:46 -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\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 0LaPWZaK5ahm for <notmuch@notmuchmail.org>;\r
16         Sat, 20 Aug 2011 05:39:45 -0700 (PDT)\r
17 Received: from mail.sflc.info (mail.sflc.info [216.27.154.199])\r
18         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id CEA2A431FD0\r
21         for <notmuch@notmuchmail.org>; Sat, 20 Aug 2011 05:39:45 -0700 (PDT)\r
22 Received: from localhost (ool-4572d87b.dyn.optonline.net [69.114.216.123])\r
23         by mail.sflc.info (Postfix) with ESMTPSA id 39742B4C07B;\r
24         Sat, 20 Aug 2011 12:39:30 +0000 (UTC)\r
25 From: James Vasile <james@hackervisions.org>\r
26 To: Patrick Totzke <patricktotzke@googlemail.com>, notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH] Added --initial-index and --last-index to search/show\r
28 In-Reply-To: <4e4f98b9.0806e30a.0505.ffffbdb3@mx.google.com>\r
29 References: <8739gyw0zh.fsf@opensourcematters.org>\r
30         <87sjoxxmcw.fsf@servo.factory.finestructure.net>\r
31         <87hb5duraz.fsf@freedomboxfoundation.org>\r
32         <4e4f98b9.0806e30a.0505.ffffbdb3@mx.google.com>\r
33 User-Agent: Notmuch/0.6.1-213-ge89ce87 (http://notmuchmail.org) Emacs/23.3.1\r
34         (x86_64-pc-linux-gnu)\r
35 Date: Sat, 20 Aug 2011 08:39:42 -0400\r
36 Message-ID: <87ty9ctfxt.fsf@softwarefreedom.org>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain; charset=us-ascii\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sat, 20 Aug 2011 12:39:46 -0000\r
52 \r
53 On Sat, 20 Aug 2011 12:21:26 +0100, Patrick Totzke <patricktotzke@googlemail.com> wrote:\r
54 Non-text part: multipart/mixed\r
55\r
56\r
57 > Hi!\r
58 > A very good idea indeed! This could become quite handy speeding up my interface.\r
59 > One question: What do you (intend to) do to ensure that accumulated results\r
60 > 'add up well'? \r
61 \r
62 I intend to do nothing.  It's up to the interface to handle this, if it\r
63 needs handling at all.\r
64 \r
65 > Consider the following: you query some 10 threads, the user tags one of them\r
66 > so that it doesn't macht anymore and afterwards you list the next 100 threads.\r
67 > After the tagging, the number of hits decreases, so if you query\r
68 > from hit number 101 to 200, you will not return the 100th (now 99th)\r
69 > thread at all.\r
70 \r
71 The interface could keep track of threads deleted/untagged and adjust\r
72 accordingly.\r
73 \r
74 Or I suppose one could also implement --initial-msgid, --last-msgid,\r
75 --num-threads, etc.  Set --initial-msgid to the last message in your\r
76 current view.  Set --num-threads to 100.  That should do it.\r
77 \r
78\r
79 > Ok, one could always list all threads up to the one one is interested in but that\r
80 > would make refreshing the list slower and slower when you keep\r
81 > scrolling down..\r
82 \r
83 Personally, I think users should be discouraged from scrolling and\r
84 scrolling.  Notmuch is a *search* tool.  If the mail you want isn't in\r
85 the first page or so, you're using the tool wrong.  \r
86 \r
87 -J\r