[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Undoing from Org Done Notes

From: Carsten Dominik
Subject: Re: [Orgmode] Undoing from Org Done Notes
Date: Fri, 5 Sep 2008 07:42:05 +0200

Hi Rick,

since you are normally going to edit the note, certainly with the ability to undo, I don't think it makes sense to redefine undo for this. I can see how what you
ask for would be useful, but I see no good logic to implement it.

Maybe the easiest is to define yourself a separate key for switching sequences,
so that it is less likely to press S-right by accident?

- Carsten

On Aug 12, 2008, at 1:38 PM, 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-<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?


Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]