Mercurial > emacs
annotate leim/quail/viqr.el @ 22477:9bc88c123895 gcc-2_8_1-980627 gcc-2_8_1-980705 gcc-2_8_1-980718 libc-980614 libc-980615 libc-980616 libc-980617 libc-980618 libc-980619 libc-980620 libc-980621 libc-980622 libc-980623 libc-980624 libc-980625 libc-980626 libc-980627 libc-980628 libc-980629 libc-980630 libc-980701 libc-980702 libc-980703 libc-980704 libc-980705 libc-980706 libc-980707 libc-980708 libc-980709 libc-980710 libc-980711 libc-980712 libc-980713 libc-980714 libc-980715 libc-980716 libc-980717 libc-980718 libc-980719
(sun4H:SunOS:5.*:*): New case.
author | Richard Kenner <kenner@gnu.org> |
---|---|
date | Sat, 13 Jun 1998 19:51:10 +0000 |
parents | bd8f326c0aad |
children | 519983161a46 |
rev | line source |
---|---|
18673 | 1 ;; quail/viqr.el -- Quail packages for inputting Vietnamese with VIQR system |
2 | |
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. | |
4 ;; Licensed to the Free Software Foundation. | |
5 | |
6 ;; Keywords: multilingual, input method, latin | |
7 | |
8 ;; This file is part of GNU Emacs. | |
9 | |
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 2, or (at your option) | |
13 ;; any later version. | |
14 | |
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. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
23 ;; Boston, MA 02111-1307, USA. | |
24 | |
25 ;;; Code: | |
26 | |
27 (require 'quail) | |
28 (require 'viet-util) | |
29 | |
30 ;; `viet-viqr-alist' is an alist of Vietnamese characters vs | |
31 ;; corresponding VIQR strings. We create Quail map which maps VIQR | |
32 ;; strings to corresponding Vietnamese characters. | |
33 | |
34 (defmacro viet-quail-define-rules () | |
35 (cons 'quail-define-rules | |
36 (let ((l viet-viqr-alist) | |
37 rules) | |
38 (while l | |
39 (setq rules (cons (list (cdr (car l)) (car (car l))) rules)) | |
40 (setq l (cdr l))) | |
41 rules))) | |
42 | |
43 (quail-define-package | |
44 "vietnamese-viqr" "Vietnamese" "VQ" t | |
45 "Vietnamese input method with VIQR mnemonic system | |
46 | |
47 effect | postfix | examples | |
48 ------------+---------+---------- | |
49 breve | ( | a( -> ,1e(B | |
50 circumflex | ^ | a^ -> ,1b(B | |
51 horn | + | o+ -> ,1=(B | |
52 ------------+---------+---------- | |
53 acute | ' | a' -> ,1a(B | |
54 grave | ` | a` -> ,1`(B | |
55 hook above | ? | a? -> ,1d(B | |
56 tilde | ~ | a~ -> ,1c(B | |
57 dot below | . | a. -> ,1U(B | |
58 ------------+---------+---------- | |
59 d bar | dd | dd -> ,1p(B | |
60 ------------+---------+---------- | |
19939
bd8f326c0aad
(vietnamese-viqr): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents:
19722
diff
changeset
|
61 no compose | \\ | a\\. -> a. |
18673 | 62 ------------+---------+---------- |
63 combination| (~ | a(~ -> ,1G(B | |
19722
dd39cae4cf0f
For each package, pass t for the SIMPLE
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
64 " nil t t nil nil t nil nil nil nil t) |
18673 | 65 |
66 | |
67 (viet-quail-define-rules) | |
68 | |
69 ;;; quail/viqr.el ends here |