Re: [PATCH] emacs: Add the option of counting threads in notmuch-hello

Subject: Re: [PATCH] emacs: Add the option of counting threads in notmuch-hello

Date: Wed, 15 Feb 2012 20:24:27 +0000

To: Tomi Ollila, Adam Wolfe Gordon, Dmitry Kurochkin

Cc: notmuch@notmuchmail.org

From: Mark Walters


On Wed, 15 Feb 2012 19:14:19 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
> On Wed, 15 Feb 2012 09:23:31 -0700, Adam Wolfe Gordon <awg+notmuch@xvx.ca> wrote:
> > On Wed, Feb 15, 2012 at 08:52, Dmitry Kurochkin
> > <dmitry.kurochkin@gmail.com> wrote:
> > > Can we delay this patch until user-defined sections are pushed?  I know
> > > I promised to review it long ago.  But I still did not manage to finish
> > > it yet.  I hope I can do it in the beginning of the next week.
> > 
> > Absolutely. I was just building new notmuch packages for myself this
> > morning and realized I had this commit sitting in my tree collecting
> > dust.
> 
> notmuch count is fast
> notmuch count --output=threads  is slower
> 
> I was thinking why not show both? but as threads
> count is slow there could be customization variable
> for showing *optionally* thread count in addition 
> to message count like
> 
> "You have nn,nnn messages in n,nnn threads"


At the risk of reducing this to bikeshedding I would prefer an option to
disable the counts totally: even counting messages is annoyingly
slow. Maybe this will all be fixed by the user-defined sections patch
though.

Best wishes

Mark

Thread: