Sync with Tramp 2.2.2.
[emacs.git] / leim / quail / py-punct.el
blob869191280115d53070c1f2ab031319e3031f8f77
1 ;;; py-punct.el --- Quail packages for Chinese (pinyin + extra symbols) -*-coding: iso-2022-7bit;-*-
3 ;; Copyright (C) 2001-2011 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
9 ;; Author: Ken'ichi HANDA <handa@etl.go.jp>
11 ;; Keywords: multilingual, input method, Chienese
13 ;; This file is part of GNU Emacs.
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.
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.
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/>.
28 ;;; Commentary:
30 ;;; Code:
32 (require 'quail)
34 (load "quail/PY")
35 (load "quail/Punct")
37 (quail-define-package
38 "chinese-py-punct" "Chinese-GB" "\e$AF47{\e(B"
40 "\e$A::WVJdHk\e(B \e$AF4Rt7=08\e(B and `v' for \e$A1j5c7{:EJdHk\e(B
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'.
47 For instance, typing `v' and `%' insert `\e$A#%\e(B'.
50 (setcar (nthcdr 2 quail-current-package)
51 (copy-sequence (nth 2 (assoc "chinese-py" quail-package-alist))))
53 (quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist)))
55 (load "quail/TONEPY")
57 (quail-define-package
58 "chinese-tonepy-punct" "Chinese-GB" "\e$AF47{\e(B"
60 "\e$A::WVJdHk\e(B \e$A4x5wF4Rt7=08\e(B and `v' for \e$A1j5c7{:EJdHk\e(B
62 This is the combination of the input methods `chinese-tonepy' and
63 `chinese-punct'.
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'.
69 For instance, typing `v' and `%' insert `\e$A#%\e(B'.
72 (setcar (nthcdr 2 quail-current-package)
73 (copy-sequence (nth 2 (assoc "chinese-tonepy" quail-package-alist))))
75 (quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist)))
77 ;;; py-punct.el ends here