Jean-Philippe Bernardy wrote:
> On Sun, Sep 13, 2009 at 12:02 PM, Kalman Noel
> <noel.kal...@googlemail.com> wrote:
>> 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.

Here's an example: The vi command to insert `Hello' at the current position is

    iHello<ESC>

and is understood as one undoable action. You get *really* used to that :-).
There are still writes to do in between, or you're typing blind. 

>> 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.

Right, that sound quite consequent.

Regards


--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to