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