[notmuch] [PATCH 1/2] lib/message: Add function to get maildir flags.
keithp at keithp.com
Sat Nov 21 16:28:30 PST 2009
On Sun, 22 Nov 2009 01:11:00 +0100, Stefan Schmidt <stefan at datenfreihafen.org> wrote:
> +const char *
> +notmuch_message_get_flags (notmuch_message_t *message)
This function should interpret the flags that it finds and return a
suitable set of notmuch tags. I'd suggest that 'unread' messages get
both 'unread' and 'inbox' tags, as Maildir doesn't distinguish between
'don't show this to be by default again please' and 'I've read this
message'. It seems best to hide the maildir-specific details inside the
library instead of exposing them.
Also, we have only the 'unread' tag; we don't have a 'read' tag, which
would simply be the inverse of 'unread'.
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the notmuch