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

diff --git a/52/fc46ceb1066647a8019ee1ad4469c7d5e031d0 b/52/fc46ceb1066647a8019ee1ad4469c7d5e031d0
new file mode 100644 (file)
index 0000000..c45106c
--- /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 789DF6DE0C51\r
+ for <notmuch@notmuchmail.org>; Wed,  2 Sep 2015 14:22:15 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.368\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.368 tagged_above=-999 required=5 tests=[AWL=-0.275,\r
+  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001,\r
+  URIBL_SBL=0.644, URIBL_SBL_A=0.1] 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 D3APAF3ccG5r for <notmuch@notmuchmail.org>;\r
+ Wed,  2 Sep 2015 14:22:13 -0700 (PDT)\r
+Received: from jim.zolnowski.name (jim.zolnowski.name [188.116.54.122])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 487556DE0B38\r
+ for <notmuch@notmuchmail.org>; Wed,  2 Sep 2015 14:22:13 -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=kfcO8tnIbmLNsWSnpsXzDc5jkDFv13ordriFSRKouUU=;\r
+  b=PZ+WLFV1YSvpZ1ROZ1O394/TR0Lyko+ss+v1E8aT1hTzJ1f2Umq2ZpB54ZnH7r8iMLEyB/PRND9+T9WOQ6dOV4wcBU2nPK0h9gU3W8Bae/DctETbdWtZq/9wc6kA11BffWvncrc7Nk7xLDUpDY/7FIG0LwzsI9418PwotkgR/PIDTUvUCw9e4juD4rnB/cn/xjvjskpj01IYbAIae/a9mi91LaTumpbWf20U9GqnIqvWpUacTZVw5ySLjn4WtQIxZRySezYV4TRl7yaBw43Kl2q6O+e56dzr8VnaIULYos/5d/3IVXWsh4ruwghxkB7bCh/Uv96Nc8vmgnm/5JY59Q==;\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 1ZXFTm-00008y-My; Wed, 02 Sep 2015 23:22:03 +0200\r
+From: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= <aidecoe@aidecoe.name>\r
+To: David Bremner <david@tethera.net>, David Mazieres expires 2015-11-29 PST\r
+ <mazieres-sggp47c7j46624db3rharctcei@temporary-address.scs.stanford.edu>\r
+Subject: Re: muchsync files renames\r
+In-Reply-To: <87vbbthd1m.fsf@maritornes.cs.unb.ca>\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
+ <87vbbthd1m.fsf@maritornes.cs.unb.ca>\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:21:56 +0100\r
+Message-ID: <87r3mgldor.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:22:15 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+David Bremner <david@tethera.net> writes:\r
+> If I understand the code correctly, this movement will only happen\r
+> when one of the maildir-flag-equivalent tags is changed. I haven't dug\r
+> ack through the archives, but I think mutt uses presence in new/ as\r
+> some kind of extra unseen state, so people requested not to move files\r
+> until needed.\r
+\r
+When I have added 'unread' tag the file was still in new/. Only after\r
+removing 'unread' afterwards the file has been moved to cur/. So it\r
+seems you're right, but take a look at the following excerpt from\r
+T340-maildir-sync.sh:\r
+\r
+    test_begin_subtest "Message in new with maildir info is moved to cur on=\r
+ any tag change"\r
+    add_message [filename]=3D'message-with-info-to-be-moved-to-cur:2,' [dir=\r
+]=3Dnew\r
+    notmuch tag +anytag id:$gen_msg_id\r
+    output=3D$(cd "$MAIL_DIR"; ls */message-with-info-to-be-moved-to-cur*)\r
+    test_expect_equal "$output" "cur/message-with-info-to-be-moved-to-cur:2=\r
+,"\r
+\r
+What is different about the test case and my case is that my mail file\r
+doesn't have ":2," suffix. Adding the suffix to file name makes it\r
+working as expect by test case. I see I would have to convert my mail\r
+files names, but I think this inconsistency in notmuch should also take\r
+some attention.\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
+iQJ8BAEBCgBmBQJV52h0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMzcyRTFENjI5NUM1MzYwQTQwODQyRUZD\r
+QkNDODAyM0Y1OUUxNzA0AAoJEMvMgCP1nhcEJcMP/1Xwg+ghprqmWJNn7InYIwE8\r
+tXI0lzSp66qZVKGydrBrY5OhvoIqcBzXDlDGgjpeyyZHS8JiLVn4oWKQUwtHoTPJ\r
+fzVs3iX8CczivK+aBH/5JgiN1i5hibgFRtrGMhlveX+rDQvluBQd2CEwiAwf8lwl\r
+QQ6JjUfX7uxkjI0Af/d91TaMwOv1ALGMgMaPpCQUYTbDR3/aRfXsP3NNEQOitGeM\r
+sszYAYSb8EWEFi4dByPl29O2uCJh0LoRDq6XpbkH6PqWjVgmrMsW4WgzvopMuI9u\r
+aY3cLe45OWrPQHIEYphiXQlASG+YnZjT/GihRSfqAqd6uQFJDBsRfBT86O184Xjk\r
+2iyGTwiZodtDu8drCrTMnWPD+smiM5tR9Yk5yE9PtPSEDeQhWoERpHRJ9n8LI3Ba\r
+Ydg58NRO4vxVW/iTjh8jxZvzb7WgOcRiOOrtV1eOPTNtjShShUpg80h7Li8aTW2E\r
+ZfRJZ/6EkhxnPFeLgjrnz1LUEYrcCw/DI5QrRM95Yf2KTCK1YyY4GSzE15+ze1og\r
+amg3U/O9zeo/dlQQef0NfKu9MdyiPtzKPzqElz3Ky1QgmTiO1+LljU2mca/hG2wG\r
+bK5H/9tiSpj3EP4RW+qp4OKXoMnFshTbhXQB73j+rLuyQ3fNKpHDDk/gJ/PRitiu\r
+0X1YFvDPte//dsn1Gz8L\r
+=Unnc\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r