aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-completion.bash
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-24 22:23:58 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-24 22:23:58 -0700
commitaa46a683a85af0d0234720bd93ae3d09bc360910 (patch)
tree38d946e5743ea61faa4ff2fdfdd1d2c29f32fd37 /notmuch-completion.bash
parent17f9c6a0ef7fb303c4b60422667ad063d91234bc (diff)
Add the magic to allow searches such as "tag:inbox".
The key for this is call add_boolean_prefix on the QueryParser object. That tells the query parser to take something like "tag:inbox" and transform it into the "Linbox" term and do what it needs to do to make this term a requirement of the search. We're starting to have a real system here. Also, I didn't want to expose the ugly name of "msgid" to the user, so we add a prefix name of simply "id" instead.
Diffstat (limited to 'notmuch-completion.bash')
0 files changed, 0 insertions, 0 deletions