Re: Undo tag operation?
authorJames Vasile <james@hackervisions.org>
Wed, 20 Jul 2011 19:51:54 +0000 (15:51 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:10 +0000 (09:39 -0800)
33/cffcfbe3549d6bf3fc016beed1a22b165f0197 [new file with mode: 0644]

diff --git a/33/cffcfbe3549d6bf3fc016beed1a22b165f0197 b/33/cffcfbe3549d6bf3fc016beed1a22b165f0197
new file mode 100644 (file)
index 0000000..fe0d370
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <vasile@freedomboxfoundation.org>\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 1E219431FD0\r
+       for <notmuch@notmuchmail.org>; Wed, 20 Jul 2011 12:51:58 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.313\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.313 tagged_above=-999 required=5\r
+       tests=[URI_HEX=1.313] 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 bSD2zru0birM for <notmuch@notmuchmail.org>;\r
+       Wed, 20 Jul 2011 12:51:56 -0700 (PDT)\r
+Received: from mail.sflc.info (mail.sflc.info [216.27.154.199])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 6AE5C431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 20 Jul 2011 12:51:56 -0700 (PDT)\r
+Received: from localhost (unknown [10.2.67.174])\r
+       by mail.sflc.info (Postfix) with ESMTPSA id AFADBB4C074;\r
+       Wed, 20 Jul 2011 19:51:50 +0000 (UTC)\r
+From: James Vasile <james@hackervisions.org>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Alex Ghitza <aghitza@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: Undo tag operation?\r
+In-Reply-To: <874o2g3nka.fsf@servo.factory.finestructure.net>\r
+References:\r
+ <CAAGJhGABo5vPrfGK+694rujtmHOYCW0eKy63fqZR82SPHZnX1A@mail.gmail.com>\r
+       <874o2g3nka.fsf@servo.factory.finestructure.net>\r
+User-Agent: Notmuch/0.5-344-g86b0fae (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 20 Jul 2011 15:51:54 -0400\r
+Message-ID: <87vcuwraqt.fsf@freedomboxfoundation.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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: Wed, 20 Jul 2011 19:51:58 -0000\r
+\r
+On Wed, 20 Jul 2011 09:48:53 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
+Non-text part: multipart/mixed\r
+Non-text part: multipart/signed\r
+> On Wed, 20 Jul 2011 16:17:37 +0200, Alex Ghitza <aghitza@gmail.com> wrote:\r
+> > I just inadvertently removed the "todo" tag from all my "todo"-tagged\r
+> > emails (about 60 of them going back several months, so I doubt I can\r
+> > find them all again in my email haystack).  So I have a few questions:\r
+> \r
+> Hey, Alex.  This won't help you now, and doesn't really answer your\r
+> questions either, but you should periodically back up your tags with the\r
+> "dump" command.  If you had a dumpfile backup of the tags you could\r
+> restore with "restore".  hth (for the future).\r
+\r
+I generally run my notmuch commands through notmuch-retry.  See\r
+http://notmuch.198994.n3.nabble.com/PATCH-Add-shell-script-notmuch-retry-td417192.html\r
+\r
+That could be easily amended to log tag commands.  You could then\r
+restore from your most recent dump and replay all the tag commands since\r
+that dump, minus the offending command.\r
+\r
+Not a perfect solution, but it would work.  Maybe I'll build it if I\r
+encounter some free time.\r