annotate leim/quail/viqr.el @ 35453:26726eff41ca zsh-sync-ognus-2

2001-01-21 ShengHuo ZHU <zsh@cs.rochester.edu> * message.el (message-forward): Use mule4. * mm-util.el (mm-string-as-unibyte): New. * message.el (message-forward): Use it. * message.el (message-cite-original-without-signature): Don't peel off the blank line. (message-get-reply-headers): Add Cc if it is not in follow-to. * message.el (message-send-mail): Content-Type may not be there. By Alberto Lusiani. * gnus-art.el (article-display-x-face): Insert X-Face if there is not. * rfc2047.el (rfc2047-fold-region): Don't insert LWSP if there is one. * gnus-win.el (gnus-configure-windows): switch-to-buffer in XEmacs. (gnus-remove-some-windows): Ditto. * mm-decode.el (mm-interactively-view-part): Don't copy-sequence handle. * gnus-art.el (gnus-mime-view-part): Copy it. (gnus-mime-view-part-as-type): Add into gnus-article-mime-handles. * nnmail.el (nnmail-get-new-mail): Find group only if file is not orig-file. Use ',source. * nnslashdot.el (nnslashdot-request-list): Get the right year. By Lars Magne Ingebrigtsen. * pop3.el (pop3-get-message-count): Andrew Innes <andrewi@gnu.org>'s patch of 1999-12-01 was not fully committed.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Sun, 21 Jan 2001 05:33:42 +0000
parents bd8f326c0aad
children 519983161a46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 ;; quail/viqr.el -- Quail packages for inputting Vietnamese with VIQR system
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
4 ;; Licensed to the Free Software Foundation.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 ;; Keywords: multilingual, input method, latin
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 ;; any later version.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 ;; Boston, MA 02111-1307, USA.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 ;;; Code:
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 (require 'quail)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28 (require 'viet-util)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 ;; `viet-viqr-alist' is an alist of Vietnamese characters vs
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31 ;; corresponding VIQR strings. We create Quail map which maps VIQR
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32 ;; strings to corresponding Vietnamese characters.
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34 (defmacro viet-quail-define-rules ()
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
35 (cons 'quail-define-rules
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
36 (let ((l viet-viqr-alist)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
37 rules)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38 (while l
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39 (setq rules (cons (list (cdr (car l)) (car (car l))) rules))
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40 (setq l (cdr l)))
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41 rules)))
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
42
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43 (quail-define-package
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
44 "vietnamese-viqr" "Vietnamese" "VQ" t
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
45 "Vietnamese input method with VIQR mnemonic system
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
47 effect | postfix | examples
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
48 ------------+---------+----------
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
49 breve | ( | a( -> ,1e(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 circumflex | ^ | a^ -> ,1b(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 horn | + | o+ -> ,1=(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52 ------------+---------+----------
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
53 acute | ' | a' -> ,1a(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
54 grave | ` | a` -> ,1`(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
55 hook above | ? | a? -> ,1d(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
56 tilde | ~ | a~ -> ,1c(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
57 dot below | . | a. -> ,1U(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
58 ------------+---------+----------
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
59 d bar | dd | dd -> ,1p(B
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
60 ------------+---------+----------
19939
bd8f326c0aad (vietnamese-viqr): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents: 19722
diff changeset
61 no compose | \\ | a\\. -> a.
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
62 ------------+---------+----------
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
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
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
65
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
66
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
67 (viet-quail-define-rules)
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
68
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
69 ;;; quail/viqr.el ends here