Re: Inheriting tags from parent
authorMichal Nazarewicz <mina86@mina86.com>
Sun, 5 Aug 2012 20:10:14 +0000 (22:10 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:52 +0000 (09:48 -0800)
b0/704e74c76e69e1a584640e01386bfa7739f05e [new file with mode: 0644]

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