Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion dependencies between features

Received: by 10.180.99.163 with SMTP id er3mr273792wib.2.1351765797176;
        Thu, 01 Nov 2012 03:29:57 -0700 (PDT)
X-BeenThere: vim_dev@googlegroups.com
Received: by 10.180.100.194 with SMTP id fa2ls658242wib.4.canary; Thu, 01 Nov
 2012 03:29:34 -0700 (PDT)
Received: by 10.180.101.9 with SMTP id fc9mr277429wib.3.1351765774653;
        Thu, 01 Nov 2012 03:29:34 -0700 (PDT)
Received: by 10.180.101.9 with SMTP id fc9mr277426wib.3.1351765774586;
        Thu, 01 Nov 2012 03:29:34 -0700 (PDT)
Return-Path: <antoine.mechely...@gmail.com>
Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be. [195.238.6.174])
        by gmr-mx.google.com with ESMTP id z7si910479wiw.1.2012.11.01.03.29.34;
        Thu, 01 Nov 2012 03:29:34 -0700 (PDT)
Received-SPF: neutral (google.com: 195.238.6.174 is neither permitted nor denied by domain of antoine.mechely...@gmail.com) client-ip=195.238.6.174;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 195.238.6.174 is neither permitted nor denied by domain of antoine.mechely...@gmail.com) smtp.mail=antoine.mechely...@gmail.com
X-Belgacom-Dynamic: yes
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkIhAN1NklBtgOYq/2dsb2JhbABEgkOGIqkDjjqGbgEBBTgkHAEQCwsDCgkWDwkDAgECARE0Bg0BBwKHbwEWqTaHeQoZgQ2Ie5I2A5V3kEKCcA
Received: from 42.230-128-109.adsl-dyn.isp.belgacom.be (HELO [109.128.230.42]) ([109.128.230.42])
  by relay.skynet.be with ESMTP; 01 Nov 2012 11:29:32 +0100
Message-ID: <50924F0D.7070402@gmail.com>
Date: Thu, 01 Nov 2012 11:29:33 +0100
From: Tony Mechelynck <antoine.mechely...@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/19.0 Firefox/19.0 SeaMonkey/2.16a1
MIME-Version: 1.0
To: Kartik Agaram <a...@akkartik.com>
CC: vim_dev@googlegroups.com
Subject: Re: dependencies between features
References: <CANOtCLWzYR-xO4FZp1HuHNEdPCyMJshBfduOdZmhtYtOjnJuDg@mail.gmail.com> <5092292C.6090809@gmail.com> <CANOtCLXOY6sBAjL0zFnmMCbgJjcJhSBYNuJKK-518ztBzGz3TQ@mail.gmail.com>
In-Reply-To: <CANOtCLXOY6sBAjL0zFnmMCbgJjcJhSBYNuJKK-518ztBzGz3TQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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