Mercurial > emacs
annotate leim/quail/viqr.el @ 72348:abf2841bcbd7
(Recognize Coding, Text Coding): Fix typos.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Thu, 10 Aug 2006 18:42:49 +0000 |
parents | b94a4bf1aca6 |
children | 6ee41fdd69ff 7beb78bc1f8e |
rev | line source |
---|---|
40710 | 1 ;;; viqr.el --- Quail packages for inputting Vietnamese with VIQR system -*-coding: iso-2022-7bit;-*- |
18673 | 2 |
67657 | 3 ;; Copyright (C) 1997 |
4 ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
5 ;; Registration Number H14PRO021 | |
18673 | 6 |
7 ;; Keywords: multilingual, input method, latin | |
8 | |
9 ;; This file is part of GNU Emacs. | |
10 | |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 ;; it under the terms of the GNU General Public License as published by | |
13 ;; the Free Software Foundation; either version 2, or (at your option) | |
14 ;; any later version. | |
15 | |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 ;; GNU General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
64083 | 23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 ;; Boston, MA 02110-1301, USA. | |
18673 | 25 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
26 ;;; Commentary: |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
27 |
18673 | 28 ;;; Code: |
29 | |
30 (require 'quail) | |
31 (require 'viet-util) | |
32 | |
33 ;; `viet-viqr-alist' is an alist of Vietnamese characters vs | |
34 ;; corresponding VIQR strings. We create Quail map which maps VIQR | |
35 ;; strings to corresponding Vietnamese characters. | |
36 | |
37 (defmacro viet-quail-define-rules () | |
38 (cons 'quail-define-rules | |
39 (let ((l viet-viqr-alist) | |
40 rules) | |
41 (while l | |
42 (setq rules (cons (list (cdr (car l)) (car (car l))) rules)) | |
43 (setq l (cdr l))) | |
44 rules))) | |
45 | |
46 (quail-define-package | |
47 "vietnamese-viqr" "Vietnamese" "VQ" t | |
48 "Vietnamese input method with VIQR mnemonic system | |
49 | |
50 effect | postfix | examples | |
51 ------------+---------+---------- | |
52 breve | ( | a( -> ,1e(B | |
53 circumflex | ^ | a^ -> ,1b(B | |
54 horn | + | o+ -> ,1=(B | |
55 ------------+---------+---------- | |
56 acute | ' | a' -> ,1a(B | |
57 grave | ` | a` -> ,1`(B | |
58 hook above | ? | a? -> ,1d(B | |
59 tilde | ~ | a~ -> ,1c(B | |
60 dot below | . | a. -> ,1U(B | |
61 ------------+---------+---------- | |
62 d bar | dd | dd -> ,1p(B | |
63 ------------+---------+---------- | |
19939
bd8f326c0aad
(vietnamese-viqr): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents:
19722
diff
changeset
|
64 no compose | \\ | a\\. -> a. |
18673 | 65 ------------+---------+---------- |
66 combination| (~ | a(~ -> ,1G(B | |
19722
dd39cae4cf0f
For each package, pass t for the SIMPLE
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
67 " nil t t nil nil t nil nil nil nil t) |
18673 | 68 |
69 | |
70 (viet-quail-define-rules) | |
71 | |
52401 | 72 ;;; arch-tag: d2c29221-5a2e-46b2-898b-0e56bc4eb858 |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
73 ;;; viqr.el ends here |