Karsten Hopp ea24c1
To: vim_dev@googlegroups.com
Karsten Hopp ea24c1
Subject: Patch 7.3.266
Karsten Hopp ea24c1
Fcc: outbox
Karsten Hopp ea24c1
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ea24c1
Mime-Version: 1.0
Karsten Hopp ea24c1
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ea24c1
Content-Transfer-Encoding: 8bit
Karsten Hopp ea24c1
------------
Karsten Hopp ea24c1
Karsten Hopp ea24c1
Patch 7.3.266
Karsten Hopp ea24c1
Problem:    In Gvim with iBus typing space in Insert mode doesn't work.
Karsten Hopp ea24c1
Solution:   Clear xim_expected_char after checking it.
Karsten Hopp ea24c1
Files:	    src/mbyte.c
Karsten Hopp ea24c1
Karsten Hopp ea24c1
Karsten Hopp ea24c1
*** ../vim-7.3.265/src/mbyte.c	2011-07-15 21:16:54.000000000 +0200
Karsten Hopp ea24c1
--- src/mbyte.c	2011-07-27 18:21:13.000000000 +0200
Karsten Hopp ea24c1
***************
Karsten Hopp ea24c1
*** 5170,5175 ****
Karsten Hopp ea24c1
--- 5170,5179 ----
Karsten Hopp ea24c1
  		/* We had a keypad key, and XIM tried to thieve it */
Karsten Hopp ea24c1
  		return FALSE;
Karsten Hopp ea24c1
  
Karsten Hopp ea24c1
+ 	    /* This is supposed to fix a problem with iBus, that space
Karsten Hopp ea24c1
+ 	     * characters don't work in input mode. */
Karsten Hopp ea24c1
+ 	    xim_expected_char = NUL;
Karsten Hopp ea24c1
+ 
Karsten Hopp ea24c1
  	    /* Normal processing */
Karsten Hopp ea24c1
  	    return imresult;
Karsten Hopp ea24c1
  	}
Karsten Hopp ea24c1
*** ../vim-7.3.265/src/version.c	2011-07-27 17:58:42.000000000 +0200
Karsten Hopp ea24c1
--- src/version.c	2011-07-27 18:23:00.000000000 +0200
Karsten Hopp ea24c1
***************
Karsten Hopp ea24c1
*** 711,712 ****
Karsten Hopp ea24c1
--- 711,714 ----
Karsten Hopp ea24c1
  {   /* Add new patch number below this line */
Karsten Hopp ea24c1
+ /**/
Karsten Hopp ea24c1
+     266,
Karsten Hopp ea24c1
  /**/
Karsten Hopp ea24c1
Karsten Hopp ea24c1
-- 
Karsten Hopp ea24c1
    [clop clop]
Karsten Hopp ea24c1
ARTHUR:  Old woman!
Karsten Hopp ea24c1
DENNIS:  Man!
Karsten Hopp ea24c1
ARTHUR:  Man, sorry.  What knight lives in that castle over there?
Karsten Hopp ea24c1
DENNIS:  I'm thirty seven.
Karsten Hopp ea24c1
ARTHUR:  What?
Karsten Hopp ea24c1
DENNIS:  I'm thirty seven -- I'm not old!
Karsten Hopp ea24c1
                                  The Quest for the Holy Grail (Monty Python)
Karsten Hopp ea24c1
Karsten Hopp ea24c1
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ea24c1
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ea24c1
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ea24c1
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///