Building on Bremner's patch at <1411805835-3563-1-git-send-email-da...@tethera.net>, this updates 'notmuch new' to tag messages based on lower-case letters in the file name. I'm testing this with an IMAP server, offlineimap and notmuch, and seems to work well enough for my unidirectional use case. Eventually I'd like to implement the reverse path, i.e. tagging in notmuch and seeing IMAP keywords show up in the server, but that's for later.
Comments are very welcome. Igor Almeida (3): David Bremner's patch for custom maildir flags notmuch new: tag messages based on maildir custom flags notmuch new: sync maildir custom flag user configuration lib/database.cc | 61 +++++++++++++++++++++++++++++++++++++++ lib/message.cc | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/notmuch.h | 18 ++++++++++++ notmuch-client.h | 4 +++ notmuch-config.c | 24 +++++++++++++++- notmuch-new.c | 49 +++++++++++++++++++++++++++++++ 6 files changed, 243 insertions(+), 1 deletion(-) -- 2.5.3 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch