hint: ignoring threads
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Tue, 23 Nov 2010 15:47:13 +0000 (16:47 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:35 +0000 (09:37 -0800)
ee/d70d0a685cc929055eb43b7271dd585196e2ae [new file with mode: 0644]

diff --git a/ee/d70d0a685cc929055eb43b7271dd585196e2ae b/ee/d70d0a685cc929055eb43b7271dd585196e2ae
new file mode 100644 (file)
index 0000000..e9762b9
--- /dev/null
@@ -0,0 +1,101 @@
+Return-Path: <Sebastian@SSpaeth.de>\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 2712340DDE4\r
+       for <notmuch@notmuchmail.org>; Tue, 23 Nov 2010 07:47:28 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.99\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.99 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,\r
+       DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01]\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 IKcFQbCpbuyo for <notmuch@notmuchmail.org>;\r
+       Tue, 23 Nov 2010 07:47:18 -0800 (PST)\r
+Received: from homiemail-a76.g.dreamhost.com (caiajhbdcbhh.dreamhost.com\r
+       [208.97.132.177])\r
+       by olra.theworths.org (Postfix) with ESMTP id 117F540DF1D\r
+       for <notmuch@notmuchmail.org>; Tue, 23 Nov 2010 07:47:18 -0800 (PST)\r
+Received: from homiemail-a76.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a76.g.dreamhost.com (Postfix) with ESMTP id 4192E458071\r
+       for <notmuch@notmuchmail.org>; Tue, 23 Nov 2010 07:47:17 -0800 (PST)\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject\r
+       :date:message-id:mime-version:content-type; q=dns; s=sspaeth.de;\r
+       b=LI9KlKdCw02Zyhz70bMy0quZu8453Vc9VSiFbgSiMF1uHi5bfZg3Aj4ieOY9Z\r
+       SqYEwNmxIW3b3FxrjmOFx86lsEgIcX7MwIOtwPj6zsOlhW3jmzBFOVeosHX3OlWU\r
+       d2fBWNP/KMJw2Fz69OfJxOBmA+9Lnl5JUBr1b88+N9c7zI=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to\r
+       :subject:date:message-id:mime-version:content-type; s=sspaeth.de\r
+       ; bh=i4JjN45hGbfvGmzJhk+60UbIU0s=; b=gQRhEux1JR0LKhiQk1YVCsZZoQn\r
+       /fMQNefO2QaaJ2/we+Zf+eNyY0iWgjfDOE/XsX/0ekzIsdaE6IhmMQUvA7P/GOdQ\r
+       Du44c+bPRtwPmmyaAlojpbLOFGcui/5MvbkXc6SbFeur3kgyMjH7aDtHK5LkbEOB\r
+       QfqIg+vAXXkR02XI=\r
+Received: from spaetzbook.sspaeth.de (unknown [84.55.209.24])\r
+       (Authenticated sender: fax@sspaeth.de)\r
+       by homiemail-a76.g.dreamhost.com (Postfix) with ESMTPA id CCC7F45806F\r
+       for <notmuch@notmuchmail.org>; Tue, 23 Nov 2010 07:47:15 -0800 (PST)\r
+Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
+       Tue, 23 Nov 2010 16:47:14 +0100\r
+From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+To: Notmuch developer list <notmuch@notmuchmail.org>\r
+Subject: hint: ignoring threads\r
+User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.1.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 23 Nov 2010 16:47:13 +0100\r
+Message-ID: <87lj4kavpa.fsf@SSpaeth.de>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\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: Tue, 23 Nov 2010 15:47:28 -0000\r
+\r
+--=-=-=\r
+\r
+I like to ignore annoying threads, but notmuch has not easy way to\r
+achieve it, right? Well, it actually has...\r
+\r
+1) ok, in notmuch-show I read a message, decide the thread is uninteresting\r
+(or annoying) and tag that message as "ignore".\r
+\r
+2) Adding "and not tag:ignore in my saved searches doesn't help as there\r
+are still messages without tag ignore, so notmuch search will still show\r
+the threads. So I run this now after notmuch new: TADAA...\r
+\r
+notmuch tag +ignore -- not tag:ignore and `notmuch search\r
+--output=threads tag:ignore`\r
+\r
+It seems to work, afterwords all messages in a thread where at least one\r
+message was tagges "ignore" will be tagged "ignore" and my saved\r
+searches suppress them.\r
+\r
+Just wanted to share this tidbit as I can imagine plenty of usecases\r
+where a similar scheme could be handy.\r
+\r
+Sebastian\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iEYEARECAAYFAkzr4gEACgkQVYX1jMgnoGIm6gCfeuu7UqSpZe1+di4LV79Lboio\r
+kGoAn2DZhygv9G7lPcEvajt+fnc2ohrz\r
+=A/tb\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r