From: David Bremner <david@tethera.net>
To: Martin Monperrus <martin.monperrus@gnieh.org>, notmuch@notmuchmail.org
Subject: Re: bug report: query field in JSON output is not semantic
Date: Wed, 13 Nov 2024 05:46:40 -0600 [thread overview]
Message-ID: <87ttcbz78f.fsf@tethera.net> (raw)
In-Reply-To: <b88e2348-b168-449d-9ee9-e9a88f2769ab@gnieh.org>
Martin Monperrus <martin.monperrus@gnieh.org> writes:
> Hi Notmuch team,
>
Hi Martin.
>
> ###Expected behavior:
> "query" field contains a semantic list of ids that can be manipulated in pure JSON
>
This might indeed have been a reasonable design, but it's not what is
documented in devel/schemata. So it depends which expectations I guess.
> ### Actual behavior:
> "query" field contains a string that has to be
> parsed, split by space
Currently we do not fix the query in question to be a list of
id's, so I guess it would conform to the current spec to outpu
t some
other kind of query that needed to be parsed. I don't forsee doing that,
though, so perhaps in the long term we can make this change.
It would require potentially adjusting the emacs front end and any other
client relying on the JSON format, so it's not a completely trivial
change.
Thanks for your suggestion,
David
prev parent reply other threads:[~2024-11-13 11:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 6:08 bug report: query field in JSON output is not semantic Martin Monperrus
2024-11-13 11:46 ` David Bremner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttcbz78f.fsf@tethera.net \
--to=david@tethera.net \
--cc=martin.monperrus@gnieh.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).