Re: [notmuch] [PATCH] Make search filters handle disjunctive queries.

Subject: Re: [notmuch] [PATCH] Make search filters handle disjunctive queries.

Date: Wed, 02 Dec 2009 14:46:04 +0100

To: Jan Janak

Cc: notmuch@notmuchmail.org

From: Jed Brown


On Wed, 2 Dec 2009 14:18:08 +0100, Jan Janak <jan@ryngle.com> wrote:
> I haven't been really following this thread in detail. What is that you need
> from notmuch-select-tag-with-completion? To be able to process a list of tags
> separated by spaces? Maybe I could help you with that.

No, it would need to take input separated by spaces, now I just get `[No
match]' when I try to enter a space.  I think it's just not how
completing-read works, the idea would be for the user to be able to type

  shorttag and not long<TAB>

which would complete to

  shorttag and not longboringtagname

The point of my patch was to be able to filter using arbitrary
expressions where every non-operator, i.e. `and', `or', `not', `(', and
`)', is interpreted as a tag name.  Is there an easy way to accept this
input without sacrificing completion?

Jed

Thread: