Yukihiro Nakadaira wrote:

> I think "Baring" is typo.

Thanks for the docs fixes, I'll include them.

> :help 'viminfo'
> 7532         !       When included, save and restore global variables that 
> start
> 7533                 with an uppercase letter, and don't contain a lowercase
> 7534                 letter.  Thus "KEEPTHIS and "K_L_M" are stored, but 
> "KeepThis"
> 7535                 and "_K_L_M" are not.  Nested List and Dict items may 
> not be
> 7536                 read back correctly, you end up with a string 
> representation
> 7537                 instead.
> 
> I think "string representation" means something like "[1, 2, [...]]"
> notation.  But nested List and Dict are stored as empty string (with LIS
> and DIC tag in viminfo file) and restored as empty string.
> 
> $ vim -u NONE
> :set viminfo='1,!
> :let X = [1, 2]
> :call add(X, X)
> :echo X
> [1, 2, [...]]
> :wviminfo foo
> E724: variable nested too deep for displaying
> :unlet X
> :rviminfo foo
> E15: Invalid expression:
> E15: Invalid expression:
> :echo string(X)
> ''

That error message should not be there.

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\   an exiting 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
  • doc error Yukihiro Nakadaira
    • Re: doc error Bram Moolenaar

Raspunde prin e-mail lui