[notmuch] [PATCH] notmuch-new: Parse some maildir flags for labels

Michal Sojka sojkam1 at fel.cvut.cz
Mon Mar 22 14:49:35 PDT 2010


On Thu, 18 Mar 2010, Emil Sit wrote:
> Instead of blanket applying tag:inbox and tag:unread to
> all messages, when parsing a Maildir file, attempt to
> parse the flags encoded in the filename to determine whether
> to mark something as unread (and inbox).  Also, parse user
> flagged messages and trash messages.
> 
> Signed-off-by: Emil Sit <sit at emilsit.net>
> ---
> I confess that I'm not actively following the mailing list or actively using
> notmuch to read mail (the vim client seems not to work well for me on Ubuntu
> Hardy and not a huge emacs fan and don't have emacs23; still using mutt/mairix)
> so I apologize if something like this has been discussed/rejected before.  I've
> been playing with this patch locally and it definitely helped with the initial
> import.  It's a nice complement to notmuchsync.

Hi,

if I remember, there has been at least three different patches for this,
so you are the fourth :-) You're right that it helps a lot with initial
import. To promote my work a little bit, I use bidirectional
synchronization between maildir flags and notmuch tags, which I sent in
id:1268926780-20045-4-git-send-email-sojkam1 at fel.cvut.cz. I use IMAP
clients from time to time and this helps me a lot because the IMAP
server has almost never outdated status.

Bye
Michal


More information about the notmuch mailing list