Thanks for the clarification and yes it is more useful for the "C-." to behave in the way you explained. However, there is still some problems I believe around here. After the 8 steps I listed in the previous email, and maybe keep pressing "C-." a few more times, undo all the changes so far and restart the above 8 steps again, this time when pressing the "C-." for the first time the line becomes "aaaeeeaaa" which is good, however, pressing "C-." again would clear the line as well as the "Buffer Modified Flag" (buffer indicated as "no change") as opposed to changing the line to "aaaeeeeee", pressing "C-." the third time would mess up the next line in the buffer. Hope this helps. York On Fri, Aug 19, 2011 at 12:46 PM, Frank Fischer < [email protected]> wrote: Am Fri, 19 Aug 2011 11:35:41 -0400 schrieb York Zhao <[email protected]>:
Ok, I've found new problems, here is the sequence to reproduce:
1. At the beginning of a empty line, I typed "i" 2. Type "aaa" and the line becomes "aaa" 3. "Esc" 4. "i" 5. "eee" and the line becomes "aaaeee" 6. "Esc" 7. Type "." and the line becomes "aaaeeeeee" 8. Type "C-." and the becomes "aaaeeeaaa" while it should be "aaaeeeeeeaaa"
No, it should be aaaeeeaaa. C-. is bound to `evil-pop-repeat' and it replaces the just repeated command with the previously recorded one. This is similar to Emacs' kill ring, where you can use C-y to paste some yanked text and M-y the replace this text with previously yanked text rotating the kill-ring. Evil arranges recorded commands similarly in a "repeat-ring" and C-. cycles through that ring when used immediately after a ".", hence the behavior you describe is by intention. In order to get "aaaeeeeeeaaa" use . two times followed by a C-. Frank _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list