Re: [PATCH v3 2/2] search: Support automatic tag exclusions
[notmuch-archives.git] / fe / d692cd11a84b989dbd3eac127f5349bf7e2cea
1 Return-Path: <xma@gnu.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 EA865429E54\r
6         for <notmuch@notmuchmail.org>; Sun, 22 Jan 2012 14:09:35 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.463\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.463 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363] autolearn=disabled\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 FJJXjdlR7eS5 for <notmuch@notmuchmail.org>;\r
16         Sun, 22 Jan 2012 14:09:35 -0800 (PST)\r
17 Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net\r
18         [88.164.105.66])\r
19         by olra.theworths.org (Postfix) with ESMTP id BB8EA429E40\r
20         for <notmuch@notmuchmail.org>; Sun, 22 Jan 2012 14:09:34 -0800 (PST)\r
21 Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1])\r
22         by xhlj.maillard.im (Postfix) with ESMTP id DA1CC2C9E2;\r
23         Sun, 22 Jan 2012 23:09:30 +0100 (CET)\r
24 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to:cc\r
25         :subject:in-reply-to:references:reply-to:date:message-id\r
26         :mime-version:content-type; s=postfix; bh=OWwglZ5/TwuRspNIKlysO8\r
27         yYoWo=; b=jeY+VXbYfJep0rE3yDti12j684h2R82HL2Ifg8GcAo1HZxFWdNrBUL\r
28         B5ExnaoTmLNsk7NGK92zlevSASzKgRQPHcW7IuQ3JidRi3KzgR2PJalpIMcpgIKD\r
29         mRu272YTpSnfpZ0txZoJ8XB97hellSjFP2WqgpKJquzbNA0qEUt94=\r
30 DomainKey-Signature: a=rsa-sha1; c=nofws; d=maillard.im; h=from:to:cc\r
31         :subject:in-reply-to:references:reply-to:date:message-id\r
32         :mime-version:content-type; q=dns; s=postfix; b=eCixXG5wEeNPL1Bq\r
33         PFoGffChOWxcZBAXmrOBAUOQTc7xhquj38T/QbJYUi6agk8GRdivGRh5HAIE5BPg\r
34         aUxhTGJCVFkZARMoKLbaBllNjHB9ifhg1G6qg5gKto75FGdWsPQFfMj4Y4cBi9BC\r
35         a0PfGSa7q6zts76ioMMq+8nPKcw=\r
36 Received: from maillard.im (cha51-3-88-164-105-66.fbx.proxad.net\r
37         [88.164.105.66])\r
38         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
39         (No client certificate requested)\r
40         by xhlj.maillard.im (Postfix) with ESMTPSA;\r
41         Sun, 22 Jan 2012 23:09:30 +0100 (CET)\r
42 From: Xavier Maillard <xavier@maillard.im>\r
43 To: Pieter Praet <pieter@praet.org>, Austin Clements <amdragon@MIT.EDU>\r
44 Subject: Re: [PATCH v3 2/2] search: Support automatic tag exclusions\r
45 In-Reply-To: <1327000744-25463-1-git-send-email-pieter@praet.org>\r
46 References: <1326586654-16840-3-git-send-email-amdragon@mit.edu>\r
47         <1327000744-25463-1-git-send-email-pieter@praet.org>\r
48 User-Agent: Notmuch/0.11 (http://notmuchmail.org) Emacs/23.2.1\r
49         (i486-slackware-linux-gnu)\r
50 Date: Sun, 22 Jan 2012 23:09:30 +0100\r
51 Message-ID: <m2ty3n2xut.fsf@kcals.intra.maillard.im>\r
52 MIME-Version: 1.0\r
53 Content-Type: text/plain; charset=us-ascii\r
54 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 Reply-To: Xavier Maillard <xma@gnu.org>\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: Sun, 22 Jan 2012 22:09:36 -0000\r
69 \r
70 Hey Pieter,\r
71 \r
72 On Thu, 19 Jan 2012 20:19:00 +0100, Pieter Praet <pieter@praet.org> wrote:\r
73 > Nice feature!  I won't be using it myself, but I can imagine it being\r
74 > *very* useful for those who still feel the need to "delete" email :).\r
75 \r
76 Adding a 'deleted' tag does not mean there will be a delete/purge\r
77 process ;) (currently I got 5k messages with the tag deleted ;). \r
78 \r
79 > Nitpicking:\r
80\r
81 \r
82 [ ... ]\r
83 \r
84 >   So I'd like to suggest replacing all occurences of "auto_exclude_tags"\r
85 >   with "search_exclude_tags" (and simply "exclude_tags" in the args to\r
86 >   `_config_get_list' and `_config_set_list', of course).\r
87 \r
88 +1\r
89  \r
90 >   Unfortunately, this would also partially invalidate your recent NEWS\r
91 >   submission [2].\r
92\r
93 > - If the 'search.exclude_tags' option is missing from the config file,\r
94 >   its value is automatically set to "deleted;spam;", which probably isn't\r
95 >   a sane default.  Luckily, you've already provided the solution [3].\r
96 \r
97 I am against doing something /unsafe/ in the user's back. If there is no\r
98 option set intentionnaly by the user, there is nothing notmuch should\r
99 do -i.e no exclusion -\r
100 \r
101 > - To make new users aware of the config option's existence, we should\r
102 >   prompt them to configure it during setup.\r
103 \r
104 +1\r
105 \r
106 /Xavier\r