unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch show should tell us what messages matched the search expression
@ 2009-11-25  4:54 Bart Trojanowski
  2009-11-25  4:54 ` [PATCH 1/3] message: add flags to notmuch_message_t Bart Trojanowski
  0 siblings, 1 reply; 10+ messages in thread
From: Bart Trojanowski @ 2009-11-25  4:54 UTC (permalink / raw)
  To: notmuch

The following 3 patches implement this feature.

Internally the message object learns about flags.  Only a single flag is
defined to denote that a message matched the search expression.

That flag is then rendered on the "message{" line in the output of
notmuch show like this:

message{ id:... depth:4 match:0 filename:...
message{ id:... depth:4 match:1 filename:...

This can now be used by UI interfaces to hide or collapse less
interesting messages.

-Bart

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

end of thread, other threads:[~2009-12-03  0:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25  4:54 notmuch show should tell us what messages matched the search expression Bart Trojanowski
2009-11-25  4:54 ` [PATCH 1/3] message: add flags to notmuch_message_t Bart Trojanowski
2009-11-25  4:54   ` [PATCH 2/3] have _notmuch_thread_create mark which messages matched the query Bart Trojanowski
2009-11-25  4:54     ` [PATCH 3/3] notmuch-show: identify which messages printed matched the query string Bart Trojanowski
2009-11-28  1:15     ` [PATCH 2/3] have _notmuch_thread_create mark which messages matched the query Carl Worth
2009-11-28  2:20       ` [PATCH] correct message flag enum value so that it matches the type Bart Trojanowski
2009-11-28  2:21       ` [PATCH 2/3] have _notmuch_thread_create mark which messages matched the query Bart Trojanowski
2009-11-28  2:49         ` [PATCH 1/2] notmuch-show: limit display to only matching messages Bart Trojanowski
2009-11-28  2:49           ` [PATCH 2/2] vim: use notmuch show --entire-thread Bart Trojanowski
2009-12-03  0:19           ` [PATCH 1/2] notmuch-show: limit display to only matching messages Carl Worth

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