--- /dev/null
+Return-Path: <chm.duquesne@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 EB3C9431FC0\r
+ for <notmuch@notmuchmail.org>; Tue, 24 Feb 2015 16:42:19 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.74\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.74 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DNS_FROM_AHBL_RHSBL=2.438,\r
+ FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7]\r
+ 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 XW44ly7hp4n8 for <notmuch@notmuchmail.org>;\r
+ Tue, 24 Feb 2015 16:42:16 -0800 (PST)\r
+Received: from mail-la0-f43.google.com (mail-la0-f43.google.com\r
+ [209.85.215.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 75E83431FBF\r
+ for <notmuch@notmuchmail.org>; Tue, 24 Feb 2015 16:42:16 -0800 (PST)\r
+Received: by labgq15 with SMTP id gq15so550641lab.3\r
+ for <notmuch@notmuchmail.org>; Tue, 24 Feb 2015 16:35:00 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=mime-version:sender:from:date:message-id:subject:to:content-type;\r
+ bh=nUCPHpGh062BPLVzC0Lp2kru0B2xObnEOifSbGCqjho=;\r
+ b=xzpwayo2aKVThOPSMTXtXPU6QAiTFb3Ww0eBa8HVn+F5hrQKl7dQdmaJggqkS4PnyU\r
+ i3ndhAMxlvxfnyHSXEozT3M3QjzjY5CNjMC/ftqQhErX9hqRK2+AGBPmxnYT6nKBemJw\r
+ n97RhALXFlTK5uz7EcZRSRk0AGSMZH6NELjxbmdI41/UJbJlR2+RJxZdTpm9+YyzLHFM\r
+ RX9EUp1bR3bVCyL7zxjGrmPj05ID0Y707Omxq+g7SVT+68lzxDrBEGyRJ/6pJTz+IyFj\r
+ c5jdkdLVapuMz5LkITWgtk9c6DrF+MY9oJ9yAxLktxDFVOhtZOUXc7k61N5L637KDsql\r
+ CEbA==\r
+X-Received: by 10.112.188.165 with SMTP id gb5mr427022lbc.35.1424824499141;\r
+ Tue, 24 Feb 2015 16:34:59 -0800 (PST)\r
+MIME-Version: 1.0\r
+Sender: chm.duquesne@gmail.com\r
+Received: by 10.114.77.193 with HTTP; Tue, 24 Feb 2015 16:34:39 -0800 (PST)\r
+From: Christophe-Marie Duquesne <chmd@chmd.fr>\r
+Date: Wed, 25 Feb 2015 01:34:39 +0100\r
+X-Google-Sender-Auth: vdFRKrs-G8q3DyNj52mTfAVOLPc\r
+Message-ID:\r
+ <CAHLp1Y=2gSnmaGbVJvfAj=DvvGKq-Lm71h-jvNFfyGPzdXjfCA@mail.gmail.com>\r
+Subject: post-tag hook?\r
+To: notmuch@notmuchmail.org\r
+Content-Type: multipart/alternative; boundary=001a11c36da22383d2050fdeceb9\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: Wed, 25 Feb 2015 00:42:20 -0000\r
+\r
+--001a11c36da22383d2050fdeceb9\r
+Content-Type: text/plain; charset=UTF-8\r
+\r
+Hi,\r
+\r
+Is there a way to run a command every time a message gets tagged?\r
+\r
+I would like to keep in sync tags and folder names. The problem is that it\r
+requires a full scan of the notmuch db, which is slow. If I was running\r
+this script only on messages that got retagged since like run of my script\r
+it would be much faster. Unfortunately I don't find a way to mark/save\r
+these messages in a notmuch hook.\r
+\r
+I found an old thread from 2012, where somebody mentionned they implemented\r
+a post-tag hook. Was this ever integrated?\r
+\r
+Cheers,\r
+Christophe-Marie\r
+\r
+--001a11c36da22383d2050fdeceb9\r
+Content-Type: text/html; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+<div dir=3D"ltr">Hi,<br><br>Is there a way to run a command every time a me=\r
+ssage gets tagged?<br><br>I would like to keep in sync tags and folder name=\r
+s. The problem is that it requires a full scan of the notmuch db, which is =\r
+slow. If I was running this script only on messages that got retagged since=\r
+ like run of my script it would be much faster. Unfortunately I don't f=\r
+ind a way to mark/save these messages in a notmuch hook.<br><br>I found an =\r
+old thread from 2012, where somebody mentionned they implemented a post-tag=\r
+ hook. Was this ever integrated?<br><br>Cheers,<br>Christophe-Marie<br></di=\r
+v>\r
+\r
+--001a11c36da22383d2050fdeceb9--\r