Re: Maildir-flags synchronization now on master branch
authorCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 22:38:05 +0000 (14:38 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:27 +0000 (09:37 -0800)
7d/0310921c7fa16acb7222f84c8056804a26e913 [new file with mode: 0644]

diff --git a/7d/0310921c7fa16acb7222f84c8056804a26e913 b/7d/0310921c7fa16acb7222f84c8056804a26e913
new file mode 100644 (file)
index 0000000..92e237b
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 57C2E40DBDC\r
+       for <notmuch@notmuchmail.org>; Thu, 11 Nov 2010 14:38:16 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.9 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id UdA37amk3Ebi; Thu, 11 Nov 2010 14:38:05 -0800 (PST)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B6D2A40DBCF;\r
+       Thu, 11 Nov 2010 14:38:05 -0800 (PST)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 5870925412B; Thu, 11 Nov 2010 14:38:05 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Kristoffer =?utf-8?Q?Str=C3=B6m?= <kristoffer@rymdkoloni.se>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: Maildir-flags synchronization now on master branch\r
+In-Reply-To: <878w10q7as.fsf@rymdkoloni.se>\r
+References: <87iq04nh8v.fsf@yoom.home.cworth.org>\r
+       <878w10q7as.fsf@rymdkoloni.se>\r
+User-Agent: Notmuch/0.4 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i486-pc-linux-gnu)\r
+Date: Thu, 11 Nov 2010 14:38:05 -0800\r
+Message-ID: <8739r7o59u.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 11 Nov 2010 22:38:16 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Thu, 11 Nov 2010 15:11:23 +0100, Kristoffer Str=C3=B6m <kristoffer@rymdk=\r
+oloni.se> wrote:\r
+> >   1. Don't do maildir-flag things in non-maildir directories\r
+...\r
+> I'm just pinging that the small feedreader sluk i'm writing/maintaining r=\r
+elies on filenames not changing.=20\r
+> So if anyone's using it be careful, and #1 would be a tad more important =\r
+then.\r
+\r
+Hi Kristoffer,\r
+\r
+I really like the idea of sluk, and I don't want to make it painful to\r
+use. So that's for pointing out this problem.\r
+\r
+I've now pushed a change that will avoid doing any renaming except in\r
+directories named either "new" or "cur".\r
+\r
+That's not the strongest heuristic for detecting maildir, (we could\r
+actually look and see if all three of "cur", "new", and "tmp"\r
+directories exist, for example). But it's at least a very cheap\r
+heuristic. So hopefully this will help for your use case.\r
+\r
+And obviously, one can still configure the maildir synchronization off\r
+(globally) if desired.\r
+\r
+=2DCarl\r
+\r
+=2D-=20\r
+carl.d.worth@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFM3HBN6JDdNq8qSWgRAil7AKCQY5KAY9oGtPJIlBO+8SxBh+PG+QCgiCCS\r
+X606UcnU+hFUj4XUUikj2uY=\r
+=B6Wb\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r