Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 0e / d97b0c61601dee6783f18b12b1f5533af31bbb
1 Return-Path: <cworth@cworth.org>\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 E736B4196F3\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 10:40:51 -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: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\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 6hNNn+o4OI+h; Fri, 23 Apr 2010 10:40:51 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id 2AC9B431FC1;\r
19         Fri, 23 Apr 2010 10:40:51 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id D0546568DE4; Fri, 23 Apr 2010 10:40:50 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: Ben Gamari <bgamari.foss@gmail.com>, notmuch <notmuch@notmuchmail.org>\r
24 Subject: Re: [notmuch] [PATCH] notmuch-config: make new message tags\r
25         configurable\r
26 In-Reply-To: <1268432006-24333-2-git-send-email-bgamari.foss@gmail.com>\r
27 References: <1268432006-24333-1-git-send-email-bgamari.foss@gmail.com>\r
28         <1268432006-24333-2-git-send-email-bgamari.foss@gmail.com>\r
29 Date: Fri, 23 Apr 2010 10:40:50 -0700\r
30 Message-ID: <87tyr2f4nx.fsf@yoom.home.cworth.org>\r
31 MIME-Version: 1.0\r
32 Content-Type: multipart/signed; boundary="=-=-=";\r
33         micalg=pgp-sha1; protocol="application/pgp-signature"\r
34 X-BeenThere: notmuch@notmuchmail.org\r
35 X-Mailman-Version: 2.1.13\r
36 Precedence: list\r
37 List-Id: "Use and development of the notmuch mail system."\r
38         <notmuch.notmuchmail.org>\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
42 List-Post: <mailto:notmuch@notmuchmail.org>\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
46 X-List-Received-Date: Fri, 23 Apr 2010 17:40:52 -0000\r
47 \r
48 --=-=-=\r
49 \r
50 On Fri, 12 Mar 2010 17:13:26 -0500, Ben Gamari <bgamari.foss@gmail.com> wrote:\r
51 > Add a new_tags option in the [messages] section of the configuration\r
52 > file to allow the user to specify which tags should be added to new\r
53 > messages by notmuch new.\r
54 \r
55 Thanks, Ben!\r
56 \r
57 I finally broke down and decided I needed this feature.\r
58 \r
59 Previously I've done all of my automatic tagging as global searches,\r
60 (and it's those tags that I want to switch to just search macros as I've\r
61 talked about many times in the past).\r
62 \r
63 But I'm now doing things like a "merge window" tag where I want it\r
64 applied to new messages as they come in, but I also want to be able to\r
65 manually remove the tag from messages where it doesn't make sense. So a\r
66 global search doesn't do what I want here at all.\r
67 \r
68 For me, I'll probably go the route of having "notmuch new" add a "new"\r
69 tag in addition to "inbox" and "unread" and then I'll have my\r
70 notmuch-poll script act on that, then remove the "new" tag from all\r
71 tagged messages. I wouldn't want to impose a "new" tag on everyone since\r
72 most people won't have a notmuch-poll removing "new" by default so that\r
73 tag would just build up.\r
74 \r
75 Meanwhile, I know that Keith Packard and Eric Anholt are already having\r
76 their notmuch-poll scripts remove the "unread" tag from all message,\r
77 since they don't find that tag useful at all. This new configuration\r
78 will help them as well.\r
79 \r
80 So I've now merged this patch, and as usual, I followed up with some\r
81 changes as well. Here's what I did in addition:\r
82 \r
83   * Fixed the compiler warning.\r
84 \r
85   * Fixed "notmuch setup" to add the documentation block to the\r
86     configuration file when adding new options there.\r
87 \r
88   * Renamed the new configuration option from:\r
89 \r
90         [messages]\r
91         new_tags=inbox;unread;\r
92 \r
93     to instead be:\r
94 \r
95         [new]\r
96         tags=inbox;unread;\r
97 \r
98   * Fixed "notmuch setup" to prompt for this new setting.\r
99 \r
100 Thanks again,\r
101 \r
102 -Carl\r
103 \r
104 --=-=-=\r
105 Content-Type: application/pgp-signature\r
106 \r
107 -----BEGIN PGP SIGNATURE-----\r
108 Version: GnuPG v1.4.10 (GNU/Linux)\r
109 \r
110 iD8DBQFL0dui6JDdNq8qSWgRAreaAKCTPWoQMt4psAB2JYg8igiFoPO3owCgh8h3\r
111 EUTs9/aKQlyffE2wfjnG9nk=\r
112 =VexN\r
113 -----END PGP SIGNATURE-----\r
114 --=-=-=--\r