Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 66 / 98491141e8208938c9ea5433640d4a04cbaebf
1 Return-Path: <sojkam1@fel.cvut.cz>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 127B34196F2\r
6         for <notmuch@notmuchmail.org>; Sun, 20 Jun 2010 08:31:58 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id U+898ZQS3A+c for <notmuch@notmuchmail.org>;\r
16         Sun, 20 Jun 2010 08:31:47 -0700 (PDT)\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
18         by olra.theworths.org (Postfix) with ESMTP id A032A431FC1\r
19         for <notmuch@notmuchmail.org>; Sun, 20 Jun 2010 08:31:47 -0700 (PDT)\r
20 Received: from localhost (unknown [192.168.200.4])\r
21         by max.feld.cvut.cz (Postfix) with ESMTP id 434EC19F36F8;\r
22         Sun, 20 Jun 2010 17:31:46 +0200 (CEST)\r
23 X-Virus-Scanned: IMAP AMAVIS\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])\r
25         by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
26         port 10044)\r
27         with ESMTP id NP4zCMvyQrep; Sun, 20 Jun 2010 17:31:45 +0200 (CEST)\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
29         by max.feld.cvut.cz (Postfix) with ESMTP id 219AB19F36ED;\r
30         Sun, 20 Jun 2010 17:31:43 +0200 (CEST)\r
31 Received: from steelpick.2x.cz (unknown [213.29.198.144])\r
32         (Authenticated sender: sojkam1)\r
33         by imap.feld.cvut.cz (Postfix) with ESMTPSA id D417715C062;\r
34         Sun, 20 Jun 2010 17:31:43 +0200 (CEST)\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
36         (envelope-from <sojkam1@fel.cvut.cz>)\r
37         id 1OQMUn-0001JJ-1s; Sun, 20 Jun 2010 17:31:41 +0200\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>\r
39 To: Arvid Picciani <aep@exys.org>, notmuch@notmuchmail.org\r
40 Subject: Re: Kill Thread\r
41 In-Reply-To: <87pqzol2jt.fsf@exys.org>\r
42 References: <87pqzol2jt.fsf@exys.org>\r
43 User-Agent: Notmuch/0.3.1-79-g4421895 (http://notmuchmail.org) Emacs/23.2.1\r
44         (x86_64-pc-linux-gnu)\r
45 Date: Sun, 20 Jun 2010 17:31:40 +0200\r
46 Message-ID: <877hltoh43.fsf@steelpick.2x.cz>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sun, 20 Jun 2010 15:31:58 -0000\r
62 \r
63 On Fri, 18 Jun 2010, Arvid Picciani wrote:\r
64 > Anyone got an idea how to add a kill-thread feature? I get a few dozens\r
65 > of emails a day, of which most are just responses to threads i dont care\r
66 > about anyway.\r
67 \r
68 Hi, this functionality is not (yet) directly available in notmuch\r
69 however you can use a script like this:\r
70 \r
71 threads_to_kill=$(notmuch search tag:inbox|grep '\([^(]*kill[^)]*\)$'|cut -d ' ' -f 1)\r
72 notmuch tag -inbox $threads_to_kill\r
73 \r
74 Once you tag a message by the "kill" tag this script removes all\r
75 messages in the same thread from your inbox.\r
76 \r
77 -Michal\r