Yukihiro Nakadaira wrote:

> In Japanese Windows, test92 and test93 fails when using gvim.
> 
>   vim/src/testdir> nmake -f Make_dos.mak VIMPROG=..\gvim
> 
> Test script convert newline from unix to dos with this command.
> 
>   ..\gvim -u dos.vim --noplugin "+set ff=dos|f dostmp\test92.in|wq"
> test92.in
> 
> Test92 and test93 has modeline setting 'fenc' option.
> 
>  vim: set ft=vim fenc=utf-8:
> 
> If ~/_gvimrc exists,  Vim sets 'nocompatible' and 'modeline'.  and 'fenc' is
> set to utf-8 by modeline.  Then ":wq" (cp932 to utf-8 conversion) fails.
> 
> Adding "-U NONE" fixes this problem.

Thanks!

-- 
Article in the first Free Software Magazine: "Bram Moolenaar studied
electrical engineering at the Technical University of Delft and
graduated in 1985 on a multi-processor Unix architecture."
Response by "dimator": Could the school not afford a proper
stage for the ceremony?

 /// 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/d/optout.

Raspunde prin e-mail lui