<div dir="ltr">You can use builtin undo system with Evil.<br><br>FWIW, I've only seen that undo-tree bug when using undo in region.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 10, 2014 at 10:45 AM, Óscar Fuentes <span dir="ltr"><<a href="mailto:ofv@wanadoo.es" target="_blank">ofv@wanadoo.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Titus von der Malsburg <<a href="mailto:malsburg@posteo.de">malsburg@posteo.de</a>> writes:<br>
<br>
> I think there are two issues:<br>
><br>
> - the variable size of undo steps<br>
> - the error when redoing.<br>
<br>
</span>Yes, but one makes the other more serious.<br>
<span class=""><br>
> The first issue arises from the fact that Evil considers anything that<br>
> happens from entering insert mode until leaving it as one edit.<br>
<br>
</span>That was I thought until I observed, multiple times, how undo worked one<br>
char at a time after writing some text. No mode change, no cursor<br>
movement, just writing text and then undoing.<br>
<br>
I'm not so sure about this, but I also observed how undo removes<br>
multiple chunks of text that were written with mode changes and cursor<br>
movements in between.<br>
<br>
[snip]<br>
<span class=""><br>
> The second issue is the error that you're observing when redoing. I<br>
> never encountered this problem.<br>
<br>
</span>This happens every other month, but it hurts.<br>
<br>
There are other problems on undo-tree, although not of the data-loss<br>
type. It looks quite unreliable to me. IIRC the author explained on<br>
emacs-devel that some characteristics of Emacs' undo implementation made<br>
things difficult for him.<br>
<br>
I still don't know if not using undo-tree has consequences on Evil's<br>
behavior, apart from going back to traditional Emacs undo features, but<br>
let's assume that there is no problem, so I'll ditch undo-tree.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
implementations-list mailing list<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
</div></div></blockquote></div><br></div>