unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* match: in structured "notmuch reply" output
@ 2018-05-04  2:26 Daniel Kahn Gillmor
  0 siblings, 0 replies; only message in thread
From: Daniel Kahn Gillmor @ 2018-05-04  2:26 UTC (permalink / raw)
  To: Notmuch Mail

hey good notmuch people.

I noticed today that "notmuch reply --format=json id:foo@example.net"
emits a json object that contains:

   "match": false,

reading devel/schemata, it looks like this is kind of a vestigial thing
from "notmuch show" and it doesn't really belong in "notmuch reply".

bremner points out on IRC that removing this element would be a
backward-incompatible change for the schema.  we could also change its
output to true (since presumably it does match the requested e-mail).

or, we could just ignore the issue and try to remember to rip it out
next time we change the output format, as i think every consumer of
structured "notmuch reply" output already probably ignores this flag.

if you're working on a consumer of "notmuch reply" structured output,
does this flag mean anything to you? does it need to stick around, or
does its value mean something one way or another?

     --dkg

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-04  2:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-04  2:26 match: in structured "notmuch reply" output Daniel Kahn Gillmor

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