annotate lisp/leim/quail/py-punct.el @ 197:acd284d43ca1 r20-3b25

Import from CVS: tag r20-3b25
author cvs
date Mon, 13 Aug 2007 10:00:02 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
1 ;; quail/py-punct.el -- Quail packages for Chinese (pinyin + extra symbols)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
2
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
4 ;; Licensed to the Free Software Foundation.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
5
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
6 ;; Author: Ken'ichi HANDA <handa@etl.go.jp>
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
7
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
8 ;; Keywords: multilingual, input method, Chienese
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
9
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
10 ;; This file is part of GNU Emacs.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
11
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
12 ;; GNU Emacs is free software; you can redistribute it and/or modify
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
13 ;; it under the terms of the GNU General Public License as published by
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
14 ;; the Free Software Foundation; either version 2, or (at your option)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
15 ;; any later version.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
16
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
17 ;; GNU Emacs is distributed in the hope that it will be useful,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
20 ;; GNU General Public License for more details.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
21
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
22 ;; You should have received a copy of the GNU General Public License
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
24 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
25 ;; Boston, MA 02111-1307, USA.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
26
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
27 (require 'quail)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
28
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
29 (load "quail/PY")
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
30 (load "quail/Punct")
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
31
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
32 (quail-define-package
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
33 "chinese-py-punct" "Chinese-GB" "$AF47{(B"
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
34 t
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
35 "$A::WVJdHk(B $AF4Rt7=08(B and `v' for $A1j5c7{:EJdHk(B
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
36
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
37 This is the combination of Quail packages \"chinese-py\" and \"chinese-punct\".
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
38 You can enter normal Chinese characters by the same way as \"chinese-py\".
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
39 And, you can enter symbols by typing `v' followed by any key sequences
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
40 defined in \"chinese-punct\".
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
41
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
42 For instance, typing `v' and `%' insert `$A#%(B'.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
43 ")
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
44
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
45 (setcar (nthcdr 2 quail-current-package)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
46 (nth 2 (assoc "chinese-py" quail-package-alist)))
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
47
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents:
diff changeset
48 (quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist)))