]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.089
- new
[packages/vim.git] / 7.0.089
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.089
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.089
11 Problem:    "ga" does not work properly for a non-Unicode multi-byte encoding.
12 Solution:   Only check for composing chars for utf-8. (Taro Muraoka)
13 Files:      src/ex_cmds.c
14
15
16 *** ../vim-7.0.088/src/ex_cmds.c        Tue Sep  5 16:29:38 2006
17 --- src/ex_cmds.c       Tue Sep  5 18:12:41 2006
18 ***************
19 *** 95,101 ****
20                 _("<%s>%s%s  %d,  Hex %02x,  Octal %03o"),
21                                            transchar(c), buf1, buf2, c, c, c);
22   #ifdef FEAT_MBYTE
23 !       c = cc[ci++];
24   #endif
25       }
26   
27 --- 95,104 ----
28                 _("<%s>%s%s  %d,  Hex %02x,  Octal %03o"),
29                                            transchar(c), buf1, buf2, c, c, c);
30   #ifdef FEAT_MBYTE
31 !       if (enc_utf8)
32 !           c = cc[ci++];
33 !       else
34 !           c = 0;
35   #endif
36       }
37   
38 ***************
39 *** 108,114 ****
40         if (len > 0)
41             IObuff[len++] = ' ';
42         IObuff[len++] = '<';
43 !       if (utf_iscomposing(c)
44   # ifdef USE_GUI
45                 && !gui.in_use
46   # endif
47 --- 111,117 ----
48         if (len > 0)
49             IObuff[len++] = ' ';
50         IObuff[len++] = '<';
51 !       if (enc_utf8 && utf_iscomposing(c)
52   # ifdef USE_GUI
53                 && !gui.in_use
54   # endif
55 ***************
56 *** 120,126 ****
57                                     : _("> %d, Hex %08x, Octal %o"), c, c, c);
58         if (ci == MAX_MCO)
59             break;
60 !       c = cc[ci++];
61       }
62   #endif
63   
64 --- 123,132 ----
65                                     : _("> %d, Hex %08x, Octal %o"), c, c, c);
66         if (ci == MAX_MCO)
67             break;
68 !       if (enc_utf8)
69 !           c = cc[ci++];
70 !       else
71 !           c = 0;
72       }
73   #endif
74   
75 *** ../vim-7.0.088/src/version.c        Tue Sep  5 17:30:25 2006
76 --- src/version.c       Tue Sep  5 18:19:42 2006
77 ***************
78 *** 668,669 ****
79 --- 668,671 ----
80   {   /* Add new patch number below this line */
81 + /**/
82 +     89,
83   /**/
84
85 -- 
86     [clop clop]
87 GUARD #1:  Halt!  Who goes there?
88 ARTHUR:    It is I, Arthur, son of Uther Pendragon, from the castle of
89            Camelot.  King of the Britons, defeator of the Saxons, sovereign of
90            all England!
91 GUARD #1:  Pull the other one!
92                                   The Quest for the Holy Grail (Monty Python)
93
94  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
95 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
96 \\\        download, build and distribute -- http://www.A-A-P.org        ///
97  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.036473 seconds and 3 git commands to generate.