Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / 37 / df5c405b31777b87e5dc21c116736f993845cd
1 Return-Path: <daniel@schoepe.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 5E391431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 21 Oct 2011 13:51:02 -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.79\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.79 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id UTPnh0VFBKJV for <notmuch@notmuchmail.org>;\r
17         Fri, 21 Oct 2011 13:51:01 -0700 (PDT)\r
18 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
19         [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id D0EAB431FB6\r
22         for <notmuch@notmuchmail.org>; Fri, 21 Oct 2011 13:51:00 -0700 (PDT)\r
23 Received: by eyx24 with SMTP id 24so5401609eyx.26\r
24         for <notmuch@notmuchmail.org>; Fri, 21 Oct 2011 13:50:58 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
26         h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
27         :mime-version:content-type;\r
28         bh=ZwbKE+/fTUypzyDML1wnoUoQAdjtJhxJkEkGBUdBhyk=;\r
29         b=Eq9FoiTaV4zgSw9rMVd5O02/uHhhiTDbScdsmBOfbjaLtlOVY0+EnqhDfhvK2D08EG\r
30         5Q0Hks9BFDYTmyUV9whNDAvyhWGvCxhhi1NvffJIbOHv9K1AUnQ3X7JCOp+YpnY2S09T\r
31         mZvH+028ZyIVZNNtgzYrBjzJ7B+e0OlWdBMtk=\r
32 Received: by 10.223.76.24 with SMTP id a24mr17416746fak.31.1319230258162;\r
33         Fri, 21 Oct 2011 13:50:58 -0700 (PDT)\r
34 Received: from localhost (dslb-188-107-195-138.pools.arcor-ip.net.\r
35         [188.107.195.138])\r
36         by mx.google.com with ESMTPS id q11sm24174765fad.20.2011.10.21.13.50.55\r
37         (version=TLSv1/SSLv3 cipher=OTHER);\r
38         Fri, 21 Oct 2011 13:50:56 -0700 (PDT)\r
39 From: Daniel Schoepe <daniel@schoepe.org>\r
40 To: James Vasile <james@hackervisions.org>, notmuch@notmuchmail.org\r
41 Subject: Re: [notmuch] [PATCH] Calls to notmuch get queued and executed\r
42         asynchronously.\r
43 In-Reply-To: <87vddnlxos.wl%james@hackervisions.org>\r
44 References: <87vddnlxos.wl%james@hackervisions.org>\r
45 User-Agent: Notmuch/0.9-19-ga25c9a0 (http://notmuchmail.org) Emacs/23.3.1\r
46         (x86_64-pc-linux-gnu)\r
47 Date: Fri, 21 Oct 2011 22:50:48 +0200\r
48 Message-ID: <87wrbykr13.fsf@gilead.invalid>\r
49 MIME-Version: 1.0\r
50 Content-Type: multipart/signed; boundary="=-=-=";\r
51         micalg=pgp-sha1; protocol="application/pgp-signature"\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Fri, 21 Oct 2011 20:51:02 -0000\r
65 \r
66 --=-=-=\r
67 \r
68 On Tue, 23 Feb 2010 11:32:51 -0500, James Vasile <james@hackervisions.org> wrote:\r
69 > Added notmuch-enqueue-asynch to replace calls to\r
70 > notmuch-call-notmuch-process.  Calls to notmuch are then queued and\r
71 > executed asynchronously.  If the db is busy and we get an error saying\r
72 > it was locked, keep trying until the db is no longer busy.  Errors go\r
73 > in a buffer as per usual.\r
74 \r
75 I discovered this patch a while ago and it almost applies cleanly (the\r
76 conflicts are easy to fix though) and it has made the emacs UI for\r
77 notmuch _much_ more responsive and enjoyable for me. As discussed on\r
78 IRC, issues such as where to handle retries in case the database is\r
79 locked should probably be handled in the notmuch binary instead of each\r
80 UI.\r
81 \r
82 I am however unaware of any patches to accomplish that and with the pace\r
83 of development / patch reviews the way it is at the moment, this patch\r
84 is a really helpful stop-gap (performing calls to notmuch asynchronously\r
85 is useful independently of where concurrency issues are handled though)\r
86 for me. If someone else agrees, I can fix the conflicts for this patch\r
87 and send the revised version to the list.\r
88 \r
89 Cheers,\r
90 Daniel\r
91 \r
92 --=-=-=\r
93 Content-Type: application/pgp-signature\r
94 \r
95 -----BEGIN PGP SIGNATURE-----\r
96 Version: GnuPG v1.4.11 (GNU/Linux)\r
97 \r
98 iQIcBAEBAgAGBQJOodsoAAoJEIaTAtce+Z+JfcUQAKRAClcxOAvAU3c2tEGNXNwf\r
99 DRvbttxYt+YtoGaBNwoyNRfHjg0elwGSVGd860ApbL4LC0coYADGOd0o41uXHLgJ\r
100 Zx0S/7MYwVZ+bh+0mlZ67wIGvvF9rqEkUmjoOCrAGIneBuSstLFTEsOVUL9+4rLX\r
101 qPGhhs6uTr0WWUHoSJwTlKeB8UruUORdTySyiMnjnRgUmkLrPEa1CIDatFAl/rSv\r
102 +CQZd1nZv7brZKrgPlJotb5S8bkHsceFmg699XwnvaEGegyuDvl8Etx6wjypVOZg\r
103 wTPysTZqmAn66P1Stpfdk8A0W+zXxRh2m7VcGi6rRtWKjaxEvtuxDCrxxR6HQFal\r
104 6mkda6hRVCIGxf7CFeL5Qnjh9HFjO+2oMQcYZfsLikmZ9ymN41CB+W2Yd36LB8LY\r
105 1b2wxKTMjmT3iXfmQOxfuJkeXr9zvGk/UuxEhxt+P4nePLU3oDGYhpHeoaY5Ih0G\r
106 6yFxzgh91lE/VEvJga4Jt/O6Po0j3eJ9jgvsmk4oyZT8rfW7HlYv5cBQIcfI2urq\r
107 jfIypf8H5BCp3zEYdiC43KELmd7tGlaUz36Zo6inIBukA5DiOJLbcMTB48taSVQ0\r
108 6dv9ntdIjNBrP1wmoEFCyoQVCE3mkGoN2ReBeh5ElfkebWO/nFQ04eblCTTQOtrf\r
109 MEBp78DNobSEFos4fkfl\r
110 =1ogW\r
111 -----END PGP SIGNATURE-----\r
112 --=-=-=--\r