Tony Mechelynck wrote:

> :mksession (in 7.1.077) or gvim -S (in 7.1.079) doesn't work properly
> in UTF-8 locale with Unicode codepoints (> U+007F) in 'listchars'
> 
> gvim 7.1.077 in UTF-8 locale
> [...]
>       :set lcs=tab:\|_,eol:=B6,nbsp:~
> [...]
>       :mks!
>       :qa
> (patch to 7.1.079, make, make install)
> gvim -S
> 
> Error detected while processing /root/Session.vim:
> line 79:
> E474: Invalid argument: listchars=tab:|_,eol:Â=B6,nbsp:~
> 
> The offending Session.vim is attached

You already mentioned that 'encoding' somehow got set to "latin1".  Note
that when 'encoding' changes that many option values may become invalid.
Vim doesn't go over all options and convert them from the old to the new
encoding.

In this specific case: I suspect 'encoding' was "utf-8", you have set
'listchars' to include a multi-byte character, and then 'encoding' was
set to "latin1".  'listchars' will then have an invalid value.

-- 
hundred-and-one symptoms of being an internet addict:
175. You send yourself e-mail before you go to bed to remind you
     what to do when you wake up.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui