Thank you for your reply. Your suggestion really helps me in investigating the case.
With 'gvim -u NONE', I can type the letter 'ň' (U+00F2) without any errors. This suggests that the cause is in my .vimrc. To be specific, the following line in my .vimrc was causing the problem : imap <A-r> <Esc> I had a chance to test on another Debian Stable machine, and found that without any input methods active, pressing <A-r> makes Gvim and Xterm output letter 'ň'. So i think this is an coincidence when the UTF-8 representation of letter 'ň' is the same as <A-r>. Basically, I conclude that this is not a vim error. If you think so, this can be closed. Thank you. Khang Nguyen. On Sat, Jan 31, 2015 at 07:05:22PM +0900, Yukihiro Nakadaira wrote: > On Wed, Jan 28, 2015 at 5:27 AM, Nony Sense <khang.soc...@gmail.com> wrote: > > > Hi, > > > > When I typed the letter U+00F2 (latin small letter o with grave) with > > input methods active, and pressed space bar, vim (and gvim) > > automatically exited insert mode, returned back to normal mode. Only 1 > > space character was added as the cursor moved forward, the letter didn't > > appear. > > > > To type the letter U+00F2, with input methods on, I would type in insert > > mode > > 'o' then '2' then 'spacebar'. > > > > The input methods that I have tried : > > scim version : 1.4.14 > > > > scim-unikey : 0.3.1 > > scim-vi-vni : built-in > > > > ibus verion : 1.3.19 > > ibus-unikey : 0.5.1 > > > > With normal Vim and XTerm please do the similar tasks as below. > > Steps to reproduce (with Gvim): > > With scim > > 1. Setup scim > > 2. environment GTK_IM_MODULE=scim > > GTK_IM_MODULE_FILE=to-the-correct-immodules.cache (or > > similar filename) > > 3. In scim setup > Global Setup, disable all but Vietnamese. > > 4. Now assuming gvim and scim is ready. > > In gvim, 'i' to go to insert mode. > > Press Ctrl-Space to activate scim, then choose Vietnamese-vi-vni > > in scim toolbar. (or Vietnamese-Unikey, and choose vni instead > > of telex) > > Then type 'o' then '2' then space. > > 5. Gvim should go back to normal mode while it should have shown > > letter ň (letter U+00F2) instead. > > > > With ibus, the procedure is similar. > > > > Here is what I saw with :set verbose=20 : > > after typing 'o','2','spacebar' with scim activated: > > > > I can not reproduce the problem with ibus on ubuntu. > > ubuntu 14.10 > ibus 1.5.8-2ubuntu2 > ibus-unikey 0.6.1-1build2 > vim 7.4.050 > > Is it still reproducible with "gvim -u NONE" (no vimrc, no plugins)? > > -- > Yukihiro Nakadaira - yukihiro.nakada...@gmail.com > > -- > -- > 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 vim_dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.