Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / af / e2f789ac0f3008a9b98750706f43e269571dda
1 Return-Path: <amdragon@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 19644431FD0\r
6         for <notmuch@notmuchmail.org>; Tue, 24 May 2011 21:10:46 -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.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
13         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 eeoka8eab0wt for <notmuch@notmuchmail.org>;\r
17         Tue, 24 May 2011 21:10:44 -0700 (PDT)\r
18 Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com\r
19         [209.85.216.53]) (using TLSv1 with cipher RC4-MD5 (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id C1E57431FB6\r
22         for <notmuch@notmuchmail.org>; Tue, 24 May 2011 21:10:44 -0700 (PDT)\r
23 Received: by qwb7 with SMTP id 7so4499387qwb.26\r
24         for <notmuch@notmuchmail.org>; Tue, 24 May 2011 21:10:43 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:mime-version:sender:in-reply-to:references:date\r
27         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
28         :content-transfer-encoding;\r
29         bh=9MIh+o3jlDdybsbvCUDnHi9CNt2VEm1VVBVTnk0ctAk=;\r
30         b=IX94jSoUAJiWdb8+pDM72qtG/lUaH3FRm2MlJw3YsANj/72hqkwRB4gM5sU4dWJ4Uq\r
31         6/J+TJph3tHQtQ8WXgn7B0uokSTWLzShbHOZu2n1p76XdO52apNP5mo2WP5+W5ncE0UP\r
32         2Zpctqg19PCCr1MMY6tK5NRfHYtSWbWstP/gg=\r
33 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
34         h=mime-version:sender:in-reply-to:references:date\r
35         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
36         :content-transfer-encoding;\r
37         b=NRtl4N2mbQW1rZugCo/+smwh+rsZp7qTZXuiSllM3w9Je1mmxDzlhI+8RNevNjbfAJ\r
38         vsYqS/ih2XVZoyY7RXoNxcKLJRrzXT89fucf6ndbEsbFEocxoSBojxTHR0LQmzRneS6O\r
39         JGF93rHOTx8Lve3e7DW2Zvxxj/CrcPtxoKkKY=\r
40 MIME-Version: 1.0\r
41 Received: by 10.229.35.1 with SMTP id n1mr3465919qcd.84.1306296643630; Tue, 24\r
42         May 2011 21:10:43 -0700 (PDT)\r
43 Sender: amdragon@gmail.com\r
44 Received: by 10.229.188.68 with HTTP; Tue, 24 May 2011 21:10:43 -0700 (PDT)\r
45 In-Reply-To: <87fwoath2s.fsf@gilead.home.box>\r
46 References: <87fwoath2s.fsf@gilead.home.box>\r
47 Date: Wed, 25 May 2011 00:10:43 -0400\r
48 X-Google-Sender-Auth: -HWzIMRuwx_FaiQsX6BlJHH3i-w\r
49 Message-ID: <BANLkTinKS5LbQsZuK8HyCzj+Lo4xqa2Sfg@mail.gmail.com>\r
50 Subject: Re: [PATCH] emacs: Make the queries used in the all-tags section\r
51 From: Austin Clements <amdragon@mit.edu>\r
52 To: Daniel Schoepe <daniel.schoepe@googlemail.com>\r
53 Content-Type: text/plain; charset=ISO-8859-1\r
54 Content-Transfer-Encoding: quoted-printable\r
55 Cc: notmuch@notmuchmail.org\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: Wed, 25 May 2011 04:10:46 -0000\r
69 \r
70 Out of curiosity, what use cases do you envision for this?  So far\r
71 I've only heard two, both of which seem like great ideas, but neither\r
72 of which require such a heavy-handed solution: displaying unread\r
73 counts for tags rather than total counts, and hiding unused tags.\r
74 \r
75 I would argue that we *always* want to display unread counts (maybe in\r
76 addition to total counts, or maybe not).  In fact, I'm generally\r
77 surprised by how little notmuch treats the "unread" specially, given\r
78 how important that tag is to the user.  For example, I would similarly\r
79 find unread counts in the search results far more useful than the\r
80 count of messages matching the query.\r
81 \r
82 Hiding unused tags also seems like a genuinely useful feature, and\r
83 could be accomplished with a very simple customization UI (perhaps\r
84 even linked directly from the hello buffer).\r
85 \r
86 It seems to me like anything more sophisticated is better suited to a\r
87 saved search.\r
88 \r
89 On Thu, May 19, 2011 at 7:18 PM, Daniel Schoepe\r
90 <daniel.schoepe@googlemail.com> wrote:\r
91 >\r
92 > From the commit message:\r
93 >\r
94 > =A0 =A0emacs: Make queries used in the all-tags section configurable\r
95 >\r
96 > =A0 =A0This patch adds a customization variable that controls what querie=\r
97 s\r
98 > =A0 =A0are used to construct the all-tags section in notmuch-hello. It al=\r
99 lows\r
100 > =A0 =A0the user to specify a function to construct the query given a tag.=\r
101  It\r
102 > =A0 =A0also allows hiding tags by returning nil.\r
103 >\r
104 > Possible uses would be things like displaying the unread count for\r
105 > tags instead of all messages with that tag and/or hiding uninteresting\r
106 > tags like "signed" or "encrypted".\r
107 >\r
108 > -- Daniel\r