unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: RFC: do what jamie wants with notmuch tag
Date: Thu, 30 Jun 2016 10:40:25 +0200	[thread overview]
Message-ID: <1467276027-30633-1-git-send-email-david@tethera.net> (raw)
In-Reply-To: <87fustdsx9.fsf@zancas.localnet>

The second patch in particular could be cleaned up; there is definitely some
duplication between the two code paths, so opening the database and
creating a query could/should be refactored.

It seems somewhat reasonable to have notmuch_query_search_tags in the
API. I would say just document the limitation of ignoring excludes
when querying for all tags, otherwise that optimization (which is a
huge speed improvement) will mostly be useless.

  parent reply	other threads:[~2016-06-30  8:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-04 12:45 [Jameson Graef Rollins] Bug#826280: notmuch: shortcut to list tags David Bremner
2016-06-04 12:53 ` David Bremner
     [not found]   ` <CAMEnOBLrmjhERgGRJ2UC8ZSPQOEPCtr7_4pqq+Uot201G2fDcA@mail.gmail.com>
2016-06-04 17:52     ` David Bremner
2016-06-05  9:51 ` Tomi Ollila
2016-06-30  8:40 ` David Bremner [this message]
2016-06-30  8:40   ` [PATCH 1/2] WIP: refactor tag search into library routine David Bremner
2016-06-30  8:40   ` [PATCH 2/2] WIP: treat notmuch tag without operations as query David Bremner

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=1467276027-30633-1-git-send-email-david@tethera.net \
    --to=david@tethera.net \
    --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).