]> git.pld-linux.org Git - packages/vim.git/blob - 6.3.065
- new
[packages/vim.git] / 6.3.065
1 To: vim-dev@vim.org
2 Subject: Patch 6.3.065
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 6.3.065 
11 Problem:    The euro digraph doesn't always work.
12 Solution:   Add an "e=" digraph for Unicode euro character and adjust the
13             help files.
14 Files:      src/digraph.c, runtime/doc/digraph.txt
15
16
17 *** ../vim-6.3.034/src/digraph.c        Wed Jun  9 14:56:25 2004
18 --- src/digraph.c       Fri Mar 18 10:50:52 2005
19 ***************
20 *** 1428,1433 ****
21 --- 1428,1434 ----
22         {'L', 'i', 0x20a4},
23         {'P', 't', 0x20a7},
24         {'W', '=', 0x20a9},
25 +       {'=', 'e', 0x20ac}, /* euro */
26         {'o', 'C', 0x2103},
27         {'c', 'o', 0x2105},
28         {'o', 'F', 0x2109},
29 *** ../vim-6.3.034/runtime/doc/digraph.txt      Wed Jun  9 14:56:28 2004
30 --- runtime/doc/digraph.txt     Fri Mar 18 10:52:35 2005
31 ***************
32 *** 1,4 ****
33 ! *digraph.txt*   For Vim version 6.3.  Last change: 2001 Sep 03
34   
35   
36                   VIM REFERENCE MANUAL    by Bram Moolenaar
37 --- 1,4 ----
38 ! *digraph.txt*   For Vim version 6.3.  Last change: 2005 Mar 18
39   
40   
41                   VIM REFERENCE MANUAL    by Bram Moolenaar
42 ***************
43 *** 28,34 ****
44                                                         *E104* *E39*
45   :dig[raphs] {char1}{char2} {number} ...
46                         Add digraph {char1}{char2} to the list.  {number} is
47 !                       the decimal representation of the character.
48                         Example: >
49         :digr e: 235 a: 228
50   <                     Avoid defining a digraph with '_' (underscore) as the
51 --- 28,35 ----
52                                                         *E104* *E39*
53   :dig[raphs] {char1}{char2} {number} ...
54                         Add digraph {char1}{char2} to the list.  {number} is
55 !                       the decimal representation of the character.  Normally
56 !                       it is the Unicode character, see |digraph-encoding|.
57                         Example: >
58         :digr e: 235 a: 228
59   <                     Avoid defining a digraph with '_' (underscore) as the
60 ***************
61 *** 48,54 ****
62   if you look at it on a system that does not support digraphs or if you print
63   this file.
64   
65 ! The decimal number is the number of the character.
66   
67   ==============================================================================
68   2. Using digraphs                                     *digraphs-use*
69 --- 49,72 ----
70   if you look at it on a system that does not support digraphs or if you print
71   this file.
72   
73 !                                                       *digraph-encoding*
74 ! The decimal number normally is the Unicode number of the character.  Note that
75 ! the meaning doesn't change when 'encoding' changes.  The character will be
76 ! converted from Unicode to 'encoding' when needed.  This does require the
77 ! conversion to be available, it might fail.
78
79 ! When Vim was compiled without the +multi_byte feature, you need to specify the
80 ! character in the encoding given with 'encoding'.  You might want to use
81 ! something like this: >
82
83 !       if has("multi_byte")
84 !               digraph oe 339
85 !       elseif &encoding == "iso-8859-15"
86 !               digraph oe 189
87 !       endif
88
89 ! This defines the "oe" digraph for a character that is number 339 in Unicode
90 ! and 189 in latin9 (iso-8859-15).
91   
92   ==============================================================================
93   2. Using digraphs                                     *digraphs-use*
94 ***************
95 *** 142,147 ****
96 --- 160,173 ----
97   These are the RFC1345 digraphs for the one-byte characters.  See the output of
98   ":digraphs" for the others.  The characters above 255 are only available when
99   Vim was compiled with the |+multi_byte| feature.
100
101 + EURO
102
103 + Exception: RFC1345 doesn't specify the euro sign.  In Vim the digraph =e was
104 + added for this.  Note the difference between latin1, where the digraph Cu is
105 + used for the currency sign, and latin9 (iso-8859-15), where the digraph =e is
106 + used for the euro sign, while both of them are the character 164, 0xa4.
107
108                                                         *digraph-table*
109   char  digraph hex     dec     official name ~
110   ^@    NU      0x00      0     NULL (NUL)
111 *** ../vim-6.3.034/src/version.c        Fri Mar 11 19:16:20 2005
112 --- src/version.c       Fri Mar 18 10:54:13 2005
113 ***************
114 *** 643,644 ****
115 --- 643,646 ----
116   {   /* Add new patch number below this line */
117 + /**/
118 +     65,
119   /**/
120
121 -- 
122 Lawmakers made it obligatory for everybody to take at least one bath
123 each week -- on Saturday night.
124                 [real standing law in Vermont, United States of America]
125
126  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
127 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
128 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
129  \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///
This page took 0.036892 seconds and 3 git commands to generate.