From: Ruben Pollan
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 structure, and add its
maildir flags
From: Ruben Pollan
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 messages iterator one position backwar
From: Ruben Pollan
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(+), 8 deletions(-)
diff --gi
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 fir