Default is "unread,draft,flagged,passed,replied,attachment".
- notmuch_unread_tag = tag:<name>
+ notmuch_unread_tag = <name>
This variable specifies notmuch tag which is used for unread messages. The
variable is used to count unread messages in DB only. All other mutt
commands use standard (e.g. maildir) flags.
- Default is "tag:unread".
+ Default is "unread".
vfolder_format = <string>
** This variable specifies private notmuch tags which should not be printed
** on screen.
*/
- { "nm_unread_tag", DT_STR, R_NONE, UL &NotmuchUnreadTag, UL "tag:unread" },
+ { "nm_unread_tag", DT_STR, R_NONE, UL &NotmuchUnreadTag, UL "unread" },
/*
** .pp
** This variable specifies notmuch tag which is used for unread messages. The
*new = all ? *all : count_query(db, db_query);
else {
size_t qsz = strlen(db_query)
- + sizeof(" and ")
+ + sizeof(" and tag:")
+ strlen(NotmuchUnreadTag);
char *qstr = safe_malloc(qsz + 10);
if (!qstr)
goto done;
- snprintf(qstr, qsz, "%s and %s", db_query, NotmuchUnreadTag);
+ snprintf(qstr, qsz, "%s and tag:%s", db_query, NotmuchUnreadTag);
*new = count_query(db, qstr);
FREE(&qstr);
}