Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Bram Moolenaar
> I got the following error when I run vim on an ubunut docker image. > Does anybody know know what is wrong with the vim installation? > Thanks. > > $ vi > Error detected while processing /root/.vimrc: > line 401: > E474: Invalid argument: listchars=tab:?~V?\ ,eol:¬ > Press ENTER or type command

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Peng Yu
On Sat, Jan 12, 2019 at 7:57 AM Bram Moolenaar wrote: > > > I got the following error when I run vim on an ubunut docker image. > > Does anybody know know what is wrong with the vim installation? > > Thanks. > > > > $ vi > > Error detected while processing /root/.vimrc: > > line 401: > > E474: In

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Peng Yu
On Sat, Jan 12, 2019 at 10:04 AM Peng Yu wrote: > > On Sat, Jan 12, 2019 at 7:57 AM Bram Moolenaar wrote: > > > > > I got the following error when I run vim on an ubunut docker image. > > > Does anybody know know what is wrong with the vim installation? > > > Thanks. > > > > > > $ vi > > > Error

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Gary Johnson
On 2019-01-12, Peng Yu wrote: > On Sat, Jan 12, 2019 at 10:04 AM Peng Yu wrote: > > > > On Sat, Jan 12, 2019 at 7:57 AM Bram Moolenaar wrote: > > > > > > > I got the following error when I run vim on an ubunut docker image. > > > > Does anybody know know what is wrong with the vim installation? > >

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Tony Mechelynck
I see two possible reasons to this error. Possibility 1: your Vim does not support multi-byte encodings such as UTF-8. In that case, the output of ":version" will include -multi_byte and the answer to ":echo has('multi_byte')" (with the single quotes but without the double ones) will be 0. If this

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-12 Thread Peng Yu
I used a docker image of Ubuntu. Where I mounted my home as the home of root in the docker container. docker run -it --rm -v "$HOME":/root ubuntu In the container, I run, then I would see `.vimrc [+] ` at the bottom meaning the file has been change upon opening. apt-get update apt install vim vi

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Tony Mechelynck
On Sun, Jan 13, 2019 at 5:20 AM Peng Yu wrote: > > I used a docker image of Ubuntu. Where I mounted my home as the home > of root in the docker container. > > docker run -it --rm -v "$HOME":/root ubuntu > > In the container, I run, then I would see `.vimrc [+] ` at the bottom > meaning the file ha

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Peng Yu
On Sun, Jan 13, 2019 at 10:00 AM Tony Mechelynck wrote: > > On Sun, Jan 13, 2019 at 5:20 AM Peng Yu wrote: > > > > I used a docker image of Ubuntu. Where I mounted my home as the home > > of root in the docker container. > > > > docker run -it --rm -v "$HOME":/root ubuntu > > > > In the container

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Tony Mechelynck
On Sun, Jan 13, 2019 at 6:43 PM Peng Yu wrote: > > On Sun, Jan 13, 2019 at 10:00 AM Tony Mechelynck > wrote: > > > > On Sun, Jan 13, 2019 at 5:20 AM Peng Yu wrote: > > > > > > I used a docker image of Ubuntu. Where I mounted my home as the home > > > of root in the docker container. > > > > > >

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Peng Yu
> This is the problematic setting. In Latin1 encoding, Vim can only > represent in its internal memory the 256 characters supported by > Latin1, and that dark triangle is not one of them. See at > https://vim.wikia.com/wiki/Working_with_Unicode (which my previous > post also mentioned) how to set u

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Tony Mechelynck
On Mon, Jan 14, 2019 at 5:16 AM Peng Yu wrote: > > > This is the problematic setting. In Latin1 encoding, Vim can only > > represent in its internal memory the 256 characters supported by > > Latin1, and that dark triangle is not one of them. See at > > https://vim.wikia.com/wiki/Working_with_Unic

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Gary Johnson
On 2019-01-13, Peng Yu wrote: > > This is the problematic setting. In Latin1 encoding, Vim can only > > represent in its internal memory the 256 characters supported by > > Latin1, and that dark triangle is not one of them. See at > > https://vim.wikia.com/wiki/Working_with_Unicode (which my previo

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Peng Yu
> You could also execute this in your docker container's shell: > > $ locale -a > > and see if your language and UTF-8 encoding is supported. If it is, > then just set LANG to that in your ~/.profile, or whatever the > preferred file du jour is for that sort of thing these days. This solves t

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Peng Yu
On Sun, Jan 13, 2019 at 11:47 PM Peng Yu wrote: > > > You could also execute this in your docker container's shell: > > > > $ locale -a > > > > and see if your language and UTF-8 encoding is supported. If it is, > > then just set LANG to that in your ~/.profile, or whatever the > > preferred

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-13 Thread Tony Mechelynck
On Mon, Jan 14, 2019 at 7:05 AM Peng Yu wrote: > > On Sun, Jan 13, 2019 at 11:47 PM Peng Yu wrote: > > > > > You could also execute this in your docker container's shell: > > > > > > $ locale -a > > > > > > and see if your language and UTF-8 encoding is supported. If it is, > > > then just s

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-01-14 Thread Peng Yu
Again, it is not the problem of vim binary. The same binary works in the ubuntu docker container. On Mon, Jan 14, 2019 at 12:15 AM Tony Mechelynck < antoine.mechely...@gmail.com> wrote: > On Mon, Jan 14, 2019 at 7:05 AM Peng Yu wrote: > > > > On Sun, Jan 13, 2019 at 11:47 PM Peng Yu wrote: > >

Re: =?UTF-8?Q?E474:_Invalid_argument:_lis? =?UTF-8?Q?tchars=tab:?~V?\_,eol:¬^[^[?MIME-Version: 1.0

2019-02-09 Thread Ben Fritz
Check the output of ":verbose set encoding?" That should tell you where the option was last set. -- -- You received this message from the "vim_use" 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 --- Yo