annotate lisp/mule/vietnamese-hooks-2.el @ 110:fe104dbd9147 r20-1b7

Import from CVS: tag r20-1b7
author cvs
date Mon, 13 Aug 2007 09:19:45 +0200
parents 131b0175ea99
children 6608ceec7cf8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 ;;; vietnamese-hooks-2.el --- pre-loaded support for Vietnamese, part 2.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3 ;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4 ;; Copyright (C) 1995 Amdahl Corporation.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 ;; Copyright (C) 1995 Sun Microsystems.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 ;; This file is part of XEmacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 ;; XEmacs is free software; you can redistribute it and/or modify it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 ;; under the terms of the GNU General Public License as published by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 ;; the Free Software Foundation; either version 2, or (at your option)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12 ;; any later version.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 ;; XEmacs is distributed in the hope that it will be useful, but
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 ;; General Public License for more details.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 ;; You should have received a copy of the GNU General Public License
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 ;; along with XEmacs; see the file COPYING. If not, write to the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 ;; Boston, MA 02111-1307, USA.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 ;;; Synched up with: Mule 2.3.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 ;; See comment in vietnamese-hooks-1.el for why we split up the Vietnamese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27 ;; stuff into two files.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 ;;; VIETNAMESE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 (define-ccl-program ccl-read-viscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34 '(((read r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 (loop
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 (write-read-repeat
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 r0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 [ 0 1 ?,2F(B 3 4 ?,2G(B ?,2g(B 7 8 9 10 11 12 13 14 15
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39 16 17 18 19 ?,2V(B 21 22 23 24 ?,2[(B 26 27 28 29 ?,2\(B 31
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 ?,2U(B ?,2!(B ?,2"(B ?,2#(B ?,2$(B ?,2%(B ?,2&(B ?,2'(B ?,2((B ?,2)(B ?,2*(B ?,2+(B ?,2,(B ?,2-(B ?,2.(B ?,2/(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 ?,20(B ?,21(B ?,22(B ?,25(B ?,2~(B ?,2>(B ?,26(B ?,27(B ?,28(B ?,2v(B ?,2w(B ?,2o(B ?,2|(B ?,2{(B ?,2x(B ?,2O(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 ?,2u(B ?,1!(B ?,1"(B ?,1#(B ?,1$(B ?,1%(B ?,1&(B ?,1'(B ?,1((B ?,1)(B ?,1*(B ?,1+(B ?,1,(B ?,1-(B ?,1.(B ?,1/(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 ?,10(B ?,11(B ?,12(B ?,2^(B ?,2=(B ?,15(B ?,16(B ?,17(B ?,18(B ?,2q(B ?,2Q(B ?,2W(B ?,2X(B ?,1=(B ?,1>(B ?,2_(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50 ?,2`(B ?,2a(B ?,2b(B ?,2c(B ?,2d(B ?,2e(B ?,1F(B ?,1G(B ?,2h(B ?,2i(B ?,2j(B ?,2k(B ?,2l(B ?,2m(B ?,2n(B ?,1O(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 ?,2p(B ?,1Q(B ?,2r(B ?,2s(B ?,2t(B ?,1U(B ?,1V(B ?,1W(B ?,1X(B ?,2y(B ?,2z(B ?,1[(B ?,1\(B ?,2}(B ?,1^(B ?,1_(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52 ?,1`(B ?,1a(B ?,1b(B ?,1c(B ?,1d(B ?,1e(B ?,1f(B ?,1g(B ?,1h(B ?,1i(B ?,1j(B ?,1k(B ?,1l(B ?,1m(B ?,1n(B ?,1o(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 ?,1p(B ?,1q(B ?,1r(B ?,1s(B ?,1t(B ?,1u(B ?,1v(B ?,1w(B ?,1x(B ?,1y(B ?,1z(B ?,1{(B ?,1|(B ?,1}(B ?,1~(B ?,2f(B ]))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54 "CCL program to read VISCII 1.1")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56 (define-ccl-program ccl-write-viscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 '(((read r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58 (loop
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 (if (r0 < 128)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 (write-read-repeat r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
61 (if (r0 != 154)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
62 (write-read-repeat r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
63 ((read-if (r0 == 163)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
64 ((read r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
65 (r0 -= 160)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
66 (write-read-repeat
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
67 r0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
68 [ 0 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
69 176 177 178 0 0 181 182 183 184 0 0 0 0 189 190 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
70 0 0 0 0 0 0 198 199 0 0 0 0 0 0 0 207
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
71 0 209 0 0 0 213 214 215 216 0 0 219 220 0 222 223
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
72 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
73 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
74 ]))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
75 (if (r0 == 164)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
76 ((read r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
77 (r0 -= 160)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
78 (write-read-repeat
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
79 r0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
80 [ 0 129 130 131 132 165 134 135 136 137 138 139 140 141 142 143
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
81 144 145 146 0 0 147 150 151 152 0 0 0 0 180 149 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
82 0 0 0 0 0 0 2 5 0 0 0 0 0 0 0 159
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
83 0 186 0 0 0 128 20 187 188 0 0 25 30 0 179 191
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
84 192 193 194 195 196 197 255 6 200 201 202 203 204 205 206 155
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
85 208 185 210 211 212 160 153 154 158 217 218 157 156 221 148 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
86 ]))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
87 (write-read-repeat r0)))))))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
88 "CCL program to write VISCII 1.1")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
89
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
90 (make-coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
91 'viscii 'ccl
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
92 "Coding-system used for VISCII 1.1."
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
93 `(mnemonic "VISCII"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
94 decode ,ccl-read-viscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
95 encode ,ccl-write-viscii))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
96
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
97 (make-coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
98 'viqr 'no-conversion
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
99 "Coding-system used for VIQR."
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
100 '(mnemonic "VIQR"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
101 eol-type lf
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
102 post-read-conversion vn-compose-viqr
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
103 pre-write-conversion vn-decompose-viqr))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
104
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
105 (define-ccl-program ccl-read-vscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
106 '(((read r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
107 (loop
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
108 (write-read-repeat r0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
109 [0 ?,2z(B ?,2x(B 3 ?,2W(B ?,2X(B ?,2f(B 7 8 9 10 11 12 13 14 15
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
110 16 ?,2Q(B ?,2_(B ?,2O(B ?,2V(B ?,2[(B ?,2}(B ?,2\(B 24 25 26 27 28 29 30 31
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
111 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
112 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
113 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
114 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
115 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
116 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
117 ?,2`(B ?,2d(B ?,2c(B ?,2a(B ?,2U(B ?,2#(B ?,2'(B ?,2h(B ?,2k(B ?,2((B ?,2i(B ?,2)(B ?,2.(B ?,2l(B ?,2o(B ?,2n(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
118 ?,2m(B ?,28(B ?,2r(B ?,2v(B ?,2u(B ?,2s(B ?,2w(B ?,25(B ?,26(B ?,27(B ?,2^(B ?,2>(B ?,2~(B ?,2y(B ?,2|(B ?,2{(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
119 160 ?,2e(B ?,2b(B ?,2j(B ?,2t(B ?,2=(B ?,2_(B ?,2p(B ?,1e(B ?,1b(B ?,1j(B ?,1t(B ?,1>(B ?,1y(B ?,1p(B ?,2"(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
120 192 193 194 195 196 ?,1`(B ?,1d(B ?,1c(B ?,1a(B ?,1U(B ?,2F(B ?,1"(B ?,1F(B ?,1G(B ?,1!(B ?,2G(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
121 ?,2!(B ?,2%(B ?,2&(B ?,2g(B ?,2%(B ?,2+(B ?,1#(B ?,1%(B ?,1&(B ?,1g(B ?,1$(B ?,1'(B ?,1h(B ?,2,(B ?,1k(B ?,1((B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
122 ?,1i(B ?,1)(B ?,1+(B ?,1,(B ?,1-(B ?,1*(B ?,1.(B ?,1l(B ?,1o(B ?,2-(B ?,2*(B ?,20(B ?,1n(B ?,1m(B ?,18(B ?,1r(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
123 ?,21(B ?,1v(B ?,1u(B ?,1s(B ?,1w(B ?,10(B ?,11(B ?,12(B ?,1/(B ?,15(B ?,16(B ?,17(B ?,1^(B ?,1>(B ?,1~(B ?,1y(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
124 ?,22(B ?,1|(B ?,1{(B ?,1z(B ?,1x(B ?,1W(B ?,1X(B ?,1f(B ?,1Q(B ?,1q(B ?,1O(B ?,1V(B ?,1[(B ?,1}(B ?,1\(B ?,2/(B]))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
125 "CCL program to read VSCII-1.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
126
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
127 (define-ccl-program ccl-write-vscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
128 '(((read r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
129 (loop
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
130 (if (r0 < 128)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
131 (write-read-repeat r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
132 (if (r0 != 154)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
133 (write-read-repeat r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
134 (read-if (r0 == 163)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
135 ((read r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
136 (r0 -= 160)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
137 (write-read-repeat
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
138 r0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
139 [ 0 190 187 198 202 199 200 203 207 209 213 210 211 212 214 232
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
140 229 230 231 0 0 233 234 235 222 0 0 0 0 0 237 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
141 0 0 0 0 0 0 188 189 0 0 0 0 0 0 0 250
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
142 0 248 0 0 0 185 251 245 246 0 0 252 254 0 236 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
143 181 184 169 183 182 168 247 201 204 208 170 206 215 221 220 216
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
144 174 249 223 227 171 226 225 228 244 239 243 242 241 253 238 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
145 ]))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
146 (if (r0 == 164)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
147 ((read r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
148 (r0 -= 160)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
149 (write-read-repeat
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
150 r0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
151 [ 0 192 175 133 0 196 194 134 137 139 218 197 205 217 140 255
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
152 219 224 240 0 0 151 152 153 145 0 0 0 0 165 155 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
153 0 0 0 0 0 0 186 191 0 0 0 0 0 0 0 19
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
154 0 17 0 0 0 132 20 4 5 0 0 21 23 0 154 166
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
155 128 131 162 130 129 161 6 195 135 138 163 136 141 144 143 142
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
156 167 0 146 149 164 148 147 150 2 157 1 159 158 22 156 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
157 ]))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
158 (write-read-repeat r0))))))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
159 "CCL program to write VSCII-1.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
160
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
161 (make-coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
162 'vscii 'ccl
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
163 "Coding-system used for VSCII 1.1."
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
164 `(mnemonic "VSCII"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
165 decode ,ccl-read-vscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
166 encode ,ccl-write-vscii))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
167
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
168 (define-ccl-program ccl-vietnamese-lower-to-viscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
169 '(((r1 = r1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
170 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
171 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
172 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
173 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
174 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
175 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
176 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
177 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
178 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
179 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
180 0 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
181 176 177 178 0 0 181 182 183 184 0 0 0 0 189 190 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
182 0 0 0 0 0 0 198 199 0 0 0 0 0 0 0 207
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
183 0 209 0 0 0 213 214 215 216 0 0 219 220 0 222 223
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
184 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
185 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
186 ])))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
187 "CCL program to convert chars of 'vietnamese-lower to VISCII 1.1 font")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
188
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
189 (define-ccl-program ccl-vietnamese-upper-to-viscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
190 '(((r1 = r1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
191 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
192 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
193 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
194 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
195 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
196 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
197 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
198 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
199 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
200 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
201 0 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
202 144 145 146 0 0 147 150 151 152 0 0 0 0 180 149 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
203 0 0 0 0 0 0 2 5 0 0 0 0 0 0 0 159
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
204 0 186 0 0 0 128 20 187 188 0 0 25 30 0 179 191
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
205 192 193 194 195 196 197 255 6 200 201 202 203 204 205 206 155
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
206 208 185 210 211 212 160 153 154 158 217 218 157 156 221 148 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
207 ])))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
208 "CCL program to convert chars of 'vietnamese-upper to VISCII 1.1 font")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
209
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
210 (define-ccl-program ccl-vietnamese-lower-to-vscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
211 '(((r1 = r1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
212 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
213 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
214 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
216 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
217 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
218 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
219 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
220 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
221 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
222 0 190 187 198 202 199 200 203 207 209 213 210 211 212 214 232
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
223 229 230 231 0 0 233 234 235 222 0 0 0 0 0 237 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
224 0 0 0 0 0 0 188 189 0 0 0 0 0 0 0 250
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
225 0 248 0 0 0 185 251 245 246 0 0 252 254 0 236 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
226 181 184 169 183 182 168 247 201 204 208 170 206 215 221 220 216
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
227 174 249 223 227 171 226 225 228 244 239 243 242 241 253 238 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
228 ])))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
229 "CCL program to convert chars of 'vietnamese-lower to VSCII-1 font.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
230
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
231 (define-ccl-program ccl-vietnamese-upper-to-vscii
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
232 '(((r1 = r1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
233 [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
234 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
235 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
236 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
237 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
238 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
239 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
240 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
241 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
242 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
243 0 192 175 133 0 196 194 134 137 139 218 197 205 217 140 255
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
244 219 224 240 0 0 151 152 153 145 0 0 0 0 165 155 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
245 0 0 0 0 0 0 186 191 0 0 0 0 0 0 0 19
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
246 0 17 0 0 0 132 20 4 5 0 0 21 23 0 154 166
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
247 128 131 162 130 129 161 6 195 135 138 163 136 141 144 143 142
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
248 167 0 146 149 164 148 147 150 2 157 1 159 158 22 156 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
249 ])))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
250 "CCL program to convert chars of 'vietnamese-upper to VSCII-1 font.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
251
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
252 ;; For VISCII users
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
253 (set-charset-ccl-program 'vietnamese-lower ccl-vietnamese-lower-to-viscii)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
254 (set-charset-ccl-program 'vietnamese-upper ccl-vietnamese-upper-to-viscii)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
255 ;; For VSCII users
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
256 ;; (set-charset-ccl-program 'vietnamese-lower ccl-vietnamese-lower-to-vscii)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
257 ;; (set-charset-ccl-program 'vietnamese-upper ccl-vietnamese-upper-to-vscii)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
258
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
259 (add-hook 'quail-package-alist '("viqr" "quail/viet"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
260
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
261 (define-language-environment 'vietnamese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
262 "Vietnamese"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
263 (lambda ()
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
264 ;; For VISCII users
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
265 (set-coding-category-system 'no-conversion 'viscii)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
266 ;; For VSCII users
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
267 ;; (setq coding-category-system 'binary 'vscii)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
268 (set-coding-priority-list '(no-conversion))
110
fe104dbd9147 Import from CVS: tag r20-1b7
cvs
parents: 70
diff changeset
269 (set-default-buffer-file-coding-system 'viscii)
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
270 (setq-default quail-current-package (assoc "viqr" quail-package-alist))))