Re: Kill Thread
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 20 Jun 2010 15:31:40 +0000 (17:31 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:09 +0000 (09:37 -0800)
66/98491141e8208938c9ea5433640d4a04cbaebf [new file with mode: 0644]

diff --git a/66/98491141e8208938c9ea5433640d4a04cbaebf b/66/98491141e8208938c9ea5433640d4a04cbaebf
new file mode 100644 (file)
index 0000000..06dfa10
--- /dev/null
@@ -0,0 +1,77 @@
+Return-Path: <sojkam1@fel.cvut.cz>\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 127B34196F2\r
+       for <notmuch@notmuchmail.org>; Sun, 20 Jun 2010 08:31:58 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9] 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 U+898ZQS3A+c for <notmuch@notmuchmail.org>;\r
+       Sun, 20 Jun 2010 08:31:47 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id A032A431FC1\r
+       for <notmuch@notmuchmail.org>; Sun, 20 Jun 2010 08:31:47 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 434EC19F36F8;\r
+       Sun, 20 Jun 2010 17:31:46 +0200 (CEST)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id NP4zCMvyQrep; Sun, 20 Jun 2010 17:31:45 +0200 (CEST)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 219AB19F36ED;\r
+       Sun, 20 Jun 2010 17:31:43 +0200 (CEST)\r
+Received: from steelpick.2x.cz (unknown [213.29.198.144])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id D417715C062;\r
+       Sun, 20 Jun 2010 17:31:43 +0200 (CEST)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1OQMUn-0001JJ-1s; Sun, 20 Jun 2010 17:31:41 +0200\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: Arvid Picciani <aep@exys.org>, notmuch@notmuchmail.org\r
+Subject: Re: Kill Thread\r
+In-Reply-To: <87pqzol2jt.fsf@exys.org>\r
+References: <87pqzol2jt.fsf@exys.org>\r
+User-Agent: Notmuch/0.3.1-79-g4421895 (http://notmuchmail.org) Emacs/23.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 20 Jun 2010 17:31:40 +0200\r
+Message-ID: <877hltoh43.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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, 20 Jun 2010 15:31:58 -0000\r
+\r
+On Fri, 18 Jun 2010, Arvid Picciani wrote:\r
+> Anyone got an idea how to add a kill-thread feature? I get a few dozens\r
+> of emails a day, of which most are just responses to threads i dont care\r
+> about anyway.\r
+\r
+Hi, this functionality is not (yet) directly available in notmuch\r
+however you can use a script like this:\r
+\r
+threads_to_kill=$(notmuch search tag:inbox|grep '\([^(]*kill[^)]*\)$'|cut -d ' ' -f 1)\r
+notmuch tag -inbox $threads_to_kill\r
+\r
+Once you tag a message by the "kill" tag this script removes all\r
+messages in the same thread from your inbox.\r
+\r
+-Michal\r