From: Michal Nazarewicz Date: Sun, 5 Aug 2012 20:10:14 +0000 (+0200) Subject: Re: Inheriting tags from parent X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9c7498503a692b29d693e2cc788f558349f89e03;p=notmuch-archives.git Re: Inheriting tags from parent --- diff --git a/b0/704e74c76e69e1a584640e01386bfa7739f05e b/b0/704e74c76e69e1a584640e01386bfa7739f05e new file mode 100644 index 000000000..c7dbce08f --- /dev/null +++ b/b0/704e74c76e69e1a584640e01386bfa7739f05e @@ -0,0 +1,159 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 371CA431FB6 + for ; Sun, 5 Aug 2012 13:10:27 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id beNEKeuIGdbx for ; + Sun, 5 Aug 2012 13:10:24 -0700 (PDT) +Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com + [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 3FF31431FAE for ; Sun, 5 Aug 2012 13:10:24 -0700 + (PDT) +Received: by wgbdq12 with SMTP id dq12so1776328wgb.2 + for ; Sun, 05 Aug 2012 13:10:21 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; + s=20120113; h=sender:from:to:cc:subject:in-reply-to:organization:references + :user-agent:x-face:face:x-pgp:x-pgp-fp:date:message-id:mime-version + :content-type; bh=+63JMqcBCIQzeLsG1zslagg4iiNGnn1y8J89jc53998=; + b=V0Ye8m5d0vLXyS6r5w/EYnCrLvXrp2E0cfkflnRG+HKkrjZ6kceq07KACSTP4VcyTv + ML5qoiGvC7GwAiQD0eDi6CvN/esvDDoFCEVFLYAca5zsU5YZ5GAJs6HDR7fqd4WTaly+ + T3USURRo6+nP+bgJtfay+qbXACuMgSGfnSim0dsv+JYDvDkuHUb2ku6xyXAGZqxfvMOH + Y2cis4nkpcakP+2sXicUl0+UIjB2CbPKY0HJNzfZ7TkKMu6OVHhWWjd4THJb5Z16I6aE + IIpl01q7o6KPV7+tJGv0SOgPEaiDxiXSNJXdUSP92UKo9+s5tYolVsvDkfNk9tUqYzrw 9nEw== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=sender:from:to:cc:subject:in-reply-to:organization:references + :user-agent:x-face:face:x-pgp:x-pgp-fp:date:message-id:mime-version + :content-type:x-gm-message-state; + bh=+63JMqcBCIQzeLsG1zslagg4iiNGnn1y8J89jc53998=; + b=LV0ikKRmZ6BUHQ4De5tbNpHLaFVACHbkomWw5jHYxN4qTRQJnAZttU8kYATS7EW2HA + fzz/3Yh08MhQyLbxWm5PlD0o2NFint4swzqBhDw1S6qvz7U8fP3+iDGpq+eE3+Ih3g96 + tzIaexJLyZRhTYyM7hzYLXAA8uJlGvPWkh3/XTzHVtPBE2EQmfLFiNN5n4XZJNBQO+qJ + BCl2uXztY/QnHAlLUuTovxowXNoOD5ynp40r67XwSQ4lt1e5xqEHVCf7Su1ZSyiBOdFY + dDMFfuy/0JU/7tyhVcKiAunf8KimyuZtGJeRd1K6Tpf8dRQz0RsUdgg7Gg39D33IKU4U + 2uYw== +Received: by 10.180.74.33 with SMTP id q1mr12533338wiv.4.1344197421604; + Sun, 05 Aug 2012 13:10:21 -0700 (PDT) +Received: by 10.180.74.33 with SMTP id q1mr12533315wiv.4.1344197421353; + Sun, 05 Aug 2012 13:10:21 -0700 (PDT) +Received: from mpn-glaptop (77-58-120-187.dclient.hispeed.ch. [77.58.120.187]) + by mx.google.com with ESMTPS id t7sm16937723wix.6.2012.08.05.13.10.19 + (version=TLSv1/SSLv3 cipher=OTHER); + Sun, 05 Aug 2012 13:10:20 -0700 (PDT) +Sender: Michal Nazarewicz +From: Michal Nazarewicz +To: Austin Clements +Subject: Re: Inheriting tags from parent +In-Reply-To: <20120803210450.GH22601@mit.edu> +Organization: http://mina86.com/ +References: <20120803210450.GH22601@mit.edu> +User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/24.1.50.2 + (x86_64-unknown-linux-gnu) +X-Face: PbkBB1w#)bOqd`iCe"Ds{e+!C7`pkC9a|f)Qo^BMQvy\q5x3?vDQJeN(DS?|-^$uMti[3D*#^_Ts"pU$jBQLq~Ud6iNwAw_r_o_4]|JO?]}P_}Nc&"p#D(ZgUb4uCNPe7~a[DbPG0T~!&c.y$Ur,=N4RT>]dNpd; KFrfMCylc}gc??'U2j,!8%xdD +Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWbfGlUPDDHgE57V0jUupKjgIObY0PLrom9mH4dFRK4gmjPs41MxjOgAAACQElEQVQ4jW3TMWvbQBQHcBk1xE6WyALX1069oZBMlq+ouUwpEQQ6uRjttkWP4CmBgGM0BQLBdPFZYPsyFUo6uEtKDQ7oy/U96XR2Ux8ehH/89Z6enqxBcS7Lg81jmSuujrfCZcLI/TYYvbGj+jbgFpHJ/bqQAUISj8iLyu4LuFHJTosxsucO4jSDNE0Hq3hwK/ceQ5sx97b8LcUDsILfk+ovHkOIsMbBfg43VuQ5Ln9YAGCkUdKJoXR9EclFBhixy3EGVz1K6eEkhxCAkeMMnqoAhAKwhoUJkDrCqvbecaYINlFKSRS1i12VKH1XpUd4qxL876EkMcDvHj3s5RBajHHMlA5iK32e0C7VgG0RlzFPvoYHZLRmAC0BmNcBruhkE0KsMsbEc62ZwUJDxWUdMsMhVqovoT96i/DnX/ASvz/6hbCabELLk/6FF/8PNpPCGqcZTGFcBhhAaZZDbQPaAB3+KrWWy2XgbYDNIinkdWAFcCpraDE/knwe5DBqGmgzESl1p2E4MWAz0VUPgYYzmfWb9yS4vCvgsxJriNTHoIBz5YteBvg+VGISQWUqhMiByPIPpygeDBE6elD973xWwKkEiHZAHKjhuPsFnBuArrzxtakRcISv+XMIPl4aGBUJm8Emk7qBYU8IlgNEIpiJhk/No24jHwkKTFHDWfPniR4iw5vJaw2nzSjfq2zffcE/GDjRC2dn0J0XwPAbDL84TvaFCJEU4Oml9pRyEUhR3Cl2t01AoEjRbs0sYugp14/4X5n4pU4EHHnMAAAAAElFTkSuQmCC +X-PGP: 50751FF4 +X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4 +Date: Sun, 05 Aug 2012 22:10:14 +0200 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha1; protocol="application/pgp-signature" +X-Gm-Message-State: ALoCoQnY0AyvlsL5EtoeUMFpLPgz54KRvFVf4ssvjDPzX+U2oWjUAP0eLsQL1+KeSNfvvDQ/ZecC2kSdLHx4y2dxh7yIJQ40s43Atky6OTBhVkWwQRKBmFU3L0mqtbimipv8tVdJ/HKGrj5QZ4J6hds/tbWesgoCpGFAeTkMnYDboNoNxea0s0woOf7EPzsA5K7o7Tl1xqcRZhn1CLA+rdL7/DxdxlS/Fg== +X-Mailman-Approved-At: Mon, 06 Aug 2012 00:59:14 -0700 +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 05 Aug 2012 20:10:27 -0000 + +--=-=-= +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable + +> Quoth Michal Nazarewicz on Aug 03 at 4:29 pm: +>> I've just started using notmuch and am wondering if there is a way to +>> make message =E2=80=9Cinherit=E2=80=9D some of the tags from messages th= +ey are written +>> in replay to (or in general are part of the same thread). +>>=20 +>> I'm mostly thinking about a =E2=80=9Cmute=E2=80=9D tag which I'd add to = +messages that +>> are completely uninteresting to me. With the =E2=80=9Cinheritance=E2=80= +=9D mechanism, +>> I'd be able to make notmuch automatically mute all the replays within +>> the same thread. + +Austin Clements writes: +> I have a hacky and now ancient patch series that you're welcome to try +> porting to a recent notmuch on the inheritable-tags-hack branch at +> http://awakening.csail.mit.edu/git/notmuch.git +> One general problem with this approach is dealing with threads whose +> messages arrive or are ingested out of order. I don't think this is +> an insurmountable problem, but my patch certainly doesn't handle it +> correctly. + +I'll keep that in mind, but lack of time, won't probably let me play +with it... + +> There are also several other solutions to "mute" tags around. For +> example, some people use a post-new hook to search for threads that +> contain at least one mute tag and then feed these thread IDs back in +> to notmuch tag to add the mute tag to everything in the thread. I +> believe this is also the approach used by the afew tagging system for +> "killed" threads. + +Yeah, that's what I'm doing now. Basically =E2=80=9Cnotmuch search +=2D-output=3Dthreads is:mute=E2=80=9D and then join all the lines with =E2= +=80=9Cor=E2=80=9D to +finally do =E2=80=9Cnotmuch tag +mute =E2=80=9D. I was, however, = +hoping for +something more dedicated. + +=2D-=20 +Best regards, _ _ +.o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o +..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz = + (o o) +ooo +------------------ooO--(_)--Ooo-- + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.10 (GNU/Linux) + +iQIcBAEBAgAGBQJQHtMmAAoJECBgQBJQdR/0DAgP/2MHUSOpw9+HabZW13fv2Mkh +rnphSSV2f9/Njyw3EYT6105cVqsPHFl5OMjf1gL8PGNYW5/yx/ZxDgt40/eG1wLd +z9eVGrzYfWrAGdUAx2+fVyi/5hQ9HeerQ/jSMx1UAZjVX6WxCvc8G8f3fBisicJV +Mc94Bf6TI/f3aaLDAHOLe0nY6hLigOVjEGeYz2PUO5TYqApI94avEBy0/TArKpq5 +aM4+jay+Ix/oylY3+gcJEJNlWHtP7Yd/cr5Z52EqOYCPDeZlcL9b+wI5QaQZoa/N +1aT3mmsjT4Qdtp1Y3R2/fyPFMZ38GH3es4pQotkliCEiZ0CtmV5+/H/WiXlHq663 +cnxhjH3J9vkpcceUUnaBuoGLzMYiMZnaHslT59pNw92kLB3xDg7qXlcpSJx1LwiO +/FtG2YoChRU6VkuFsBiyR+WP+Y0lPcBa/njnmXTNWMf1RC5O5R1yzN32pOSHUPwA +bL4hRYay0aaTrEr+bVhqVLBTk3zUhcA2Kr8ysHgtA1Vq0MeMl7H+mbH3Bv7zdgMs +l+CQvyTVOGeSYIT83zPySAtc7IJanmjS2FOCw+XsSdNw51R6GO6kfVyKPjXV3cG5 +0wOSczgWYd5s7V+rKKiBOetLHMcM9QP/rt+vTQ8n0oVfwbHcJAlx7UE9gvZ7Vy5R +82rYEubmEj68TWwN8V19 +=mcBS +-----END PGP SIGNATURE----- +--=-=-=--