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

Jed Brown jed at 59A2.org
Wed Dec 2 05:46:04 PST 2009


On Wed, 2 Dec 2009 14:18:08 +0100, Jan Janak <jan at 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


More information about the notmuch mailing list