--- /dev/null
+Return-Path: <amdragon@mit.edu>\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 15B94431FB6\r
+ for <notmuch@notmuchmail.org>; Fri, 1 Aug 2014 17:49:26 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\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 u2s+uIJU9Qm0 for <notmuch@notmuchmail.org>;\r
+ Fri, 1 Aug 2014 17:49:18 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu\r
+ [18.7.68.37])\r
+ (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 4D40A431FAE\r
+ for <notmuch@notmuchmail.org>; Fri, 1 Aug 2014 17:49:18 -0700 (PDT)\r
+X-AuditID: 12074425-f79766d000006da8-c8-53dc358d6204\r
+Received: from mailhub-auth-4.mit.edu ( [18.7.62.39])\r
+ (using TLS with cipher AES256-SHA (256/256 bits))\r
+ (Client did not present a certificate)\r
+ by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP\r
+ id F5.3B.28072.D853CD35; Fri, 1 Aug 2014 20:49:17 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+ by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id s720nFnM030665; \r
+ Fri, 1 Aug 2014 20:49:16 -0400\r
+Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
+ (authenticated bits=0)\r
+ (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+ by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s720nD9d007496\r
+ (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);\r
+ Fri, 1 Aug 2014 20:49:15 -0400\r
+Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.80)\r
+ (envelope-from <amdragon@mit.edu>)\r
+ id 1XDNVY-0000LK-Ug; Fri, 01 Aug 2014 20:49:13 -0400\r
+Date: Fri, 1 Aug 2014 20:49:12 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Add configurable changed tag to messages that have been\r
+ changed on disk\r
+Message-ID: <20140802004912.GT13893@mit.edu>\r
+References: <1396800683-9164-1-git-send-email-eg@gaute.vetsj.com>\r
+ <87fviiiuzn.fsf@maritornes.cs.unb.ca>\r
+ <CABKe4Mv6p77i5dBT9BV41hxmtrE4UPLR3NjZfpLuZDoE1KWYyA@mail.gmail.com>\r
+ <20140801185505.GS13893@mit.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=iso-8859-1\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: 8bit\r
+In-Reply-To: <20140801185505.GS13893@mit.edu>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFlrHKsWRmVeSWpSXmKPExsUixG6nrttreifYYNtmVYsbrd2MFk2fL7Fa\r
+ XL85k9liX7+/A4vHj3/NbB7PVt1i9pgyay67x5ZD75kDWKK4bFJSczLLUov07RK4Mha8P8Fe\r
+ cEOq4t4B9wbGu8JdjJwcEgImEu1v1zBD2GISF+6tZ+ti5OIQEpjNJDHnahMLhLOBUWLe0a1M\r
+ IFVCAqeYJCYfLoNILGGUeHv9PQtIgkVAReL5meXsIDabgIbEtv3LGUFsEQFpiZ13Z7OC2MwC\r
+ JRIP1hwCs4UF4iSmXd4BNpRXQEei5fxFdoihlxkl3nWtYoZICEqcnPmEBaJZR2Ln1jtA93EA\r
+ 2dISy/9xQITlJZq3zgYr5xTQlfjY9A6sXBToniknt7FNYBSehWTSLCSTZiFMmoVk0gJGllWM\r
+ sim5Vbq5iZk5xanJusXJiXl5qUW6Fnq5mSV6qSmlmxjB0eKiuoNxwiGlQ4wCHIxKPLw3dt8O\r
+ FmJNLCuuzD3EKMnBpCTKO0vnTrAQX1J+SmVGYnFGfFFpTmrxIUYJDmYlEV4nkBxvSmJlVWpR\r
+ PkxKmoNFSZz3rbVVsJBAemJJanZqakFqEUxWhoNDSYK3wwSoUbAoNT21Ii0zpwQhzcTBCTKc\r
+ B2h4K0gNb3FBYm5xZjpE/hSjopQ4bxNIQgAkkVGaB9cLS2avGMWBXhHmlQGp4gEmQrjuV0CD\r
+ mYAG1xjeBhlckoiQkmpgXBkcpXjx4x3d6AUS7p+XKTOuM174snxxF5+E6p/tWcW1jq4Wh2Y6\r
+ mv91v8O3lUv6UeKHFbtvPdU/vkj6361XTiK3RWrTXvKcDnZceUul3PKalnpNy4FpzVz7QnuT\r
+ 5WpWem7e7PPtXdCty/Ot9y45Z592fdP6P83rvk2WzJ4SmL99m8uMU3Eba5RYijMSDbWYi4oT\r
+ AZF5B/pBAwAA\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: Sat, 02 Aug 2014 00:49:26 -0000\r
+\r
+I should add that this code shouldn't be considered stable yet. The\r
+on-disk format may (and probably will) change, so don't try it on your\r
+main notmuch database.\r
+\r
+Quoth myself on Aug 01 at 2:55 pm:\r
+> I have a prototype implementation of message modification times on my\r
+> lastmod-v1 branch at\r
+> \r
+> https://github.com/aclements/notmuch/tree/lastmod-v1\r
+> \r
+> It builds on my database features series that's currently awaiting\r
+> review [1].\r
+> \r
+> The series uses a monotonic revision number, rather than wall-clock\r
+> time, for reasons related to Xapian's concurrent control and detailed\r
+> in the main commit's commit message. The implementation isn't quite\r
+> useful from the CLI yet because I haven't added any way to query the\r
+> database's current revision number. (I'm still thinking about how I\r
+> want to do this, since search/show don't have a good way to deliver\r
+> "additional" information right now. I might just add the last\r
+> modification for each individual message/max of all messages in a\r
+> thread, similar to what Thomas Jost's patch did long ago.)\r
+> \r
+> [1] id:1406859003-11561-1-git-send-email-amdragon@mit.edu\r
+> \r
+> Quoth Gaute Hope on Jul 28 at 4:37 pm:\r
+> > On Thu, Jul 3, 2014 at 12:42 PM, David Bremner <[1]david@tethera.net>\r
+> > wrote:\r
+> > \r
+> > Gaute Hope <[2]eg@gaute.vetsj.com> writes:\r
+> > \r
+> > > When one of the source files for a message is changed on disk,\r
+> > renamed,\r
+> > > deleted or a new source file is added. A configurable changed tag is\r
+> > > is added. The tag can be configured under the option 'changed_tags' in\r
+> > > the [new] section, the default is none. Tests have been updated to\r
+> > > accept the new config option.\r
+> > >\r
+> > > notmuch-setup now asks for a changed tag after the new tags question.\r
+> > >\r
+> > > This could be useful for for example 'afew' to detect remote changes\r
+> > in\r
+> > > IMAP folders and update the FolderNameFilter to also add tags or\r
+> > remove\r
+> > > tags when a _existing_ message has been added to or removed from a\r
+> > > maildir.\r
+> > \r
+> > The discussion on this proposal seems to have died out without reaching\r
+> > a conclusion. David M expressed a strong preference for some kind of\r
+> > modification time field in the database. Gaute agreed with some caveats\r
+> > that such an approach could solve his problems as well. On the other\r
+> > hand, nobody seems to be actually working on such an approach at the\r
+> > moment. Gaute and or David do you have any interest in revisiting the\r
+> > series [3]id:1323796305-28789-1-git-send-email-schnouki@schnouki.net and\r
+> > seeing if it can be reworked into mergeable shape? I suspect in\r
+> > particular something needs to be added with respect to message deletion\r
+> > Thomas, are you still running some variant of these patches?\r
+> > d\r
+> > \r
+> > I am afraid I don't have the chance to put in any consistent effort on\r
+> > this at the moment.\r
+> > \r
+> > I agree, message deletion needs to be solved somehow.\r
+> > Regards, Gaute\r
+\r
+-- \r
+Austin Clements MIT/CSAIL/SB '06/PhD '14\r
+amdragon@mit.edu http://web.mit.edu/amdragon\r
+ Somewhere in the dream we call reality you will find me,\r
+ searching for the reality we call dreams.\r