On Fri, May 16, 2014 at 02:17:42AM +0900, Yukihiro Nakadaira wrote:
> 
>  I don't see same warning, but I know why vim-latex doesn't work with
> Japanese Input Method.
> 
> For example, to input Japanese letter "か" (U+304B), we need to type
> "ka<Enter>".  To show pre-edit text, Vim inserts pre-edit text to the
> buffer temporarily by generating key sequence like using feedkeys().
> 
>   Type "k" => "k" is inserted.
>               (same as :call feedkeys("k"))
>   Type "a" => "k" is deleted and "か" is inserted.
>               (same as :call feedkeys("\<BS>か"))
>   Type "<Enter>" => "か" (pre-edit text) is deleted and "か" (commit text) is
> inserted.
>               (same as :call feedkeys("\<BS>か"))
> 
> Vim uses <BS> to delete pre-edit text.  And vim-latex have mapping for
> <BS> like ":imap <BS> <C-R>=...<CR>".  That mapping is applied and Vim
> reset Input Method context for mode change of <C-R>=.  Then we can not
> input Japanese text.
> 
> I use attached patch for this problem.  It  makes Vim to use window to
> show pre-edit text.  It means to use over-the-spot insted of on-the-spot.

I also met this kind of problem with fcitx and Chinese input method. Now
I understand why :-) Recent versions of fcitx will not use that kind of
preediting for GVim by default for this reason.

-- 
Best regards,
lilydjwg

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