Re: [PATCH] notmuch new --new-tags=tags...
authorScott Robinson <scott@quadhome.com>
Mon, 12 Apr 2010 13:45:27 +0000 (07:45 +1800)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:35 +0000 (09:36 -0800)
5b/eb3c981fb5cf9dd1d2159c8b51e17c370e3dbd [new file with mode: 0644]

diff --git a/5b/eb3c981fb5cf9dd1d2159c8b51e17c370e3dbd b/5b/eb3c981fb5cf9dd1d2159c8b51e17c370e3dbd
new file mode 100644 (file)
index 0000000..4709b82
--- /dev/null
@@ -0,0 +1,59 @@
+Return-Path: <scott@quadhome.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 6603C4196F2\r
+       for <notmuch@notmuchmail.org>; Mon, 12 Apr 2010 06:45:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.8\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8]\r
+       autolearn=ham\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 KAyRuAZjLnSf for <notmuch@notmuchmail.org>;\r
+       Mon, 12 Apr 2010 06:45:32 -0700 (PDT)\r
+Received: from julia.quadhome.com (quadhome.xen.prgmr.com [68.68.99.250])\r
+       by olra.theworths.org (Postfix) with ESMTP id B3DB2431FC1\r
+       for <notmuch@notmuchmail.org>; Mon, 12 Apr 2010 06:45:32 -0700 (PDT)\r
+Received: from elise.quadhome.com (216.214.148.190.dsl.intelnet.net.gt\r
+       [190.148.214.216])\r
+       by julia.quadhome.com (Postfix) with ESMTPSA id A75D65FBC2\r
+       for <notmuch@notmuchmail.org>; Mon, 12 Apr 2010 13:45:31 +0000 (UTC)\r
+Content-Type: text/plain; charset=utf8\r
+Subject: Re: [PATCH] notmuch new --new-tags=tags...\r
+From: Scott Robinson <scott@quadhome.com>\r
+To: notmuch <notmuch@notmuchmail.org>\r
+In-reply-to: <4BC31133.6000105@dbservice.com>\r
+References: <n2x87b3a4191004100803z9d4c4c2bp52f5cf0d7b712362@mail.gmail.com>\r
+       <871velp0be.fsf@SSpaeth.de>\r
+       <87y6gseval.fsf@servo.finestructure.net>\r
+       <4BC31133.6000105@dbservice.com>\r
+Date: Mon, 12 Apr 2010 07:45:27 -0600\r
+Message-Id: <1271079754-sup-3860@elise>\r
+User-Agent: Sup/0.10.2\r
+Content-Transfer-Encoding: 8bit\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: Mon, 12 Apr 2010 13:45:34 -0000\r
+\r
+Excerpts from Tomas Carnecky's message of Mon Apr 12 06:25:23 -0600 2010:\r
+> I have a patch which adds support for hooks which are run when tags are \r
+> added, removed or new messages added to notmuch. But perhaps the \r
+> fork/exec overhead of running the hooks would slow the processing down \r
+> too much.\r
+\r
+Rather than a fork/exec for every message, why not have a persistent\r
+subprocess that receives message IDs (+ filenames?) and can then do\r
+arbitrary work and return back the proper tags?\r