Re: Maildir-flags synchronization now on master branch

Subject: Re: Maildir-flags synchronization now on master branch

Date: Thu, 11 Nov 2010 14:38:05 -0800

To: Kristoffer Ström, notmuch@notmuchmail.org

Cc:

From: Carl Worth


On Thu, 11 Nov 2010 15:11:23 +0100, Kristoffer Ström <kristoffer@rymdkoloni.se> wrote:
> >   1. Don't do maildir-flag things in non-maildir directories
...
> I'm just pinging that the small feedreader sluk i'm writing/maintaining relies on filenames not changing. 
> So if anyone's using it be careful, and #1 would be a tad more important then.

Hi Kristoffer,

I really like the idea of sluk, and I don't want to make it painful to
use. So that's for pointing out this problem.

I've now pushed a change that will avoid doing any renaming except in
directories named either "new" or "cur".

That's not the strongest heuristic for detecting maildir, (we could
actually look and see if all three of "cur", "new", and "tmp"
directories exist, for example). But it's at least a very cheap
heuristic. So hopefully this will help for your use case.

And obviously, one can still configure the maildir synchronization off
(globally) if desired.

-Carl

-- 
carl.d.worth@intel.com
part-000.sig (application/pgp-signature)

Thread: