Re: Applying patches directly from emails?
[notmuch-archives.git] / 2d / 1a8b276a53a5012c8774f2826c56464fa8d0cf
1 Return-Path: <thisfred@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 1C62E431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 20 May 2011 15:39:32 -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: -0.799\r
10 X-Spam-Level: \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 Yx4VQ2USAaLf for <notmuch@notmuchmail.org>;\r
17         Fri, 20 May 2011 15:39:30 -0700 (PDT)\r
18 Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com\r
19         [209.85.220.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 9FA19431FB6\r
22         for <notmuch@notmuchmail.org>; Fri, 20 May 2011 15:39:30 -0700 (PDT)\r
23 Received: by vxb39 with SMTP id 39so3309186vxb.26\r
24         for <notmuch@notmuchmail.org>; Fri, 20 May 2011 15:39:30 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:from:to:subject:in-reply-to:references\r
27         :user-agent:date:message-id:mime-version:content-type;\r
28         bh=ic/jxNBoteJkqExD5mJp2jS0bqiENjzibq8hWBUBgbQ=;\r
29         b=f2GErsTeOp1+sSFIb50ZSqbOph7VJRWDMLF6Zqre7StaFWJbSRFwFD/EXWl/lVWA0I\r
30         Kuy4ehPtUDRs8c+PQm3uP/t174wuD1P0ax+Hx8SZ//tAYStq8clgjdaRdgZfbJGb+Ish\r
31         fPKrzkZv732R8it8evGq28OBTKQ1mbAStBmSI=\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
33         h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
34         :mime-version:content-type;\r
35         b=p8gVVX0AkxTDcaRnu7ofVsw90w6uBpFAyo16Z/KUXCKoe5kC7NqCnlM4UZJg9gIPUI\r
36         L9NpgOmaznugeo13suApCM7rB4Rm6sv8sB7Ff5DRHXkbH24UV1tlRbjf3fZxAf7NzP9j\r
37         rpKtCEd6QtBeJMgGcJjbaXmlSvD+9DyFmyOBk=\r
38 Received: by 10.52.176.161 with SMTP id cj1mr241508vdc.35.1305931169957;\r
39         Fri, 20 May 2011 15:39:29 -0700 (PDT)\r
40 Received: from localhost (c-98-204-215-244.hsd1.md.comcast.net\r
41         [98.204.215.244])\r
42         by mx.google.com with ESMTPS id x8sm901985vcr.17.2011.05.20.15.39.26\r
43         (version=TLSv1/SSLv3 cipher=OTHER);\r
44         Fri, 20 May 2011 15:39:27 -0700 (PDT)\r
45 From: eric casteleijn <thisfred@gmail.com>\r
46 To: Ben Gamari <bgamari.foss@gmail.com>, notmuch <notmuch@notmuchmail.org>\r
47 Subject: Re: My mail configuration\r
48 In-Reply-To: <87tyfu3k5a.fsf@gmail.com>\r
49 References: <87tyfu3k5a.fsf@gmail.com>\r
50 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1\r
51         (x86_64-pc-linux-gnu)\r
52 Date: Fri, 20 May 2011 18:39:22 -0400\r
53 Message-ID: <87y621dmjp.fsf@eric-Studio-XPS-9100.i-did-not-set--mail-host-address--so-tickle-me>\r
54 MIME-Version: 1.0\r
55 Content-Type: text/plain; charset=us-ascii\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\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: Fri, 20 May 2011 22:39:32 -0000\r
69 \r
70 On Wed, 23 Feb 2011 09:22:57 -0500, Ben Gamari <bgamari.foss@gmail.com> wrote:\r
71 > Here is my mail sorting script that has been slowly evolving for almost\r
72 > a year now. It uses the Python bindings, along with Bogofilter for spam\r
73 > filtering. There is also an update-spam script which brings the\r
74 > Bogofilter database in to synchronization with the notmuch tags. On this\r
75 > note, if someone wants to implement the ability to hide certain tags\r
76 > (say, those matching /\..+/) in the emacs interface it would be greatly\r
77 > appreciated. I have notmuch configured such that all new mail starts\r
78 > with just the "new" tag. The sorting script then takes it from\r
79 > there. Hope this will give folks some ideas.\r
80 \r
81 Hi Ben,\r
82 \r
83 After a few previous tries, I finally came up with a notmuch setup that\r
84 works for me, and it's largely thanks to your example, which I've\r
85 modified slightly (of course ;) to suit my own purposes. The thing that\r
86 I really liked was the 'watch' tag for mailing list messages, but after\r
87 initial experimentation with it, I still felt paranoid about missing\r
88 stuff that I cared about, since anything that does not go through my\r
89 inbox is unlikely to ever show up on my radar.\r
90 \r
91 The solution I chose was to have an 'unwatch' tag (which could do with a\r
92 better name, maybe 'ignore', or 'skip-inbox') that I apply to threads\r
93 that I have no interest in. I also decided that (for me) this was not\r
94 really tied to mailing list messages. My change made the script quite a\r
95 bit simpler, (it gets rid of the unseen tag for one thing,) though at\r
96 the cost of some of the original functionality, I realize. So, while I\r
97 doubt this will be massively useful to you, or other people with a lot\r
98 of list traffic with a very high noise-to-signal ratio, it may be of\r
99 interest to others who have use cases more like my own.\r
100 \r
101 I put my copies under version control here:\r
102 \r
103 http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/sort_mail.py\r
104 http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/update_junk.py\r
105 \r
106 (Though I'm not sure I changed anything substantial in the second one.)\r
107 \r
108 Also I made some simple keybindings to mark stuff as junk/unwatch in my\r
109 .emacs:\r
110 \r
111 http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/.emacs#L552\r
112 \r
113 Hope someone finds this of use,\r
114 \r
115 --\r
116 eric casteleijn\r
117 https://launchpad.net/~thisfred\r
118 \r