2012/8/25 Christian Brabandt <cbli...@256bit.org>

> Hi Dmitry!
>
> On Sa, 25 Aug 2012, Dmitry Frank wrote:
>
> > Of course, if you close Vim, then change file by another app, then open
> > this file in Vim again, then, expectedly, undo history should be lost.
> > But in my example, Vim reloads the changes after file is changed. And, at
> > this moment, changes aren't lost: *Vim wrote reloaded changes as just a
> > single change in undohistory*. This is really good, check this.
> >
>
> Yes, this is expected, because when reloading, Vim saves the complete
> buffer in the undotree and therefore can keep the undo history. See :h
> 'undoreload'
>
> > But if user close Vim now, then these changes is lost.
>
> Hm, I guess, you need to save the file first, before quitting. That is
> indeed a little bit strange.
>
> Mit freundlichen Grüßen
> Christian
>
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

Hi Christian!

Yes, I already wrote in my first message: "if after reloading changes I
save this file again, then undo history will be kept. But I hope you agree
that such behavior is an issue".

So, you agreed that this is a little bit strange. So do you admit this is
an issue? Will it be fixed?

--
Regards,
Dmitry.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui