unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jameson Graef Rollins <jrollins@finestructure.net>
To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH v3 0/6] Move --no-exclude to --exclude=(true|false|flag)
Date: Fri, 06 Apr 2012 09:19:52 -0700	[thread overview]
Message-ID: <877gxs7ryv.fsf@servo.finestructure.net> (raw)
In-Reply-To: <87ty0w50r7.fsf@qmul.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]

On Fri, Apr 06 2012, Mark Walters <markwalters1009@gmail.com> wrote:
> There are some exclude tests for count in test/count. Do you think it
> needs to be a full test everything like in test/search-exclude?

Ah yes.  Somehow I missed that.

I might prefer to keep all exclude tests in one test script.  In which
case it would be good to move the count exclude tests there, and maybe
round it out by testing both exclude options.

> There aren't any tests for show exclude, but there aren't very many
> tests explicitly for show anyway. My preference would be to add
> something like
> id:"1332171061-27983-1-git-send-email-markwalters1009@gmail.com" and add
> some tests to that.

Oh wow I wonder why that hasn't been pushed yet.  That's a bunch of new
good tests.  It's a long changeset, which is probably why there aren't
any reviews, but it's all test additions so we should definitely
fast-track it.  I'll try to look at it this weekend.

> I could add some tests for show-excludes in the same format as the
> search-exclude tests though if you think that is better.

As I mentioned above, I personally think it would nice to test all the
exclude functionality in one test script.  So I would vote for adding
some show exclude tests there.  Definitely doesn't need to be as
exhaustive as the search tests, but at least covering both cli options.

jamie.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

      reply	other threads:[~2012-04-06 16:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-06 12:49 [PATCH v3 0/6] Move --no-exclude to --exclude=(true|false|flag) Mark Walters
2012-04-06 12:49 ` [PATCH v3 1/6] lib: change default for notmuch_query_set_omit_excluded Mark Walters
2012-04-06 12:49 ` [PATCH v3 2/6] cli: move count to the new --exclude=(true|false|flag) naming scheme Mark Walters
2012-04-06 12:49 ` [PATCH v3 3/6] cli: move search to the new --exclude= " Mark Walters
2012-04-06 12:49 ` [PATCH v3 4/6] test: add some exclude tests Mark Walters
2012-04-06 12:49 ` [PATCH v3 5/6] cli: move show to the new --exclude= option naming scheme Mark Walters
2012-04-06 12:49 ` [PATCH v3 6/6] emacs: make show set --exclude=false Mark Walters
2012-04-06 15:13 ` [PATCH v3 0/6] Move --no-exclude to --exclude=(true|false|flag) Jameson Graef Rollins
2012-04-06 15:38   ` Mark Walters
2012-04-06 16:19     ` Jameson Graef Rollins [this message]

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=877gxs7ryv.fsf@servo.finestructure.net \
    --to=jrollins@finestructure.net \
    --cc=markwalters1009@gmail.com \
    --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).