Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 57C2E40DBDC for ; Thu, 11 Nov 2010 14:38:16 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UdA37amk3Ebi; Thu, 11 Nov 2010 14:38:05 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B6D2A40DBCF; Thu, 11 Nov 2010 14:38:05 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 5870925412B; Thu, 11 Nov 2010 14:38:05 -0800 (PST) From: Carl Worth To: Kristoffer =?utf-8?Q?Str=C3=B6m?= , notmuch@notmuchmail.org Subject: Re: Maildir-flags synchronization now on master branch In-Reply-To: <878w10q7as.fsf@rymdkoloni.se> References: <87iq04nh8v.fsf@yoom.home.cworth.org> <878w10q7as.fsf@rymdkoloni.se> User-Agent: Notmuch/0.4 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Thu, 11 Nov 2010 14:38:05 -0800 Message-ID: <8739r7o59u.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 22:38:16 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, 11 Nov 2010 15:11:23 +0100, Kristoffer Str=C3=B6m 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 r= elies on filenames not changing.=20 > 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. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFM3HBN6JDdNq8qSWgRAil7AKCQY5KAY9oGtPJIlBO+8SxBh+PG+QCgiCCS X606UcnU+hFUj4XUUikj2uY= =B6Wb -----END PGP SIGNATURE----- --=-=-=--