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