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 740FB431FD0 for ; Sun, 18 Dec 2011 13:53:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 zxgD-C1aQGbN for ; Sun, 18 Dec 2011 13:53:56 -0800 (PST) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by olra.theworths.org (Postfix) with ESMTP id BC645431FB6 for ; Sun, 18 Dec 2011 13:53:56 -0800 (PST) Received: from [120.136.5.22] (helo=narsil) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1RcOg6-0007J4-H8; Sun, 18 Dec 2011 21:53:54 +0000 Received: by narsil (Postfix, from userid 1000) id EB459520A97; Mon, 19 Dec 2011 10:53:50 +1300 (NZDT) From: Michael Hudson-Doyle To: David Bremner Subject: Re: More ideas about logging. In-Reply-To: <87hb10encm.fsf@zancas.localnet> References: <87obv9i7y3.fsf@zancas.localnet> <87obv9vvdo.fsf@canonical.com> <87hb10encm.fsf@zancas.localnet> User-Agent: Notmuch/0.10.2 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 19 Dec 2011 10:53:50 +1300 Message-ID: <87ipldwnpt.fsf@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Notmuch Mail 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: Sun, 18 Dec 2011 21:53:57 -0000 On Fri, 16 Dec 2011 08:02:17 -0400, David Bremner wrote: > On Fri, 16 Dec 2011 20:16:51 +1300, Michael Hudson-Doyle wrote: > > > > It's a tangent, but would this sort of thing allow a "undo last tagging > > operation" command in emacs? > > > > It seems like it would be much simpler to track that information in a > data structure in emacs? I think that would require tracking more information than is currently tracked -- when press 'a' on a thread, emacs would have to remember which emails had the inbox tag before running 'notmuch tag -inbox thread:xxx' or whatever it runs today. You are probably right that what you're talking about here is not the easiest way to do this though. Cheers, mwh