unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Anthony Towns <aj@erisian.com.au>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH] Have notmuch count default to showing the total.
Date: Sat, 10 Apr 2010 05:28:32 +1000	[thread overview]
Message-ID: <h2x87b3a4191004091228nae33f127le9754973709de659@mail.gmail.com> (raw)
In-Reply-To: <87bpdsu6ds.fsf@SSpaeth.de>

On Fri, Apr 9, 2010 at 23:01, Sebastian Spaeth <Sebastian@sspaeth.de> wrote:
> On 2010-04-08, Mike Kelly wrote:
>> If no parameters are given to notmuch-count, or just '' or '*' are
>> given, return the total number of messages in the database.
> I know that cworth was concerned about this syntax on IRC as that would
> mean that "notmuch show" would have to spew out all your emails in order
> to remain consistent with the search term (he rather wanted to output a
> help text if no search term was given).

What's wrong with having them inconsistent in this one respect? [0]

$ notmuch count
96632
$ notmuch search
Error: notmuch search requires at least one search term.

...seems pretty logical behaviour to me?

Cheers,
aj

[0] Not much, afaics! [1]
[1] Man, what are the chances that will ever get old? [0]

-- 
Anthony Towns <aj@erisian.com.au>

  parent reply	other threads:[~2010-04-09 19:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 19:39 [PATCH] Have notmuch count default to showing the total Mike Kelly
2010-04-09 13:01 ` Sebastian Spaeth
2010-04-09 17:19   ` Dirk Hohndel
2010-04-09 23:33     ` Carl Worth
2010-04-09 19:28   ` Anthony Towns [this message]
2010-04-09 19:39     ` Mark Anderson
2010-04-09 20:07     ` Jameson Rollins
2010-04-09 20:19     ` Mike Kelly
2010-04-10  0:48 ` Carl Worth

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=h2x87b3a4191004091228nae33f127le9754973709de659@mail.gmail.com \
    --to=aj@erisian.com.au \
    --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).