Re: [notmuch] [PATCHv2] Preserve folder information when indexing
authorJameson Rollins <jrollins@finestructure.net>
Tue, 2 Feb 2010 22:36:18 +0000 (17:36 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:05 +0000 (09:36 -0800)
d9/b48f29e6ef242327ed336b028e81dbdb9d4c4c [new file with mode: 0644]

diff --git a/d9/b48f29e6ef242327ed336b028e81dbdb9d4c4c b/d9/b48f29e6ef242327ed336b028e81dbdb9d4c4c
new file mode 100644 (file)
index 0000000..244e36f
--- /dev/null
@@ -0,0 +1,102 @@
+Return-Path: <jrollins@finestructure.net>\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 DBBFD431FBD\r
+       for <notmuch@notmuchmail.org>; Tue,  2 Feb 2010 14:36:52 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -3.574\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-3.574 tagged_above=-999 required=5 tests=[AWL=0.425,\r
+       BAYES_50=0.001, RCVD_IN_DNSWL_MED=-4] 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 Z+GX-Jzd0Iie for <notmuch@notmuchmail.org>;\r
+       Tue,  2 Feb 2010 14:36:51 -0800 (PST)\r
+Received: from serrano.cc.columbia.edu (serrano.cc.columbia.edu [128.59.29.6])\r
+       by olra.theworths.org (Postfix) with ESMTP id C04E5431FAE\r
+       for <notmuch@notmuchmail.org>; Tue,  2 Feb 2010 14:36:51 -0800 (PST)\r
+Received: from servo.finestructure.net (geco.phys.columbia.edu\r
+       [128.59.170.159])\r
+       (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)\r
+       by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o12MaN23029315\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+       Tue, 2 Feb 2010 17:36:24 -0500 (EST)\r
+Received: from jrollins by servo.finestructure.net with local (Exim 4.71)\r
+       (envelope-from <jrollins@finestructure.net>)\r
+       id 1NcRM7-00018b-67; Tue, 02 Feb 2010 17:36:23 -0500\r
+From: Jameson Rollins <jrollins@finestructure.net>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
+In-Reply-To: <201002022325.18878.sojkam1@fel.cvut.cz>\r
+References: <201001291049.21048.sojkam1@fel.cvut.cz>\r
+       <873a1jebve.fsf@servo.finestructure.net>\r
+       <87r5p3l3yd.fsf@lillypad.riseup.net>\r
+       <201002022325.18878.sojkam1@fel.cvut.cz>\r
+Date: Tue, 02 Feb 2010 17:36:18 -0500\r
+Message-ID: <87ljfbcljx.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-No-Spam-Score: Local\r
+X-Scanned-By: MIMEDefang 2.68 on 128.59.29.6\r
+Subject: Re: [notmuch] [PATCHv2] Preserve folder information when indexing\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: Tue, 02 Feb 2010 22:36:53 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Tue, 2 Feb 2010 23:25:18 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+> On Tuesday 02 February 2010 22:31:38 micah anderson wrote:\r
+> > The easiest way to answer this question is to try it. I did that, and\r
+> > things didn't work as expected. I expected that once the message was\r
+> > moved to a different folder, and 'notmuch new' was run, then the folder\r
+> > search result would move with the message move.\r
+>=20\r
+> I want it to work the same way as you expected. It seems it would be nece=\r
+ssary=20\r
+> to modify notmuch_database_remove_message() so that it changes folder ter=\r
+m if=20\r
+> it detects rename.\r
+\r
+Hey, Michal.  I agree that this is a necessary improvement.  It would\r
+also be nice if messages that don't currently have the field have it\r
+added, whether or not they're in the database to begin with.  This is\r
+important for getting the field on messages that are already in the\r
+database.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJLaKjjAAoJEO00zqvie6q88N8P/2n5MCYXwq9FdNWDqXqfg/Su\r
+g3ZteAySLdWjEK/AIIUVG8eNLs84PxQhUvCZiuqidvar3ldqAC9DXWHKVqf5kFyj\r
+hEVq+tq06tuP2A54aEnxBGjSYaTw8X6WcKi8zO2tOuyVoS8YL8w0heRSQceE5uQf\r
+wtwHUmRUPb4+ooLXEdMRbLO4H+0r0fTTMZcwK+/5HQ3UOf6DNSZE4ENm2RlJ+6xy\r
+3mkjxIttgrxbGqSSYQvOnFgBSxpiPMsrp3ouIDFpjKll1pkXaYG1wVqYqKAV+0BF\r
+hpUwTVIaB4yeeAkmY1B1EpMkYnoB/r96qMpREFBgialwJgXw8WY9BjPETZo+JRTr\r
+R9c4V+Qh0IOgfrzwSJrSdXVRTP4LDB92NN/K7hr8F6U/VVi5HO5Sa9Sz4kriFpzc\r
+D/Rfu1mFWKeb+9WdkHVtFXMRhMN9D7nwRvho9/D6kdClcatqP6NJHlm2IJY9xUtV\r
+MGuobu3+YjyCI6+0Z9EBekBvuNiFgyNoiinvaya1jIRJZlxMNCAVuR8wSI1YXMQ3\r
+0loixKm9dqNJI6HQNtU0U37ZbmalICmX3CXAcTc2k/Tg3bP/ihL6ihWL4Pqswib+\r
+7sQKj/HgFUUOcZL9PZxqTzu6hPfJUZePnZ/xzigVniKSZwuobjXBv/Tx657q7uAE\r
+GkkgY1Hg1Jq7MjG4R3wA\r
+=v3sX\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r