On Wednesday, July 18, 2012 1:39:09 AM UTC+9, Xuetian Weng wrote:
> On Tuesday, July 17, 2012 10:39:33 PM UTC+8, Yukihiro Nakadaira wrote:
> > Sorry, I misunderstood your suggestion. I understood you suggested to
> > remove hack for Ami. But you suggested to remove hack for IM control
> > feature. Right?
> > I think that it is slightly problematic. Although I don't know how many
> > user depend on it.
> >
> > --
> > Yukihiro Nakadaira -
>
> Hi, I'm the developer of fcitx, let me organize the problem here..
>
> The problem is Lily create a vim plugin for switch the input method status via the interface of input method itself, the implementation use InsertEnter and InsertLeave, the problem is, the IMContext is switched to another context after the status change finished, so the plugin doesn't work properly.
>
> Well, as for this patch, it remove too much things.. I think only the last im_shutdown() need to be removed, I don't see the purpose for doing that.
I make sure that some IM is work fine with following patch.
https://gist.github.com/3135370
* ibus
* uim-anthy
* uim-skk
* uim-xim with skk
* uim-xim with anthy
vim goes to normal mode even though IM is active. This patch fix this problem.
But some problems remains even if this patch isn't applied.
* Caret position is broken in some times.
I know this problem occur with uim-skk.
* Don't work with 'cfX' (X is multi-byte)
Type cf and trigger of IM, and type preediting characters for multi-byte
character that I want to commit. But vim treat the preediting characters as
following of 'cf'.
lilydjwg, yukihiro, How do you think?
I'm thinking we've better to include this.
Thanks.