On 01/11/12 09:19, Kartik Agaram wrote:
Thanks, Tony. It seems to be because of a call to mb_string2cells in
if_py_both.h:VimStrWidth. Since python isn't a feature in feature.h
I'm not sure what to check for to enable FEAT_MBYTE..

A little searching in the source gives:

FEAT_PYTHON
        Python2 interface
FEAT_PYTHON3
        Python3 interface
DYNAMIC_PYTHON
        Python2 support is dynamic
DYNAMIC_PYTHON3
        Python3 support is dynamic

Cscope tells me that there are 54 lines (in buffer.c, eval.c, ex_docmd.c, globals.h, if_python.c, if_python3.c, main.c, proto.h, structs.h, version.c, vim.h and window.c) which refer to at least one of these. They are defined (or not) by auto/config.h (at least on Linux, once configure has run).


Best regards,
Tony.
--
If you're going to do something tonight that you'll be sorry for
tomorrow morning, sleep late.
                -- Henny Youngman

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