Charles Cooper wrote:

> This problem occurs in vim with +multi_byte. 
> :edit ++encoding=xyz always causes error E474, while ++enc=xyz succeeds.
> 
> "encoding" is the only ++option where the short form of the option is a 
> substring of the long form.  The check for these options does not account
> for this.
> 
> Here is one way to fix this (same as attached patch).

Thanks for the patch, I'll look into it soon.

-- 
ARTHUR: This new learning amazes me, Sir Bedevere.  Explain again how sheep's
        bladders may be employed to prevent earthquakes.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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

Raspunde prin e-mail lui