[PATCH] emacs: Make the queries used in the all-tags section
Austin Clements
amdragon at mit.edu
Tue May 24 21:10:43 PDT 2011
Out of curiosity, what use cases do you envision for this? So far
I've only heard two, both of which seem like great ideas, but neither
of which require such a heavy-handed solution: displaying unread
counts for tags rather than total counts, and hiding unused tags.
I would argue that we *always* want to display unread counts (maybe in
addition to total counts, or maybe not). In fact, I'm generally
surprised by how little notmuch treats the "unread" specially, given
how important that tag is to the user. For example, I would similarly
find unread counts in the search results far more useful than the
count of messages matching the query.
Hiding unused tags also seems like a genuinely useful feature, and
could be accomplished with a very simple customization UI (perhaps
even linked directly from the hello buffer).
It seems to me like anything more sophisticated is better suited to a
saved search.
On Thu, May 19, 2011 at 7:18 PM, Daniel Schoepe
<daniel.schoepe at googlemail.com> wrote:
>
> From the commit message:
>
> emacs: Make queries used in the all-tags section configurable
>
> This patch adds a customization variable that controls what queries
> are used to construct the all-tags section in notmuch-hello. It allows
> the user to specify a function to construct the query given a tag. It
> also allows hiding tags by returning nil.
>
> Possible uses would be things like displaying the unread count for
> tags instead of all messages with that tag and/or hiding uninteresting
> tags like "signed" or "encrypted".
>
> -- Daniel
More information about the notmuch
mailing list