--- /dev/null
+Return-Path: <david@tethera.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 85E7E431FBF\r
+ for <notmuch@notmuchmail.org>; Sat, 7 Feb 2015 06:07:44 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+ tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 vFOcys-3CG6O for <notmuch@notmuchmail.org>;\r
+ Sat, 7 Feb 2015 06:07:41 -0800 (PST)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+ [87.98.215.224])\r
+ (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 40902431FAE\r
+ for <notmuch@notmuchmail.org>; Sat, 7 Feb 2015 06:07:41 -0800 (PST)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+ 4.80) (envelope-from <david@tethera.net>)\r
+ id 1YK62A-0007vP-1z; Sat, 07 Feb 2015 14:06:54 +0000\r
+Received: (nullmailer pid 23796 invoked by uid 1000); Sat, 07 Feb 2015\r
+ 14:06:42 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: sfischme@uwaterloo.ca, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: Undo function or history log\r
+In-Reply-To: <87twyywwcp.fsf@uwaterloo.ca>\r
+References: <87twyywwcp.fsf@uwaterloo.ca>\r
+User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 07 Feb 2015 10:06:42 -0400\r
+Message-ID: <87iofd6cjx.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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, 07 Feb 2015 14:07:44 -0000\r
+\r
+Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:\r
+\r
+> I very much appreciate the ability to have simple shortcuts set tags,\r
+> refresh the view, etc. Unfortunately, sometimes, things happen\r
+> accidentally --- think of the cat walking on the keyboard --- and\r
+> consequently somethings might get lost due to wrong tags.\r
+\r
+Hi Sebastian;\r
+\r
+We tossed around some ideas based on\r
+\r
+ id:1413181203-1676-1-git-send-email-aclements@csail.mit.edu\r
+\r
+for some kind of analogue of "git reflog". I think at a basic level this\r
+would not be too hard, but without some more work I think it would\r
+mainly be useful for "last hope disaster recovery", something like\r
+"notmuch restore mtime:-10min". The main problem I know of is that from\r
+the user's point of view, several writers can change the database\r
+"concurrently". In particular you can imagine scenarios involving\r
+"notmuch new" running in a cron and undoing more than you intended.\r
+\r
+d\r