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 12:32:33 +0200

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

Cc:

From: Tomi Ollila


On Tue, Mar 25 2025, David Bremner wrote:

> "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.

Too long for you, David ? >;D

What is right or wrong is arguably, but sure, that part of the namual pages
could be improved. How to make that "best enough" is harder to decide :D

Tomi
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: