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 1958B431FAF for ; Wed, 5 Nov 2014 12:58:33 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 Y5FWkzwJsn6l for ; Wed, 5 Nov 2014 12:58:25 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 22BB8431FAE for ; Wed, 5 Nov 2014 12:58:25 -0800 (PST) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 8EE9C100033; Wed, 5 Nov 2014 22:57:54 +0200 (EET) From: Tomi Ollila To: Michal Sojka , notmuch@notmuchmail.org Subject: Re: [PATCH v3 09/10] cli: address: Add --output=count In-Reply-To: <1415147159-19946-10-git-send-email-sojkam1@fel.cvut.cz> References: <1415147159-19946-1-git-send-email-sojkam1@fel.cvut.cz> <1415147159-19946-10-git-send-email-sojkam1@fel.cvut.cz> User-Agent: Notmuch/0.18.2+169~g5bcdd1c (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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, 05 Nov 2014 20:58:33 -0000 On Wed, Nov 05 2014, Michal Sojka wrote: > This output prints how many times was each address encountered during > search. > --- > [ nn lines removed] > > ``--sort=``\ (**newest-first**\ \|\ **oldest-first**) > This option can be used to present results in either > chronological order (**oldest-first**) or reverse chronological > @@ -56,6 +63,8 @@ Supported options for **address** include > By default, results will be displayed in reverse chronological > order, (that is, the newest results will be displayed first). > > + This option has no effect when used with --output=count. This is not entirely true -- the order the addresses are gathered will affect how the hash table is built up and it may affect how the addresses are printed (unless the --sort option is ignored when --count is given, which does not seem to be the case). The question is whether the accuracy of this message matters; some nitpickers might complain ;) Anyway, +1 from me to patches 1 - 9 -- these things could still be adjusted when NEWS patch of the feature is prepared. Tomi