Re: notmuch command-line arguments are not <search-term>s

Subject: Re: notmuch command-line arguments are not <search-term>s

Date: Tue, 25 Mar 2025 07:09:24 -0300

To: Ian! D. Allen, notmuch@notmuchmail.org

Cc:

From: David Bremner


"Ian! D. Allen" <idallen@idallen.ca> writes:

> Summary (TL;DR): The notmuch man page SYNOPSIS shows blank-separated
> command-line arguments labelled "<search-term>", but these are not
> search terms; these command-line arguments are merely pieces of
> arbitrary text concatenated together, separated by blanks, into one
> long query string that is then parsed for search terms.  Calling
> command-line arguments <search-term> is wrong.

In general if you want better error reporting I strongly suggest you
switch to the s-exp query parser.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: