emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Moynihan <rick@calicojack.co.uk>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Undoing from Org Done Notes
Date: Tue, 12 Aug 2008 12:38:15 +0100	[thread overview]
Message-ID: <48A17627.9060902@calicojack.co.uk> (raw)

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-<Right> 
instead of C-S-<Right>.  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-S-_ 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.

             reply	other threads:[~2008-08-12 11:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 11:38 Rick Moynihan [this message]
2008-09-02 17:20 ` Undoing from Org Done Notes Rick Moynihan
2008-09-02 19:21   ` Bernt Hansen
2008-09-05  5:42 ` Carsten Dominik
2008-09-05  9:49   ` Rick Moynihan
2008-09-05 10:06     ` Carsten Dominik
2008-09-05 14:10       ` Rick Moynihan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A17627.9060902@calicojack.co.uk \
    --to=rick@calicojack.co.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).