notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / 14 / fbfb6abca420ddf72e689b8f97f6d037d0020a
1 Return-Path: <chm.duquesne@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 EB3C9431FC0\r
6         for <notmuch@notmuchmail.org>; Tue, 24 Feb 2015 16:42:19 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.74\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.74 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DNS_FROM_AHBL_RHSBL=2.438,\r
13         FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7]\r
14         autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id XW44ly7hp4n8 for <notmuch@notmuchmail.org>;\r
18         Tue, 24 Feb 2015 16:42:16 -0800 (PST)\r
19 Received: from mail-la0-f43.google.com (mail-la0-f43.google.com\r
20         [209.85.215.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 75E83431FBF\r
23         for <notmuch@notmuchmail.org>; Tue, 24 Feb 2015 16:42:16 -0800 (PST)\r
24 Received: by labgq15 with SMTP id gq15so550641lab.3\r
25         for <notmuch@notmuchmail.org>; Tue, 24 Feb 2015 16:35:00 -0800 (PST)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=mime-version:sender:from:date:message-id:subject:to:content-type;\r
28         bh=nUCPHpGh062BPLVzC0Lp2kru0B2xObnEOifSbGCqjho=;\r
29         b=xzpwayo2aKVThOPSMTXtXPU6QAiTFb3Ww0eBa8HVn+F5hrQKl7dQdmaJggqkS4PnyU\r
30         i3ndhAMxlvxfnyHSXEozT3M3QjzjY5CNjMC/ftqQhErX9hqRK2+AGBPmxnYT6nKBemJw\r
31         n97RhALXFlTK5uz7EcZRSRk0AGSMZH6NELjxbmdI41/UJbJlR2+RJxZdTpm9+YyzLHFM\r
32         RX9EUp1bR3bVCyL7zxjGrmPj05ID0Y707Omxq+g7SVT+68lzxDrBEGyRJ/6pJTz+IyFj\r
33         c5jdkdLVapuMz5LkITWgtk9c6DrF+MY9oJ9yAxLktxDFVOhtZOUXc7k61N5L637KDsql\r
34         CEbA==\r
35 X-Received: by 10.112.188.165 with SMTP id gb5mr427022lbc.35.1424824499141;\r
36         Tue, 24 Feb 2015 16:34:59 -0800 (PST)\r
37 MIME-Version: 1.0\r
38 Sender: chm.duquesne@gmail.com\r
39 Received: by 10.114.77.193 with HTTP; Tue, 24 Feb 2015 16:34:39 -0800 (PST)\r
40 From: Christophe-Marie Duquesne <chmd@chmd.fr>\r
41 Date: Wed, 25 Feb 2015 01:34:39 +0100\r
42 X-Google-Sender-Auth: vdFRKrs-G8q3DyNj52mTfAVOLPc\r
43 Message-ID:\r
44  <CAHLp1Y=2gSnmaGbVJvfAj=DvvGKq-Lm71h-jvNFfyGPzdXjfCA@mail.gmail.com>\r
45 Subject: post-tag hook?\r
46 To: notmuch@notmuchmail.org\r
47 Content-Type: multipart/alternative; boundary=001a11c36da22383d2050fdeceb9\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Wed, 25 Feb 2015 00:42:20 -0000\r
61 \r
62 --001a11c36da22383d2050fdeceb9\r
63 Content-Type: text/plain; charset=UTF-8\r
64 \r
65 Hi,\r
66 \r
67 Is there a way to run a command every time a message gets tagged?\r
68 \r
69 I would like to keep in sync tags and folder names. The problem is that it\r
70 requires a full scan of the notmuch db, which is slow. If I was running\r
71 this script only on messages that got retagged since like run of my script\r
72 it would be much faster. Unfortunately I don't find a way to mark/save\r
73 these messages in a notmuch hook.\r
74 \r
75 I found an old thread from 2012, where somebody mentionned they implemented\r
76 a post-tag hook. Was this ever integrated?\r
77 \r
78 Cheers,\r
79 Christophe-Marie\r
80 \r
81 --001a11c36da22383d2050fdeceb9\r
82 Content-Type: text/html; charset=UTF-8\r
83 Content-Transfer-Encoding: quoted-printable\r
84 \r
85 <div dir=3D"ltr">Hi,<br><br>Is there a way to run a command every time a me=\r
86 ssage gets tagged?<br><br>I would like to keep in sync tags and folder name=\r
87 s. The problem is that it requires a full scan of the notmuch db, which is =\r
88 slow. If I was running this script only on messages that got retagged since=\r
89  like run of my script it would be much faster. Unfortunately I don&#39;t f=\r
90 ind a way to mark/save these messages in a notmuch hook.<br><br>I found an =\r
91 old thread from 2012, where somebody mentionned they implemented a post-tag=\r
92  hook. Was this ever integrated?<br><br>Cheers,<br>Christophe-Marie<br></di=\r
93 v>\r
94 \r
95 --001a11c36da22383d2050fdeceb9--\r