]> code.delx.au - gnu-emacs/blob - lisp/leim/quail/py-punct.el
Update copyright year to 2015
[gnu-emacs] / lisp / leim / quail / py-punct.el
1 ;;; py-punct.el --- Quail packages for Chinese (pinyin + extra symbols) -*-coding: iso-2022-7bit;-*-
2
3 ;; Copyright (C) 2001-2015 Free Software Foundation, Inc.
4 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
5 ;; 2006, 2007, 2008, 2009, 2010, 2011
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
7 ;; Registration Number H14PRO021
8
9 ;; Author: Ken'ichi HANDA <handa@etl.go.jp>
10
11 ;; Keywords: multilingual, input method, Chinese
12
13 ;; This file is part of GNU Emacs.
14
15 ;; GNU Emacs is free software: you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation, either version 3 of the License, or
18 ;; (at your option) any later version.
19
20 ;; GNU Emacs is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;; GNU General Public License for more details.
24
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
27
28 ;;; Commentary:
29
30 ;;; Code:
31
32 (require 'quail)
33
34 (load "quail/PY")
35 (load "quail/Punct")
36
37 (quail-define-package
38 "chinese-py-punct" "Chinese-GB" "\e$AF47{\e(B"
39 t
40 "\e$A::WVJdHk\e(B \e$AF4Rt7=08\e(B and `v' for \e$A1j5c7{:EJdHk\e(B
41
42 This is the combination of the input methods `chinese-py' and `chinese-punct'.
43 You can enter normal Chinese characters by the same way as `chinese-py'.
44 And, you can enter symbols by typing `v' followed by any key sequences
45 defined in `chinese-punct'.
46
47 For instance, typing `v' and `%' insert `\e$A#%\e(B'.
48 ")
49
50 (setcar (nthcdr 2 quail-current-package)
51 (copy-sequence (nth 2 (assoc "chinese-py" quail-package-alist))))
52
53 (quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist)))
54
55 (load "quail/TONEPY")
56
57 (quail-define-package
58 "chinese-tonepy-punct" "Chinese-GB" "\e$AF47{\e(B"
59 t
60 "\e$A::WVJdHk\e(B \e$A4x5wF4Rt7=08\e(B and `v' for \e$A1j5c7{:EJdHk\e(B
61
62 This is the combination of the input methods `chinese-tonepy' and
63 `chinese-punct'.
64
65 You can enter normal Chinese characters by the same way as
66 `chinese-tonepy'. And, you can enter symbols by typing `v' followed
67 by any key sequences defined in `chinese-punct'.
68
69 For instance, typing `v' and `%' insert `\e$A#%\e(B'.
70 ")
71
72 (setcar (nthcdr 2 quail-current-package)
73 (copy-sequence (nth 2 (assoc "chinese-tonepy" quail-package-alist))))
74
75 (quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist)))
76
77 ;;; py-punct.el ends here