const char *name, *value;
unsigned int i;
- printf ("\fmessage{ id:%s depth:%d filename:%s\n",
+ printf ("\fmessage{ id:%s depth:%d match:%d filename:%s\n",
notmuch_message_get_message_id (message),
indent,
+ notmuch_message_get_flag (message, NOTMUCH_MSG_FLAG_MATCHING_SEARCH),
notmuch_message_get_filename (message));
printf ("\fheader{\n");
return 1;
}
- for (threads = notmuch_query_search_threads (query, 0, -1);
+ for (threads = notmuch_query_search_threads (query);
notmuch_threads_has_more (threads);
notmuch_threads_advance (threads))
{