Re: synchronize_flags leaving files in new (was muchsync files renames)
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Wed, 2 Sep 2015 21:01:26 +0000 (22:01 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:29 +0000 (14:49 -0700)
0b/b0f62de54d27506616db667f254282e52206cf [new file with mode: 0644]

diff --git a/0b/b0f62de54d27506616db667f254282e52206cf b/0b/b0f62de54d27506616db667f254282e52206cf
new file mode 100644 (file)
index 0000000..1432645
--- /dev/null
@@ -0,0 +1,120 @@
+Return-Path: <aidecoe@aidecoe.name>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 275906DE0C81\r
+ for <notmuch@notmuchmail.org>; Wed,  2 Sep 2015 14:01:41 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.004\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.004 tagged_above=-999 required=5 tests=[AWL=0.097,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id YeG1vI-7D_8Z for <notmuch@notmuchmail.org>;\r
+ Wed,  2 Sep 2015 14:01:39 -0700 (PDT)\r
+Received: from jim.zolnowski.name (jim.zolnowski.name [188.116.54.122])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id C3E336DE0C3F\r
+ for <notmuch@notmuchmail.org>; Wed,  2 Sep 2015 14:01:38 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\r
+ d=aidecoe.name; s=jim;\r
+  h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=m+EoKqAUltWO9707vumqQK349eKWcWXJM++bJ7PGfp8=;\r
+  b=lwkVroZ+Cl9Lzd9Gh9f7j6RhbwtOHlgltFoaZIVnm9Q5Hhd7ss/Agvr9yYZ8TCexs2oH9SlZJwc2985d8AS9Q4qreuhrSDmKzrrtYQUEFe2fTzNqvIn3Igsr3jOPwZiM7oD2KucQHghJf+TlpiHFClSj7lfCEpIOa/tzfenkMk2AYe0tSxTywqFKdgz1OM4HlCQ0mEb2v1EKtoJ7eGCUrI0UmvVUL5/up0XelxiV3n2/2o1fMNGhE8XlWyg6pmEE7TumomHc+AqwSRVVRwc1svEAN2TFd2kVGW0Bjif2n8Bgyt2kul/WTIB3r8tg/ADa0MJrlpR+A/p7bEvWiW91XA==;\r
+Received: from cpc3-cmbg17-2-0-cust294.5-4.cable.virginm.net ([86.22.65.39]\r
+ helo=localhost)\r
+ by jim.zolnowski.name with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256)\r
+ (Exim 4.85) (envelope-from <aidecoe@aidecoe.name>)\r
+ id 1ZXF9w-0008UT-5H; Wed, 02 Sep 2015 23:01:32 +0200\r
+From: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= <aidecoe@aidecoe.name>\r
+To: David Mazieres expires 2015-11-30 PST\r
+ <mazieres-id6wst8pvwmdssdepck8t5fkje@temporary-address.scs.stanford.edu>\r
+Subject: Re: synchronize_flags leaving files in new (was muchsync files\r
+ renames)\r
+In-Reply-To: <87k2s93ewg.fsf@ta.scs.stanford.edu>\r
+References: <878u93ujdo.fsf@freja.aidecoe.name>\r
+ <876146o920.fsf@ta.scs.stanford.edu> <871teu8kdd.fsf@freja.aidecoe.name>\r
+ <87oahxojlv.fsf@ta.scs.stanford.edu> <87vbbwnbb4.fsf@freja.aidecoe.name>\r
+ <87io7wr50y.fsf@ta.scs.stanford.edu> <87k2sbmzww.fsf@freja.aidecoe.name>\r
+ <87oahnmkqf.fsf@ta.scs.stanford.edu> <87egijm7kw.fsf@freja.aidecoe.name>\r
+ <878u8rvxap.fsf@ta.scs.stanford.edu> <87613tn45m.fsf@freja.aidecoe.name>\r
+ <87k2s93ewg.fsf@ta.scs.stanford.edu>\r
+User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 02 Sep 2015 22:01:26 +0100\r
+Message-ID: <87vbbslemx.fsf@freja.aidecoe.name>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha512; protocol="application/pgp-signature"\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Wed, 02 Sep 2015 21:01:41 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+David Mazieres expires 2015-11-30 PST\r
+<mazieres-id6wst8pvwmdssdepck8t5fkje@temporary-address.scs.stanford.edu>\r
+writes:\r
+>> $ notmuch tag +hey thread:00000000000108bf\r
+>> $ notmuch search thread:00000000000108bf\r
+>> thread:00000000000108bf  Yest. 11:58 [1/1] Somebody; Subject (hey reklam=\r
+a unread)\r
+>> $ notmuch search --output=3Dfiles thread:00000000000108bf\r
+>> /home/aidecoe/Mail/aidecoe/2015/new/1441022521.M714465P23412V00000000000=\r
+0FE04I0000000000141A38_0.freja,S=3D53857\r
+>\r
+> First, just to be absolutely sure, doe the file exist?\r
+\r
+100% sure.\r
+\r
+\r
+> Second, I wonder if the ",S=3D53857" suffix (size) is throwing things\r
+> off.  Perhaps libnotmuch only expects suffixes when they are of the\r
+> form ",S=3D53857:2,<flags>."  Since muchsync does not add a size field\r
+> (in either the new or cur subdirectory), it could be leading to the\r
+> different behavior.  To test this, can you rename the file in the new\r
+> directory without the ",S=3D..." and see if the behavior changes?\r
+\r
+,S=3D... doesn't have any impact. I have tested it.\r
+\r
+\r
+=2D-=20\r
+Amadeusz =C5=BBo=C5=82nowski\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.1\r
+\r
+iQJ8BAEBCgBmBQJV52OmXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMzcyRTFENjI5NUM1MzYwQTQwODQyRUZD\r
+QkNDODAyM0Y1OUUxNzA0AAoJEMvMgCP1nhcEKrEQAL3OLzVi02jBW8/EHCqJks/e\r
+QNwxkVIu5q0pqhTMgCA8Ua022lrDu9Yt/HordEqgCVitgq0BCcpjE2MTLTd7HMru\r
+uYzi/cgKwa0dB05gVC7eh0NIZAxFbBIOlq//Y8s/bFnEIU7WK+ro8hFxqV7X4YgO\r
+NB0o5AUaOPgd5PAicc4ul7Jp3t8O/7p7u0pT0XdXJkSKxUNvHP5e9tUHPOTfpvd3\r
+fOV/wCmv50N78lgw/BCdQUwN8zLXPqaPFp66IVu3YiLwO3v2KLTRln0X8RbaBS04\r
+di5sOmDn6IDnVQi1NWkT1DOXVDOpkhpC8iRyTJa1Ua9obcFG8XHDwW8e+bv6du1u\r
+u6gpUZwIipRq0cjVtWeXc5oZQHJmBeBX/hizuJVEtiJeSwoRI4C2CdbMX6XxeEtu\r
+tXPe/sbARcrrXHCZpcnC8XmhjdffBQIbltd8NqD16IrR947UqzpqA82UGzHhzBXY\r
+ie70MbpFe6qMlNikIlPFgru6jjDzYx/JklAYwNtRtdFPmvGkOJGDCvc2idBClGCm\r
+o7cHFzXjnVgt9NwvXIR8MHwO7EQwrDt1Q17aPrv39xPayTTVtkyTdG8LYU+J5yDG\r
+cIH1q+6nh4sw3DW/pyKnpUv7gd1jRRkHMBbjCorC+MUL4iNqa8J0zBOIEswmt1+7\r
+Q5aRB1Dx7COdTVwibk89\r
+=J3kE\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r