Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 02C73429E43 for ; Wed, 15 Feb 2012 12:58:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mkedSDoUsPLk for ; Wed, 15 Feb 2012 12:58:21 -0800 (PST) Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 97775429E42 for ; Wed, 15 Feb 2012 12:58:20 -0800 (PST) Received: by lahd3 with SMTP id d3so1548282lah.26 for ; Wed, 15 Feb 2012 12:58:17 -0800 (PST) Received: by 10.112.86.106 with SMTP id o10mr9530691lbz.27.1329339497443; Wed, 15 Feb 2012 12:58:17 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-fe50f800-253.dhcp.inet.fi. [84.248.80.253]) by mx.google.com with ESMTPS id m3sm4489818lbm.17.2012.02.15.12.58.15 (version=SSLv3 cipher=OTHER); Wed, 15 Feb 2012 12:58:16 -0800 (PST) From: Jani Nikula To: Tomi Ollila , Adam Wolfe Gordon , Dmitry Kurochkin Subject: Re: [PATCH] emacs: Add the option of counting threads in notmuch-hello In-Reply-To: References: <1329319688-16056-1-git-send-email-awg+notmuch@xvx.ca> <87bop0gklt.fsf@gmail.com> User-Agent: Notmuch/0.11.1+184~g8bc41ed (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Wed, 15 Feb 2012 22:58:08 +0200 Message-ID: <874nurlspr.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkug6u9taqu/WnYJfpeOyuQhVjURAQkJaiaFm64bNnoXom0pJnfAZCQo2tYzfg/NnPpV47M Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 20:58:26 -0000 On Wed, 15 Feb 2012 19:14:19 +0200, Tomi Ollila wrote: > On Wed, 15 Feb 2012 09:23:31 -0700, Adam Wolfe Gordon wrote: > > On Wed, Feb 15, 2012 at 08:52, Dmitry Kurochkin > > wrote: > > > Can we delay this patch until user-defined sections are pushed? =C2= =A0I know > > > I promised to review it long ago. =C2=A0But I still did not manage to= finish > > > it yet. =C2=A0I hope I can do it in the beginning of the next week. > >=20 > > Absolutely. I was just building new notmuch packages for myself this > > morning and realized I had this commit sitting in my tree collecting > > dust. >=20 > notmuch count is fast > notmuch count --output=3Dthreads is slower Yup, it's because you can't query Xapian about threads. Compare notmuch_query_count_{messages,threads} in lib/query.cc for details. > 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=20 > to message count like >=20 > "You have nn,nnn messages in n,nnn threads" >=20 > Tomi > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch