Mercurial > emacs
annotate leim/quail/viqr.el @ 40818:1f2eaa535150
(dired-move-to-filename-regexp):
Do not distinguish between ASCII letters and non-ASCII characters.
Don't allow comma except in the form "month day, year".
Don't allow space between month name and comma.
Clean up the code that checks for trailing period, comma, and space.
Remove now-obsolete comments, and add more commentary about
Japanese dates.
Always gobble up trailing spaces, instead of doing it only sometimes.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Wed, 07 Nov 2001 21:52:44 +0000 |
parents | 890f548046c1 |
children | 695cf19ef79e d7ddb3e565de |
rev | line source |
---|---|
40710 | 1 ;;; viqr.el --- Quail packages for inputting Vietnamese with VIQR system -*-coding: iso-2022-7bit;-*- |
18673 | 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 | |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
25 ;;; Commentary: |
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
26 |
18673 | 27 ;;; Code: |
28 | |
29 (require 'quail) | |
30 (require 'viet-util) | |
31 | |
32 ;; `viet-viqr-alist' is an alist of Vietnamese characters vs | |
33 ;; corresponding VIQR strings. We create Quail map which maps VIQR | |
34 ;; strings to corresponding Vietnamese characters. | |
35 | |
36 (defmacro viet-quail-define-rules () | |
37 (cons 'quail-define-rules | |
38 (let ((l viet-viqr-alist) | |
39 rules) | |
40 (while l | |
41 (setq rules (cons (list (cdr (car l)) (car (car l))) rules)) | |
42 (setq l (cdr l))) | |
43 rules))) | |
44 | |
45 (quail-define-package | |
46 "vietnamese-viqr" "Vietnamese" "VQ" t | |
47 "Vietnamese input method with VIQR mnemonic system | |
48 | |
49 effect | postfix | examples | |
50 ------------+---------+---------- | |
51 breve | ( | a( -> ,1e(B | |
52 circumflex | ^ | a^ -> ,1b(B | |
53 horn | + | o+ -> ,1=(B | |
54 ------------+---------+---------- | |
55 acute | ' | a' -> ,1a(B | |
56 grave | ` | a` -> ,1`(B | |
57 hook above | ? | a? -> ,1d(B | |
58 tilde | ~ | a~ -> ,1c(B | |
59 dot below | . | a. -> ,1U(B | |
60 ------------+---------+---------- | |
61 d bar | dd | dd -> ,1p(B | |
62 ------------+---------+---------- | |
19939
bd8f326c0aad
(vietnamese-viqr): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents:
19722
diff
changeset
|
63 no compose | \\ | a\\. -> a. |
18673 | 64 ------------+---------+---------- |
65 combination| (~ | a(~ -> ,1G(B | |
19722
dd39cae4cf0f
For each package, pass t for the SIMPLE
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
66 " nil t t nil nil t nil nil nil nil t) |
18673 | 67 |
68 | |
69 (viet-quail-define-rules) | |
70 | |
38453
519983161a46
Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
19939
diff
changeset
|
71 ;;; viqr.el ends here |