unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Add support for `thread` field in `notmuch show`
@ 2020-04-29 16:18 Ciprian Dorin Craciun
  2020-05-01 12:09 ` David Bremner
  0 siblings, 1 reply; 4+ messages in thread
From: Ciprian Dorin Craciun @ 2020-04-29 16:18 UTC (permalink / raw)
  To: notmuch

According to the `devel/schemata` the message object doesn't contain
the thread identifier to which it was assigned in the database.

Sometimes, for example in an UI that displays a search result at
message level, it would be useful to know the thread each message
belongs to, so the user can easily switch to the entire thread.

I know that one can use `thread:{id:MESSAGE_ID}` to achieve the same
result, however:
* it is somewhat cumbersome for the integrator;
* having the thread identifier explicitly, could be used as a key in a
cache, or other internal lookups;

In fact the only way one can extract the thread identifier via the
`notmuch` CLI is to use `notmuch search --output=threads --
id:MESSAGE_ID`

Ciprian.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-01 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 16:18 Add support for `thread` field in `notmuch show` Ciprian Dorin Craciun
2020-05-01 12:09 ` David Bremner
2020-05-01 12:14   ` David Bremner
2020-05-01 12:17   ` Ciprian Dorin Craciun

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