summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.266
blob: 373280ee4256ab509384830f6e80064360ad8164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
To: vim_dev@googlegroups.com
Subject: Patch 7.3.266
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.266
Problem:    In Gvim with iBus typing space in Insert mode doesn't work.
Solution:   Clear xim_expected_char after checking it.
Files:	    src/mbyte.c


*** ../vim-7.3.265/src/mbyte.c	2011-07-15 21:16:54.000000000 +0200
--- src/mbyte.c	2011-07-27 18:21:13.000000000 +0200
***************
*** 5170,5175 ****
--- 5170,5179 ----
  		/* We had a keypad key, and XIM tried to thieve it */
  		return FALSE;
  
+ 	    /* This is supposed to fix a problem with iBus, that space
+ 	     * characters don't work in input mode. */
+ 	    xim_expected_char = NUL;
+ 
  	    /* Normal processing */
  	    return imresult;
  	}
*** ../vim-7.3.265/src/version.c	2011-07-27 17:58:42.000000000 +0200
--- src/version.c	2011-07-27 18:23:00.000000000 +0200
***************
*** 711,712 ****
--- 711,714 ----
  {   /* Add new patch number below this line */
+ /**/
+     266,
  /**/

-- 
    [clop clop]
ARTHUR:  Old woman!
DENNIS:  Man!
ARTHUR:  Man, sorry.  What knight lives in that castle over there?
DENNIS:  I'm thirty seven.
ARTHUR:  What?
DENNIS:  I'm thirty seven -- I'm not old!
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///