[PATCH] Including 'unread' tag to mails without maildir flags

2010-11-19 Thread mes...@sindominio.net
From: Ruben Pollan <mes...@sindominio.net> Some mail fetchers, like fetchmail, leaves the email without ':2,' at the end of the filename. Notmuch didn't detect this emails as maildir, it didn't add the maildir flags to them. Now it detects if a mail is in a maildir by the directory str

[notmuch] [PATCH 2/2] Added regress option to messages iterator

2009-12-08 Thread mes...@sindominio.net
From: Ruben Pollan <mes...@sindominio.net> Added the functions notmuch_messages_regress and notmuch_messages_is_first to notmuch library. With them is possible to iterate backwards on messages. * notmuch_messages_regress do the opposite than notmuch_messages_advance, getting the me

[notmuch] [PATCH 1/2] Convert notmuch_message_list_t in a doubly linked

2009-12-08 Thread mes...@sindominio.net
From: Ruben Pollan <mes...@sindominio.net> The messages list now have pointers to previous nodes, so it is possible to iterate backwards. --- lib/messages.c| 18 +- lib/notmuch-private.h |3 ++- lib/thread.cc |4 ++-- 3 files changed, 17 insertions

[notmuch] regress option to messages iterator

2009-12-08 Thread mes...@sindominio.net
Two patches for implement the regress functions on messages. With them notmuch_messages_t can be use as an iterator forwards and backwards. Up to now not really useful, nothing use them. I send them mainly to review. I'll do the same to threads and tags, so the UIs can use them. PS: It's the