From: Nicholas D Steeves <nsteeves@gmail.com>
To: notmuch@notmuchmail.org
Subject: [wishlist bug] support custom ":count-query" attribute in notmuch-search
Date: Sun, 09 Feb 2020 16:57:57 -0700 [thread overview]
Message-ID: <87eev3tit6.fsf@navis.i-did-not-set--mail-host-address--so-tickle-me> (raw)
[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]
Hi,
I chatted with dme on #notmuch@freenode on this topic, and he pointed me
in the right direction.
In notmuch-search of the Emacs interface, the "count" variable shows
"search-query-matches/messages-in-thread", and I would like it to show
"unread-search-query-matches/messages-in-thread", as a way of being able
to tell how much work it will be to catch up with new messages a long
thread. eg: more like the conventional "unread/total" thread summary
used by most MUAs.
(concat search-query-matches notmuch-search-count-attribute) seems like
it would do the trick, where notmuch-search-count-attribute=" +unread",
and based on the discussion with dme, it seems like supporting something
like the :count-query attribute (like notmuch-hello does) would do the
trick, but that said, it would be really nice to be able to use a method
that doesn't require duplication of the content of ":query" in
":count-query".
Please CC me on all replies as I am not subscribed to this list.
Thanks!
Nicholas
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
reply other threads:[~2020-02-09 23:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eev3tit6.fsf@navis.i-did-not-set--mail-host-address--so-tickle-me \
--to=nsteeves@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).