1 Return-Path: <david.froger@gmail.com>
\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 62DB9431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 13 Aug 2012 21:59:46 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id IeaZqv9tIpPk for <notmuch@notmuchmail.org>;
\r
17 Mon, 13 Aug 2012 21:59:45 -0700 (PDT)
\r
18 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com
\r
19 [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 8D693431FAE
\r
22 for <notmuch@notmuchmail.org>; Mon, 13 Aug 2012 21:59:45 -0700 (PDT)
\r
23 Received: by weyt57 with SMTP id t57so3445443wey.26
\r
24 for <notmuch@notmuchmail.org>; Mon, 13 Aug 2012 21:59:43 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=date:message-id:from:to:subject:in-reply-to:references:mime-version
\r
27 :content-type:content-disposition:content-transfer-encoding;
\r
28 bh=mC4jivNHzA4QJU9SGk14bRyRs5Xn2Bhvxbm0LFPdIJo=;
\r
29 b=Fkyeetj/bTuDcncW0XLYXHKdJwKpzyG/wYWXhBAIotBvXQP8c47z6Km2aHZTKEGd+7
\r
30 u44JADhfKC53EwMItP3L15avjEFPAMP4z3UrD33if6twkEg+Id7NxgZ684k6QTGNFWj5
\r
31 BLmRq3nmQD47mgrkuATsqgXKH7lR7L+RtpCmRCrjeX5JY//AjLK9IByOB9fOSIO2sDt1
\r
32 CkIA//C+zMNpQ4HV6+gz8ud5ewNlDaEtjaGYf4BCtUtWVG3f3OR5re3A3erDxvq6wbCk
\r
33 oH1tNzgzFVUx2jNV0+B2GNB9GDpwzr9mxeYQTPKUImLbociXpNNyH4uwaVfu6+UXHyH4
\r
35 Received: by 10.180.99.102 with SMTP id ep6mr4610057wib.19.1344920382871;
\r
36 Mon, 13 Aug 2012 21:59:42 -0700 (PDT)
\r
37 Received: from localhost (253.53.100.84.rev.sfr.net. [84.100.53.253])
\r
38 by mx.google.com with ESMTPS id t7sm29623657wix.6.2012.08.13.21.59.40
\r
39 (version=TLSv1/SSLv3 cipher=OTHER);
\r
40 Mon, 13 Aug 2012 21:59:41 -0700 (PDT)
\r
41 Date: Tue, 14 Aug 2012 06:59:39 +0200
\r
42 Message-ID: <20120814065939.GA31346@david-desktop.localdomain>
\r
43 From: David Froger <david.froger@gmail.com>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: Re: [announce] Bower 0.4
\r
46 In-Reply-To: <20120812203339.14936.26407@brick.lan>
\r
47 References: <20120812152258.GA32178@hili.localdomain>
\r
48 <20120812144023.GC29680@david-desktop.localdomain>
\r
49 <20120813003735.GA20739@hili.localdomain>
\r
50 <20120812175343.GA32257@david-desktop.localdomain>
\r
51 <20120812203339.14936.26407@brick.lan>
\r
53 Content-Type: text/plain; charset=utf-8
\r
54 Content-Disposition: inline
\r
55 Content-Transfer-Encoding: 8bit
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Tue, 14 Aug 2012 04:59:46 -0000
\r
70 On Sun, 12 Aug 2012 21:33:39 +0100, Patrick Totzke <patricktotzke@gmail.com> wrote:
\r
71 > Quoting David Froger (2012-08-12 16:53:43)
\r
72 > > > > 3. Would it be possible to have the feature 'kill a thread' like Sup have? (see
\r
73 > > > > http://sup.rubyforge.org/README.txt).
\r
75 > > > I haven't needed such a feature so I don't have a clear idea how it
\r
76 > > > should work. There are some patches/ideas about muting threads using
\r
77 > > > notmuch generally around here. I guess the simplest thing to do is hide
\r
78 > > > a thread if it has a certain tag, e.g. "muted" as suggested by notmuch
\r
79 > > > TODO file, unless you search for it explicitly.
\r
80 > > I like this solution, I will use it (adding 'and not tag:mutted' at the end of my search).
\r
81 > > When I'm not interessed with a long discussion on a mailling list, I like to be able to 'kill'
\r
82 > > the thread so it does not reappear with every new mail.
\r
84 > I'm not sure if this actually solves your problem, because
\r
85 > notmuch's search is message, not thread based:
\r
86 > If you search for threads that match "is:inbox and not is:muted", you will see threads
\r
87 > that contain messages which are tagged with "inbox" and not with "muted".
\r
88 > This means if you just tag one (or all) msg in a thread "muted" and there is a new response,
\r
89 > this thread will contain such a matching message again and show up in your result list.
\r
90 Thanks for the clarification, it's very helpfull!
\r
92 > To make this work, you need to set up your tagging script (that you run after 'notmuch new')
\r
93 > so that it updates those new messages accordingly. If a msg belongs to a thread that has
\r
94 > muted messages, also tag the new one muted.
\r
95 > I can pretty much recommend Justus' tagging script afew: https://github.com/teythoon/afew
\r
96 > One of the filters that it supports out of the box is exactly the "kill threads" function
\r
99 Thanks, this script looks very cool and I think I will replace mine with it (I should have
\r
100 visited (http://notmuchmail.org/initial_tagging/ ...). You're right, the filter I'm
\r
101 interessed is in in aftew/filters/KillThreadsFilter.py, and do this:
\r
103 for all email M that does not have tag 'killed':
\r
104 I = thread Id of the email M
\r
105 if there are emails that have thread id I and the 'killed' tag:
\r
106 apply 'killed' tag on email E
\r
108 Thanks again for all the help.
\r