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