From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Moynihan Subject: Re: Undoing from Org Done Notes Date: Tue, 02 Sep 2008 18:20:23 +0100 Message-ID: <48BD75D7.10800@calicojack.co.uk> References: <48A17627.9060902@calicojack.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaZYa-0002l1-BH for emacs-orgmode@gnu.org; Tue, 02 Sep 2008 13:20:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaZYY-0002jP-VK for emacs-orgmode@gnu.org; Tue, 02 Sep 2008 13:20:43 -0400 Received: from [199.232.76.173] (port=51732 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaZYY-0002jD-QA for emacs-orgmode@gnu.org; Tue, 02 Sep 2008 13:20:42 -0400 Received: from storm.bpweb.net ([83.223.106.8]:35477) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KaZYY-0002Wy-8a for emacs-orgmode@gnu.org; Tue, 02 Sep 2008 13:20:42 -0400 Received: from lechuck.local (host-77-100-223-163.static.telewest.net [77.100.223.163]) (authenticated bits=0) by storm.bpweb.net (8.13.1/8.13.1) with ESMTP id m82HKSVY001642 for ; Tue, 2 Sep 2008 18:20:33 +0100 In-Reply-To: <48A17627.9060902@calicojack.co.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Apologies for the noise, but I haven't seen a response to this feature request / query, and org-mode continues to bug me because of this :-) Any responses, suggestions (and especially implemenations ;-) ) welcome. Thanks again, R. Rick Moynihan wrote: > Hi all, > > I make quite extensive use of org's sequences, and make use of the > org-log-done features to prompt for a note when a task is closed. > > My problem is that when reorganising I often push a sequence on to a > done state instead of switching sequences, i.e. I press S- > instead of C-S-. When this happens a note window is popped up, > where by I am forced to press C-c C-k to close the note window, then I > need to press C-_ to undo the original change. > > One thing I have noticed is that my reflex action upon seeing the Note > and realising that's not what I want, is to press undo at that point. > Rather than enter the mildly frustrating workflow above, would it be > possible to have undo close the note, and then revert the headline into > it's previous state, by calling undo again in the original buffer? > > Obviously you'd only want this if the Org Note buffer didn't contain any > changes. If it did, the stock undo behaviour makes sense, except when > you've made some changes and spent all your undo's, pressing undo again > might want to ask whether you want to close the note and revert the > state change in the previous buffer. > > Does this make sense? > > R.