On Sun, Sep 13, 2009 at 12:02 PM, Kalman Noel <[email protected]> wrote: > > Jean-Philippe Bernardy wrote: >> Can you detail what parts of the emacs emulation you have broken? > > I eliminated your use of `forever' in Yi.Keymap. This way, Yi.Core.dispatch > can reliably observe when a key sequence has been “accepted”, and only then > record an InteractivePoint. The patch supposedly breaks what the comment about > the use of `forever' refers to, namely:
Hm, this is rather severe. The original idea was that, is an action is written, it indicates that the input has been accepted. I'm not sure why this isn't a good model for vim users. > That's why I'm considering delegation of Undo > tracking to the keymaps, but I'm not sure if, or how, that's to be done. That is probably the simplest thing to do: basically you can insert the "interactive points" in the undo list "manually" whenever you want them. Cheers, JP. --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
