From: Carl Worth <cworth@cworth.org>
To: Jed Brown <jed@59A2.org>, notmuch@notmuchmail.org
Subject: Re: [PATCH] Make search filters handle disjunctive queries.
Date: Tue, 01 Dec 2009 18:56:59 -0800 [thread overview]
Message-ID: <87bpii9j7o.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <1258999643-30742-1-git-send-email-jed@59A2.org>
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]
On Mon, 23 Nov 2009 19:07:23 +0100, Jed Brown <jed@59A2.org> wrote:
> notmuch-search-filter accepts now accepts an arbitrary query and will
> group if necessary so that we get
>
> tag:inbox AND (gravy OR biscuits)
>
> notmuch-search-filter-tag now handles multiple terms. All terms in the
> query except AND and OR are interpreted as tags.
Hi Jed,
Sorry this one has sat in my queue for a while. But I finally got around
to it.
The above commit message (and the patch below) really do implement two
separate features, so really should be separated into two separate
commits. I do like both of the ideas, and will be glad to commit both
when they arrive separate.
> This version has nice regexes and handles NOT.
And that kind of commentary, (referring to a previous revision of the
patch), is great in an email discussion like we're having here, but
won't make any sense within the context of the log of commit
messages. So such commentary is best placed *after* the "---" separator.
> Signed-off-by: Jed Brown <jed@59A2.org>
> ---
That is, the commentary would go here in the original message, and then
I won't have to "commit --amend" the commentary away after applying the
patch.
Thanks,
-Carl
PS. Hmm... "notmuch reply" needs to be more clever to avoid duplicate
addresses in the To: and Cc: lines. See above.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2009-12-02 2:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 21:26 [RFC] Precedence of OR and AND Jed Brown
2009-11-22 21:36 ` Bart Trojanowski
2009-11-22 21:43 ` Jed Brown
2009-11-22 21:47 ` Bart Trojanowski
2009-11-23 4:39 ` Carl Worth
2009-11-23 11:49 ` [PATCH] Make search filters handle disjunctive queries Jed Brown
2009-11-23 18:07 ` Jed Brown
2009-11-23 18:26 ` Keith Packard
2009-11-23 18:48 ` Jed Brown
2009-12-02 2:56 ` Carl Worth [this message]
2009-12-02 10:59 ` Jed Brown
2009-12-02 11:00 ` Jed Brown
2009-12-04 19:13 ` Carl Worth
2009-12-02 13:18 ` Jan Janak
2009-12-02 13:46 ` Jed Brown
2009-12-02 14:38 ` Jan Janak
2009-12-02 14:52 ` Jed Brown
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=87bpii9j7o.fsf@yoom.home.cworth.org \
--to=cworth@cworth.org \
--cc=jed@59A2.org \
--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).