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

Michiel Buddingh' michiel at michielbuddingh.net
Sun Nov 22 08:00:36 PST 2009


Dirk-Jan C. Binnema <djcb.bulk at 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'


More information about the notmuch mailing list