[PATCH v4 6/7] On deletion, replace with ghost when other active messages in thread
[notmuch-archives.git] / 2e / 819071b90ebca86dc2d283d7709411f40b9cc7
1 Return-Path: <notmuch@bontempi.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 AD73A429E25\r
6         for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 11:10:04 -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.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12         tests=[UNPARSEABLE_RELAY=0.001] 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 VXn5+jHjtRfC for <notmuch@notmuchmail.org>;\r
16         Sat, 29 Oct 2011 11:10:04 -0700 (PDT)\r
17 X-Greylist: delayed 3615 seconds by postgrey-1.32 at olra;\r
18         Sat, 29 Oct 2011 11:10:04 PDT\r
19 Received: from mail.forumcivico.org (mail.forumcivico.org [208.116.44.169])\r
20         by olra.theworths.org (Postfix) with ESMTP id 1E3D6431FB6\r
21         for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 11:10:04 -0700 (PDT)\r
22 Received: from dummy.name; Sat, 29 Oct 2011 13:04:38 -0400\r
23 Content-Type: text/plain; charset=us-ascii\r
24 Subject: notmuch in Emacs very slow\r
25 Mime-Version: 1.0\r
26 From: notmuch@bontempi.net\r
27 X-Mailer: CommuniGate Pro WebUser v5.4.0\r
28 Content-Transfer-Encoding: quoted-printable\r
29 Message-Id: <A232351A-27CE-4B6A-B6A4-8EA79F8A460F@bontempi.net>\r
30 To: notmuch@notmuchmail.org\r
31 X-Mailman-Approved-At: Tue, 22 Nov 2011 08:49:56 -0800\r
32 X-BeenThere: notmuch@notmuchmail.org\r
33 X-Mailman-Version: 2.1.13\r
34 Precedence: list\r
35 List-Id: "Use and development of the notmuch mail system."\r
36         <notmuch.notmuchmail.org>\r
37 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
38         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
40 List-Post: <mailto:notmuch@notmuchmail.org>\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
42 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
44 Date: Sat, 29 Oct 2011 18:10:04 -0000\r
45 X-Original-Date: Sat, 29 Oct 2011 19:09:32 +0200\r
46 X-List-Received-Date: Sat, 29 Oct 2011 18:10:04 -0000\r
47 \r
48 Hello,\r
49 \r
50 I would like to report my experience with notmuch (newbie here).\r
51 \r
52 I absolutely love it. I would like very much to continue using it, but I =\r
53 am having a speed issue from inside Emacs.\r
54 \r
55 I have installed notmuch 0.9, on OS X 10.6, using of course the chert =\r
56 database format. I am also using Emacs 24.0.90.1 on a quad-core Intel =\r
57 Core i7 (no SSD though).\r
58 \r
59 I started doing 'notmuch new' on a Maildir folder with about 30000 =\r
60 messages (about one fourth of my archive).\r
61 \r
62 At beginning notmuch was indexing about 200 msgs/sec. The more it =\r
63 indexed, the slower it became. After about 20000 msgs it slowed down to =\r
64 70 msgs/sec. I am not sure if that is a behaviour due to Xapian.\r
65 \r
66 Anyway, after it finished that first part, starting notmuch from inside =\r
67 emacs, it says:\r
68 \r
69 "Welcome to notmuch. You have 34,366 messages."\r
70 \r
71 Once I start browsing the inbox (34,208), Emacs displays the initial =\r
72 screenful, but the whole list takes quite a while to load, about 50 =\r
73 seconds. After that time, in the status bar I see "Top of 1.1M".\r
74 \r
75 That happens every time I am browsing the inbox, in order to assign =\r
76 proper tags.\r
77 \r
78 The real issue for me, though, is that scrolling down the list has a =\r
79 noticeable delay, enough to make it basically unusable.\r
80 \r
81 Is there something I do not know that I should do to improve that speed =\r
82 (either from within Emacs, or in notmuch config file?\r
83 \r
84 I would be very grateful for any advice or pointer on how to speed up =\r
85 the notmuch experience.\r
86 \r
87 Thank you,\r
88 \r
89 Sam=\r