From mboxrd@z Thu Jan 1 00:00:00 1970 From: rlane@club.cc.cmu.edu (Rich Lane) Date: Thu, 10 Sep 2009 18:45:20 -0400 Subject: [sup-talk] How hard would a universal undo be? In-Reply-To: <1252517083-sup-58@yoom.home.cworth.org> References: <1252517083-sup-58@yoom.home.cworth.org> Message-ID: <1252599828-sup-7368@zyrg.net> Excerpts from Carl Worth's message of Wed Sep 09 13:32:30 -0400 2009: > Would it be a small change to move the undo keybinding to somewhere > more universal? No :( > As a first cut, I'd be happy if it just undid the changes to the > index, even without undoing any interface changes. That is, if my > previous command was archive-thread-and-view-next-thread, it would be > OK if it just undid the archiving part. Bonus points if it also undoes > the view-next part, but I can imagine that being more work. I know I sound a bit like a broken record here, but immediate label changes will solve this problem. Then, the undo system would just need to keep a global stack of (msgid, previous_labels). I'm just hoping somebody will volunteer for this - it will be a big patch.