unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Undo function or history log
@ 2015-02-06 21:43 Sebastian Fischmeister
  2015-02-07 14:06 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Fischmeister @ 2015-02-06 21:43 UTC (permalink / raw)
  To: notmuch

Hi,

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.

Does anyone have a good solution for an undo function for setting or
deleting tags?

  Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Undo function or history log
  2015-02-06 21:43 Undo function or history log Sebastian Fischmeister
@ 2015-02-07 14:06 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2015-02-07 14:06 UTC (permalink / raw)
  To: sfischme, notmuch

Sebastian Fischmeister <sfischme@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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-07 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 21:43 Undo function or history log Sebastian Fischmeister
2015-02-07 14:06 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).