Re: Problem with draft mails when using offlineimap
[notmuch-archives.git] / 30 / 77cb0c3bd7995ef6a876fc1a9400a9bf97fbc6
1 Return-Path: <five9a2@gmail.com>\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 2119B431FBC\r
6         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 10:35:14 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id u0MUF+HeMkTf for <notmuch@notmuchmail.org>;\r
11         Sat, 21 Nov 2009 10:35:13 -0800 (PST)\r
12 Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
13         [209.85.218.224])\r
14         by olra.theworths.org (Postfix) with ESMTP id 12978431FAE\r
15         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 10:35:12 -0800 (PST)\r
16 Received: by bwz24 with SMTP id 24so3081211bwz.30\r
17         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 10:35:12 -0800 (PST)\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
19         h=domainkey-signature:received:received:sender:from:to:subject:date\r
20         :message-id:mime-version:content-type;\r
21         bh=pQggxsiw0gSYgADZNBjgwIoJrzsYX7unlFbUgZscJkc=;\r
22         b=W+hkVaEusHH2aQ3PD6VtRqWMtc1xxXZ5xkAxfiVwctiVaJhg6pasgld+rYR0oBbTva\r
23         zQgVeaw5525jjNWj3AtAs/1kXVzFMYrlXSQ6rE+D3DSjAlESBTExvtXFkphi2/Ad9OyC\r
24         7OlvZOHyN0s6FBSkqLOI5aDA3yfMUfoJ5mcsI=\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
26         h=sender:from:to:subject:date:message-id:mime-version:content-type;\r
27         b=CcvvQMM+br2wb5mlYyxGj2kIhJx1ayqkit/SxkqpdkQ8DRLkAexXgb/L5NnPIleL+s\r
28         LYWMa+x9RE0k2CpWTd0ewa7FDjkgbP5vs7wIdLe8aZsLMx6zBmOku4kieq9/JQ+d8nce\r
29         RaLVH/7ZAylvWI7PSqBe4g/oCkV6uuMAte0eA=\r
30 Received: by 10.204.48.140 with SMTP id r12mr2783303bkf.112.1258828512071;\r
31         Sat, 21 Nov 2009 10:35:12 -0800 (PST)\r
32 Received: from kunyang (vawpc43.ethz.ch [129.132.59.11])\r
33         by mx.google.com with ESMTPS id z15sm3251230fkz.36.2009.11.21.10.35.10\r
34         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
35         Sat, 21 Nov 2009 10:35:11 -0800 (PST)\r
36 Sender: Jed Brown <five9a2@gmail.com>\r
37 From: Jed Brown <jed@59A2.org>\r
38 To: notmuch@notmuchmail.org\r
39 Date: Sat, 21 Nov 2009 19:35:39 +0100\r
40 Message-ID: <87fx87u3no.fsf@59A2.org>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 Subject: [notmuch] Asynchronous tagging\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.12\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Sat, 21 Nov 2009 18:35:14 -0000\r
57 \r
58 I'm really enjoying notmuch, thanks!  I have a minor issue and a couple\r
59 observations worth noting.\r
60 \r
61 1. Changing tags (like removing inbox/unread) has really high latency.\r
62 For example, notmuch-show-advance-marking-read-and-archiving takes 2 to\r
63 4 seconds (by comparison, this is as long as a vague search returning\r
64 1000+ threads).  I have about 100k messages in a maildir on\r
65 linux-2.6.31-6, ext4, xapian-1.0.17.  I tried switching to the\r
66 development version of xapian, but the notmuch configure didn't pick it\r
67 up (maybe it would still work though).  Is this a known issue?  Is it\r
68 worth making certain notmuch.el operations asynchronous to hide this\r
69 latency?\r
70 \r
71 2. I have 'notmuch new' in an offlineimap postsync hook, but\r
72 notmuch-search-refresh-view occasionally complains that another process\r
73 has the lock (since I might press '=' when 'notmuch new' is running).\r
74 Waiting a moment and trying again works fine, but it would be nice to\r
75 clean this up eventually.\r
76 \r
77 3. I had initially put 'notmuch new' in a cron job (instead of\r
78 offlineimap postsync hook) and new/search would sometimes complain about\r
79 missing files in the maildir.  The first time this happened, it did not\r
80 correct itself and I ended up reimporting the database (I had moved some\r
81 things around so I could have been at fault).  Since then I have seen\r
82 these errors on a couple occasions, but they always go away upon\r
83 rerunning 'notmuch new'.  My guess is that it has to do with offlineimap\r
84 changing flags so I moved 'notmuch new' to the postsync hook and have\r
85 not seen the errors since.  If it is important that notmuch never runs\r
86 concurrently with an offlineimap sync, it should eventually go in the\r
87 docs.\r
88 \r
89 \r
90 Thanks again,\r
91 \r
92 Jed\r