* lisp/progmodes/js.el (js--ctrl-statement-indentation): Fix indent
[emacs.git] / leim / quail / vntelex.el
blob7b7b4925bbbf2774ae4de8d2659f8dbd7dc821da
1 ;;; vntelex.el --- Quail package for Vietnamese by Telex method
3 ;; Copyright (C) 2001-2013 Free Software Foundation, Inc.
5 ;; Author: Werner Lemberg <wl@gnu.org>
6 ;; Keywords: multilingual, input method, Vietnamese
8 ;; This file is part of GNU Emacs.
10 ;; GNU Emacs is free software: you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation, either version 3 of the License, or
13 ;; (at your option) any later version.
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
23 ;;; Commentary:
25 ;; based on the files VietnameseTelex.kmap (written by Nguyen Thanh
26 ;; Bien <biennt@linuxvn.com>) and VNtelex.kmap (written by Nguyen Dai
27 ;; Quy <DaiQuy.Nguyen@ulg.ac.be>) from the yudit 2.4 package
29 ;;; Code:
31 (require 'quail)
34 (quail-define-package
35 "vietnamese-telex" ; NAME
36 "Vietnamese" ; LANGUAGE
37 "VT" ; TITLE
38 t ; GUIDANCE
39 "Vietnamese telex input method
41 Vowels with circumflex:
43 aa -> â, EE -> Ê, etc.
45 Other diacritics:
47 effect postfix examples
48 ------------------------------
49 breve w aw -> ă
50 horn w ow -> ơ
52 acute s as -> á
53 grave f af -> à
54 hook above r ar -> ả
55 tilde x ax -> ã
56 dot below j aj -> ạ
58 d bar dd -> đ
60 Combinations:
62 AWF -> Ằ, owx -> ỡ, etc.
64 Alternatives:
66 EE = Ee -> Ê, AWF = Awf -> Ằ, etc.
68 Doubling the postfix (but not in combinations) separates the letter
69 and postfix: Eee -> Ee, ajj -> aj, etc.
70 " ; DOCSTRING
71 nil ; TRANSLATION-KEYS
72 t ; FORGET-LAST-SELECTION
73 nil ; DETERMINISTIC
74 nil ; KBD-TRANSLATE
75 nil ; SHOW-LAYOUT
76 nil ; CREATE-DECODE-MAP
77 nil ; MAXIMUM-SHORTEST
78 nil ; OVERLAY-PLIST
79 nil ; UPDATE-TRANSLATION-FUNCTION
80 nil ; CONVERSION-KEYS
81 t) ; SIMPLE
83 (quail-define-rules
84 ("af") ; LATIN SMALL LETTER A WITH GRAVE
85 ("AF") ; LATIN CAPITAL LETTER A WITH GRAVE
86 ("Af")
87 ("as") ; LATIN SMALL LETTER A WITH ACUTE
88 ("AS") ; LATIN CAPITAL LETTER A WITH ACUTE
89 ("As")
90 ("aa") ; LATIN SMALL LETTER A WITH CIRCUMFLEX
91 ("AA") ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX
92 ("Aa")
93 ("ax") ; LATIN SMALL LETTER A WITH TILDE
94 ("AX") ; LATIN CAPITAL LETTER A WITH TILDE
95 ("Ax")
96 ("ef") ; LATIN SMALL LETTER E WITH GRAVE
97 ("EF") ; LATIN CAPITAL LETTER E WITH GRAVE
98 ("Ef")
99 ("es") ; LATIN SMALL LETTER E WITH ACUTE
100 ("ES") ; LATIN CAPITAL LETTER E WITH ACUTE
101 ("Es")
102 ("ee") ; LATIN SMALL LETTER E WITH CIRCUMFLEX
103 ("EE") ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX
104 ("Ee")
105 ("if") ; LATIN SMALL LETTER I WITH GRAVE
106 ("IF") ; LATIN CAPITAL LETTER I WITH GRAVE
107 ("If")
108 ("is") ; LATIN SMALL LETTER I WITH ACUTE
109 ("IS") ; LATIN CAPITAL LETTER I WITH ACUTE
110 ("Is")
111 ("of") ; LATIN SMALL LETTER O WITH GRAVE
112 ("OF") ; LATIN CAPITAL LETTER O WITH GRAVE
113 ("Of")
114 ("os") ; LATIN SMALL LETTER O WITH ACUTE
115 ("OS") ; LATIN CAPITAL LETTER O WITH ACUTE
116 ("Os")
117 ("oo") ; LATIN SMALL LETTER O WITH CIRCUMFLEX
118 ("OO") ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX
119 ("Oo")
120 ("ox") ; LATIN SMALL LETTER O WITH TILDE
121 ("OX") ; LATIN CAPITAL LETTER O WITH TILDE
122 ("Ox")
123 ("uf") ; LATIN SMALL LETTER U WITH GRAVE
124 ("UF") ; LATIN CAPITAL LETTER U WITH GRAVE
125 ("Uf")
126 ("us") ; LATIN SMALL LETTER U WITH ACUTE
127 ("US") ; LATIN CAPITAL LETTER U WITH ACUTE
128 ("Us")
129 ("ys") ; LATIN SMALL LETTER Y WITH ACUTE
130 ("YS") ; LATIN CAPITAL LETTER Y WITH ACUTE
131 ("Ys")
132 ("aw") ; LATIN SMALL LETTER A WITH BREVE
133 ("AW") ; LATIN CAPITAL LETTER A WITH BREVE
134 ("Aw")
135 ("ix") ; LATIN SMALL LETTER I WITH TILDE
136 ("IX") ; LATIN CAPITAL LETTER I WITH TILDE
137 ("Ix")
138 ("ux") ; LATIN SMALL LETTER U WITH TILDE
139 ("UX") ; LATIN CAPITAL LETTER U WITH TILDE
140 ("Ux")
141 ("ow") ; LATIN SMALL LETTER O WITH HORN
142 ("OW") ; LATIN CAPITAL LETTER O WITH HORN
143 ("Ow")
144 ("uw") ; LATIN SMALL LETTER U WITH HORN
145 ("UW") ; LATIN CAPITAL LETTER U WITH HORN
146 ("Uw")
147 ("aj" ?ạ) ; LATIN SMALL LETTER A WITH DOT BELOW
148 ("AJ" ?Ạ) ; LATIN CAPITAL LETTER A WITH DOT BELOW
149 ("Aj" ?Ạ)
150 ("ar" ?ả) ; LATIN SMALL LETTER A WITH HOOK ABOVE
151 ("AR" ?Ả) ; LATIN CAPITAL LETTER A WITH HOOK ABOVE
152 ("Ar" ?Ả)
153 ("aas" ?ấ) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE
154 ("AAS" ?Ấ) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND ACUTE
155 ("Aas" ?Ấ)
156 ("aaf" ?ầ) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE
157 ("AAF" ?Ầ) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE
158 ("Aaf" ?Ầ)
159 ("aar" ?ẩ) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE
160 ("AAR" ?Ẩ) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE
161 ("Aar" ?Ẩ)
162 ("aax" ?ẫ) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE
163 ("AAX" ?Ẫ) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE
164 ("Aax" ?Ẫ)
165 ("aaj" ?ậ) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND DOT BELOW
166 ("AAJ" ?Ậ) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND DOT BELOW
167 ("Aaj" ?Ậ)
168 ("aws" ?ắ) ; LATIN SMALL LETTER A WITH BREVE AND ACUTE
169 ("AWS" ?Ắ) ; LATIN CAPITAL LETTER A WITH BREVE AND ACUTE
170 ("Aws" ?Ắ)
171 ("awf" ?ằ) ; LATIN SMALL LETTER A WITH BREVE AND GRAVE
172 ("AWF" ?Ằ) ; LATIN CAPITAL LETTER A WITH BREVE AND GRAVE
173 ("Awf" ?Ằ)
174 ("awr" ?ẳ) ; LATIN SMALL LETTER A WITH BREVE AND HOOK ABOVE
175 ("AWR" ?Ẳ) ; LATIN CAPITAL LETTER A WITH BREVE AND HOOK ABOVE
176 ("Awr" ?Ẳ)
177 ("awx" ?ẵ) ; LATIN SMALL LETTER A WITH BREVE AND TILDE
178 ("AWX" ?Ẵ) ; LATIN CAPITAL LETTER A WITH BREVE AND TILDE
179 ("Awx" ?Ẵ)
180 ("awj" ?ặ) ; LATIN SMALL LETTER A WITH BREVE AND DOT BELOW
181 ("AWJ" ?Ặ) ; LATIN CAPITAL LETTER A WITH BREVE AND DOT BELOW
182 ("Awj" ?Ặ)
183 ("ej" ?ẹ) ; LATIN SMALL LETTER E WITH DOT BELOW
184 ("EJ" ?Ẹ) ; LATIN CAPITAL LETTER E WITH DOT BELOW
185 ("Ej" ?Ẹ)
186 ("er" ?ẻ) ; LATIN SMALL LETTER E WITH HOOK ABOVE
187 ("ER" ?Ẻ) ; LATIN CAPITAL LETTER E WITH HOOK ABOVE
188 ("Er" ?Ẻ)
189 ("ex" ?ẽ) ; LATIN SMALL LETTER E WITH TILDE
190 ("EX" ?Ẽ) ; LATIN CAPITAL LETTER E WITH TILDE
191 ("Ex" ?Ẽ)
192 ("ees" ?ế) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND ACUTE
193 ("EES" ?Ế) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND ACUTE
194 ("Ees" ?Ế)
195 ("eef" ?ề) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND GRAVE
196 ("EEF" ?Ề) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND GRAVE
197 ("Eef" ?Ề)
198 ("eer" ?ể) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE
199 ("EER" ?Ể) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE
200 ("Eer" ?Ể)
201 ("eex" ?ễ) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE
202 ("EEX" ?Ễ) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE
203 ("Eex" ?Ễ)
204 ("eej" ?ệ) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW
205 ("EEJ" ?Ệ) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW
206 ("Eej" ?Ệ)
207 ("ir" ?ỉ) ; LATIN SMALL LETTER I WITH HOOK ABOVE
208 ("IR" ?Ỉ) ; LATIN CAPITAL LETTER I WITH HOOK ABOVE
209 ("Ir" ?Ỉ)
210 ("ij" ?ị) ; LATIN SMALL LETTER I WITH DOT BELOW
211 ("IJ" ?Ị) ; LATIN CAPITAL LETTER I WITH DOT BELOW
212 ("Ij" ?Ị)
213 ("oj" ?ọ) ; LATIN SMALL LETTER O WITH DOT BELOW
214 ("OJ" ?Ọ) ; LATIN CAPITAL LETTER O WITH DOT BELOW
215 ("Oj" ?Ọ)
216 ("or" ?ỏ) ; LATIN SMALL LETTER O WITH HOOK ABOVE
217 ("OR" ?Ỏ) ; LATIN CAPITAL LETTER O WITH HOOK ABOVE
218 ("Or" ?Ỏ)
219 ("oos" ?ố) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND ACUTE
220 ("OOS" ?Ố) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND ACUTE
221 ("Oos" ?Ố)
222 ("oof" ?ồ) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND GRAVE
223 ("OOF" ?Ồ) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND GRAVE
224 ("Oof" ?Ồ)
225 ("oor" ?ổ) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE
226 ("OOR" ?Ổ) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE
227 ("Oor" ?Ổ)
228 ("oox" ?ỗ) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE
229 ("OOX" ?Ỗ) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE
230 ("Oox" ?Ỗ)
231 ("ooj" ?ộ) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELOW
232 ("OOJ" ?Ộ) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND DOT BELOW
233 ("Ooj" ?Ộ)
234 ("ows" ?ớ) ; LATIN SMALL LETTER O WITH HORN AND ACUTE
235 ("OWS" ?Ớ) ; LATIN CAPITAL LETTER O WITH HORN AND ACUTE
236 ("Ows" ?Ớ)
237 ("owf" ?ờ) ; LATIN SMALL LETTER O WITH HORN AND GRAVE
238 ("OWF" ?Ờ) ; LATIN CAPITAL LETTER O WITH HORN AND GRAVE
239 ("Owf" ?Ờ)
240 ("owr" ?ở) ; LATIN SMALL LETTER O WITH HORN AND HOOK ABOVE
241 ("OWR" ?Ở) ; LATIN CAPITAL LETTER O WITH HORN AND HOOK ABOVE
242 ("Owr" ?Ở)
243 ("owx" ?ỡ) ; LATIN SMALL LETTER O WITH HORN AND TILDE
244 ("OWX" ?Ỡ) ; LATIN CAPITAL LETTER O WITH HORN AND TILDE
245 ("Owx" ?Ỡ)
246 ("owj" ?ợ) ; LATIN SMALL LETTER O WITH HORN AND DOT BELOW
247 ("OWJ" ?Ợ) ; LATIN CAPITAL LETTER O WITH HORN AND DOT BELOW
248 ("Owj" ?Ợ)
249 ("uj" ?ụ) ; LATIN SMALL LETTER U WITH DOT BELOW
250 ("UJ" ?Ụ) ; LATIN CAPITAL LETTER U WITH DOT BELOW
251 ("Uj" ?Ụ)
252 ("ur" ?ủ) ; LATIN SMALL LETTER U WITH HOOK ABOVE
253 ("UR" ?Ủ) ; LATIN CAPITAL LETTER U WITH HOOK ABOVE
254 ("Ur" ?Ủ)
255 ("uws" ?ứ) ; LATIN SMALL LETTER U WITH HORN AND ACUTE
256 ("UWS" ?Ứ) ; LATIN CAPITAL LETTER U WITH HORN AND ACUTE
257 ("Uws" ?Ứ)
258 ("uwf" ?ừ) ; LATIN SMALL LETTER U WITH HORN AND GRAVE
259 ("UWF" ?Ừ) ; LATIN CAPITAL LETTER U WITH HORN AND GRAVE
260 ("Uwf" ?Ừ)
261 ("uwr" ?ử) ; LATIN SMALL LETTER U WITH HORN AND HOOK ABOVE
262 ("UWR" ?Ử) ; LATIN CAPITAL LETTER U WITH HORN AND HOOK ABOVE
263 ("Uwr" ?Ử)
264 ("uwx" ?ữ) ; LATIN SMALL LETTER U WITH HORN AND TILDE
265 ("UWX" ?Ữ) ; LATIN CAPITAL LETTER U WITH HORN AND TILDE
266 ("Uwx" ?Ữ)
267 ("uwj" ?ự) ; LATIN SMALL LETTER U WITH HORN AND DOT BELOW
268 ("UWJ" ?Ự) ; LATIN CAPITAL LETTER U WITH HORN AND DOT BELOW
269 ("Uwj" ?Ự)
270 ("yf" ?ỳ) ; LATIN SMALL LETTER Y WITH GRAVE
271 ("YF" ?Ỳ) ; LATIN CAPITAL LETTER Y WITH GRAVE
272 ("Yf" ?Ỳ)
273 ("yj" ?ỵ) ; LATIN SMALL LETTER Y WITH DOT BELOW
274 ("YJ" ?Ỵ) ; LATIN CAPITAL LETTER Y WITH DOT BELOW
275 ("Yj" ?Ỵ)
276 ("yr" ?ỷ) ; LATIN SMALL LETTER Y WITH HOOK ABOVE
277 ("YR" ?Ỷ) ; LATIN CAPITAL LETTER Y WITH HOOK ABOVE
278 ("Yr" ?Ỷ)
279 ("yx" ?ỹ) ; LATIN SMALL LETTER Y WITH TILDE
280 ("YX" ?Ỹ) ; LATIN CAPITAL LETTER Y WITH TILDE
281 ("Yx" ?Ỹ)
282 ("dd") ; LATIN SMALL LETTER D WITH STROKE
283 ("DD") ; LATIN CAPITAL LETTER D WITH STROKE
284 ("Dd")
285 ;("$$" ?₫) ; U+20AB DONG SIGN (#### check)
287 ("aff" ["af"])
288 ("AFF" ["AF"])
289 ("Aff" ["Af"])
290 ("ass" ["as"])
291 ("ASS" ["AS"])
292 ("Ass" ["As"])
293 ("aaa" ["aa"])
294 ("AAA" ["AA"])
295 ("Aaa" ["Aa"])
296 ("axx" ["ax"])
297 ("AXX" ["AX"])
298 ("Axx" ["Ax"])
299 ("eff" ["ef"])
300 ("EFF" ["EF"])
301 ("Eff" ["Ef"])
302 ("ess" ["es"])
303 ("ESS" ["ES"])
304 ("Ess" ["Es"])
305 ("eee" ["ee"])
306 ("EEE" ["EE"])
307 ("Eee" ["Ee"])
308 ("iff" ["if"])
309 ("IFF" ["IF"])
310 ("Iff" ["If"])
311 ("iss" ["is"])
312 ("ISS" ["IS"])
313 ("Iss" ["Is"])
314 ("off" ["of"])
315 ("OFF" ["OF"])
316 ("Off" ["Of"])
317 ("oss" ["os"])
318 ("OSS" ["OS"])
319 ("Oss" ["Os"])
320 ("ooo" ["oo"])
321 ("OOO" ["OO"])
322 ("Ooo" ["Oo"])
323 ("oxx" ["ox"])
324 ("OXX" ["OX"])
325 ("Oxx" ["Ox"])
326 ("uff" ["uf"])
327 ("UFF" ["UF"])
328 ("Uff" ["Uf"])
329 ("uss" ["us"])
330 ("USS" ["US"])
331 ("Uss" ["Us"])
332 ("yss" ["ys"])
333 ("YSS" ["YS"])
334 ("Yss" ["Ys"])
335 ("aww" ["aw"])
336 ("AWW" ["AW"])
337 ("Aww" ["Aw"])
338 ("ixx" ["ix"])
339 ("IXX" ["IX"])
340 ("Ixx" ["Ix"])
341 ("uxx" ["ux"])
342 ("UXX" ["UX"])
343 ("Uxx" ["ux"])
344 ("oww" ["ow"])
345 ("OWW" ["OW"])
346 ("Oww" ["Ow"])
347 ("uww" ["uw"])
348 ("UWW" ["UW"])
349 ("Uww" ["Uw"])
350 ("ajj" ["aj"])
351 ("AJJ" ["AJ"])
352 ("Ajj" ["Aj"])
353 ("arr" ["ar"])
354 ("ARR" ["AR"])
355 ("Arr" ["Ar"])
356 ("ejj" ["ej"])
357 ("EJJ" ["EJ"])
358 ("Ejj" ["Ej"])
359 ("err" ["er"])
360 ("ERR" ["ER"])
361 ("Err" ["Er"])
362 ("exx" ["ex"])
363 ("EXX" ["EX"])
364 ("Exx" ["Ex"])
365 ("irr" ["ir"])
366 ("IRR" ["IR"])
367 ("Irr" ["Ir"])
368 ("ijj" ["ij"])
369 ("IJJ" ["IJ"])
370 ("Ijj" ["Ij"])
371 ("ojj" ["oj"])
372 ("OJJ" ["OJ"])
373 ("Ojj" ["Oj"])
374 ("orr" ["or"])
375 ("ORR" ["OR"])
376 ("Orr" ["Or"])
377 ("ujj" ["uj"])
378 ("UJJ" ["UJ"])
379 ("Ujj" ["Uj"])
380 ("urr" ["ur"])
381 ("URR" ["UR"])
382 ("Urr" ["Ur"])
383 ("yff" ["yf"])
384 ("YFF" ["YF"])
385 ("Yff" ["Yf"])
386 ("yjj" ["yj"])
387 ("YJJ" ["YJ"])
388 ("Yjj" ["Yj"])
389 ("yrr" ["yr"])
390 ("YRR" ["YR"])
391 ("Yrr" ["Yr"])
392 ("yxx" ["yx"])
393 ("YXX" ["YX"])
394 ("Yxx" ["Yx"])
395 ("ddd" ["dd"])
396 ("DDD" ["DD"])
397 ("Ddd" ["Dd"])
398 ;("$$$" ["$$"])
400 ;; escape from composition
401 ("\\w" ?w) ; breve or horn
402 ("\\W" ?W)
403 ("\\a" ?a) ; a circumflex
404 ("\\A" ?A) ; A circumflex
405 ("\\e" ?e) ; e circumflex
406 ("\\E" ?E) ; E circumflex
407 ("\\o" ?o) ; o circumflex
408 ("\\O" ?O) ; O circumflex
409 ("\\s" ?s) ; acute
410 ("\\S" ?S)
411 ("\\f" ?f) ; grave
412 ("\\F" ?F)
413 ("\\r" ?r) ; hook above
414 ("\\R" ?R)
415 ("\\x" ?x) ; tilde
416 ("\\X" ?X)
417 ("\\j" ?j) ; dot below
418 ("\\J" ?J)
419 ("\\d" ?d) ; d-bar (d)
420 ("\\D" ?D) ; D-bar (d)
421 ("\\\\" ?\\) ; literal backslash
424 ;; Local Variables:
425 ;; coding: utf-8
426 ;; End:
428 ;;; vntelex.el ends here