unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [wishlist bug] support custom ":count-query" attribute in notmuch-search
@ 2020-02-09 23:57 Nicholas D Steeves
  0 siblings, 0 replies; only message in thread
From: Nicholas D Steeves @ 2020-02-09 23:57 UTC (permalink / raw)
  To: notmuch

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-09 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 23:57 [wishlist bug] support custom ":count-query" attribute in notmuch-search Nicholas D Steeves

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).