Re: [notmuch] [PATCH] notmuch: Add Maildir directory name as tag name for messages

Subject: Re: [notmuch] [PATCH] notmuch: Add Maildir directory name as tag name for messages

Date: Sun, 22 Nov 2009 17:00:36 +0100

To: djcb@djcbsoftware.nl

Cc: notmuch@notmuchmail.org

From: Michiel Buddingh'


Dirk-Jan C. Binnema <djcb.bulk@gmail.com> wrote:
>     Michiel> +
>     Michiel> +static void
>     Michiel> +derive_tags_from_maildir_flags (notmuch_message_t 
>     Michiel> *message, const char *
>     Michiel> path)
>
> I see you don't handle the "N" -- is that deliberate? Also, a 
> minor addition may to also allow for '!' instead of ':' as a 
> separator, as that's the semi-official way to use Maildirs on 
> (V)FAT filesystems (which don't allow for colons in filenames).

Not deliberate.  Simply unaware of the "N" flag, nor aware of 
practices for storing Maildirs on (V)FAT.

I've used only this file as a reference.
http://cr.yp.to/proto/maildir.html

mvg,
Michiel Buddingh'

Thread: