Re: [notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.
authorEthan Glasser-Camp <ethan.glasser.camp@gmail.com>
Fri, 12 Oct 2012 02:21:44 +0000 (22:21 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:44 +0000 (09:49 -0800)
fa/9a10ec13c63167f40daf5e97c422ae3c8b48ef [new file with mode: 0644]

diff --git a/fa/9a10ec13c63167f40daf5e97c422ae3c8b48ef b/fa/9a10ec13c63167f40daf5e97c422ae3c8b48ef
new file mode 100644 (file)
index 0000000..1be1cc1
--- /dev/null
@@ -0,0 +1,89 @@
+Return-Path: <ethan.glasser.camp@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 6DD6A431FAF\r
+       for <notmuch@notmuchmail.org>; Thu, 11 Oct 2012 19:21:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id tR1x6J6Tuf+s for <notmuch@notmuchmail.org>;\r
+       Thu, 11 Oct 2012 19:21:51 -0700 (PDT)\r
+Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com\r
+       [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id D58D9431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 11 Oct 2012 19:21:51 -0700 (PDT)\r
+Received: by mail-qa0-f46.google.com with SMTP id c26so151897qad.5\r
+       for <notmuch@notmuchmail.org>; Thu, 11 Oct 2012 19:21:50 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+       :mime-version:content-type;\r
+       bh=SdkoVvO4FeW0FJ42AS4117DI6SKQxjoLpgUqgXPftVI=;\r
+       b=FTV/YDgl2t19C0LItZaoAR+kCBcYOc1IqD9nRUi4kAcDAgtAcw6DlD18B4F5rz1xOJ\r
+       /feOChDgDjb17LnmM9R2i9meR3SrJ51T+B7RrYzvje3uE1Zv/iH0bvvsOtNp/grD0yqh\r
+       D+H+xoqg/PKeyCwOJ3Eb92pgGTDX9HaY61nwdTWbbQgpYZUhOXhv0qvPqcYOcRrvkxKp\r
+       qcQE2ThkLbYQCkT5HupjLkvUN4CFqw1MNeB1yaWRAexJPVUpLATXmnRXR36/it+Z4sHQ\r
+       /2U2k+pjHNiZCumxAe4drkWcAe79RjKHGaADloFpDJFZ/OL/WYrk/KpeSPlfoX6XDIfi\r
+       FdHQ==\r
+Received: by 10.49.63.104 with SMTP id f8mr6558362qes.29.1350008510046;\r
+       Thu, 11 Oct 2012 19:21:50 -0700 (PDT)\r
+Received: from smtp.gmail.com (p70-80.acedsl.com. [66.114.70.80])\r
+       by mx.google.com with ESMTPS id q7sm5451882qeo.6.2012.10.11.19.21.48\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 11 Oct 2012 19:21:49 -0700 (PDT)\r
+From: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>\r
+To: James Vasile <james@hackervisions.org>, notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] [PATCH] Calls to notmuch get queued and executed\r
+       asynchronously.\r
+In-Reply-To: <87vddnlxos.wl%james@hackervisions.org>\r
+References: <87vddnlxos.wl%james@hackervisions.org>\r
+User-Agent: Notmuch/0.14+45~g6ea9330 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 11 Oct 2012 22:21:44 -0400\r
+Message-ID: <87k3uwzayv.fsf@betacantrips.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 12 Oct 2012 02:21:52 -0000\r
+\r
+James Vasile <james@hackervisions.org> writes:\r
+\r
+> Added notmuch-enqueue-asynch to replace calls to\r
+> notmuch-call-notmuch-process.  Calls to notmuch are then queued and\r
+> executed asynchronously.  If the db is busy and we get an error saying\r
+> it was locked, keep trying until the db is no longer busy.  Errors go\r
+> in a buffer as per usual.\r
+\r
+Hi! I decided to review some of the outstanding patches on the nmbug\r
+queue.\r
+\r
+This one doesn't apply cleanly. First, notmuch.el is now in\r
+emacs/. Secondly, tagging happens only one place in notmuch-tag.el.\r
+\r
+The follow-up patch doesn't apply either, and neither does the WIP patch\r
+posted later in the thread by Aaron Ecay.\r
+\r
+It seems like this patch series is useful for some people, but there are\r
+some design issues yet to be worked out.\r
+\r
+I propose that this thread be tagged notmuch::stale.\r
+\r
+Ethan\r