On Friday, April 5, 2013 3:16:54 PM UTC-5, Bram Moolenaar wrote:
> Ben Fritz wrote:
> 
> 
> 
> > On Friday, April 5, 2013 11:59:09 AM UTC-5, Bram Moolenaar wrote:
> 
> > > Patch 7.3.880
> 
> > > 
> 
> > > Problem:    When writing viminfo, old history lines may replace lines 
> > > written
> 
> > > 
> 
> > >       more recently by another Vim instance.
> 
> > > 
> 
> > > Solution:   Mark history entries that were read from viminfo and overwrite
> 
> > > 
> 
> > >       them when merging with the current viminfo.
> 
> > > 
> 
> > 
> 
> > This sounds like it's referring to command-line history and the like.
> 
> > 
> 
> > Could this also be done for marks and registers? Those are more
> 
> > frequently annoying to me.
> 
> 
> 
> That's a completely different part of the viminfo implementation.
> 
> I suppose for registers something similar could be done.  I'm not sure
> 
> about marks.  What marks are you thinking about?
> 

I was thinking about 'a, 'b, etc. included with the ' item in viminfo, but also 
file marks. I don't like that these can be overwritten by old data.

Actually the same can apply to any data in .viminfo, including global variables 
and the buffer list.

I'm sure all of these are annoying to some people. For me, the most annoying is 
when I lose modified register content due to exiting open Vim sessions in the 
wrong order. I don't care as much about marks. I hardly care at all about 
history or global variables or the buffer list.

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