[Patch v2 2/4] doc: add more information on operators.
W. Trevor King
wking at tremily.us
Mon Feb 23 12:13:33 PST 2015
On Mon, Feb 23, 2015 at 09:05:35PM +0100, David Bremner wrote:
> +In addition to individual terms, multiple terms can be combined with
> +Boolean operators (**and**, **or**, **not**, and **xor**). Each term
> +in the query will be implicitly connected by a logical AND if no
> +explicit operator is provided, (except that terms with a common prefix
> +will be implicitly combined with OR). The shorthand '-<term>' can be used for 'not <term>' but
> +unfortunately this does not work at the start of an expression.
> Parentheses can also be used to control the combination of the Boolean
> operators, but will have to be protected from interpretation by the
> shell, (such as by putting quotation marks around any parenthesized
> expression).
We should probably:
* Re-wrap the paragraph to avoid one long line.
* Drop the comma before the “(except …)” parens.
Cheers,
Trevor
--
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20150223/2609dd6c/attachment.pgp>
More information about the notmuch
mailing list