Hirohito Higashi wrote:

> > > > Uuu, My patch is not enough. 
> > > > 7.3.880 seems many problems exist.
> > 
> > > Please mention the problems you find. No need to have a solution yet.
> > > Note that it's not going to be perfect, since we don't store timestamps
> > > with the commands.
> > 
> > Never mind.  I already found some obvious problems.  Main thing is that
> > when writing the viminfo it actually changes the current history.  I
> > don't think that writing viminfo should do that, this should only happen
> > when reading the viminfo.
> > 
> > I'll make a patch, please watch out for remaining problems.
> I understand. Thank you.
> 
> check on vim 7.3.888 + my patch on linux
> 
> Prepare for reproduce
>   $ cat ~/.vimrc_test
>   set nocompatible
>   set history=5
> 
>   $ rm ~/.viminfo
> 
> How to reproduce
>   $ vim -u ~/.vimrc_test
>   :echo 1
>   :echo 2
>   :echo 3
>   :echo 4
>   :echo 5
>   <C-W>q
> 
>   (Instance 1)
>   $ vim -u ~/.vimrc_test
>   :echo 6
>   :echo 7
>   (keep exec this instance)
> 
>   (Instance 2)
>   $ vim -u ~/.vimrc_test
>   :echo 8
>   :echo 9
>   (keep exec this instance)
>   
>   (Instance 1)
>   <C-W>q
>   
>   (Instance 2)
>   <C-W>q
> 
> Expect Result
>   (~/.viminfo command history)
>   :echo 9
>   :echo 8
>   :echo 7
>   :echo 6
>   :echo 5
> 
> Actual Result
>   (~/.viminfo command history)
>   :echo 6
>   :echo 8
>   :echo 5
>   :echo 4
>   :echo 7
> 
> 
> I'll check to patch 7.3.891 soon.

I found one problem: the viminfo flag isn't used when using the history.
I'l make a patch for that later.

-- 
Keep America beautiful.  Swallow your beer cans.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui