Undo function or history log

David Bremner david at tethera.net
Sat Feb 7 06:06:42 PST 2015


Sebastian Fischmeister <sfischme at uwaterloo.ca> 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 at 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


More information about the notmuch mailing list