pypunct-b5.el 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. ;;; pypunct-b5.el --- Quail packages for Chinese (pinyin + extra symbols) -*-coding: iso-2022-7bit;-*-
  2. ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
  3. ;; 2006, 2007, 2008, 2009, 2010, 2011
  4. ;; National Institute of Advanced Industrial Science and Technology (AIST)
  5. ;; Registration Number H14PRO021
  6. ;; Author: Ken'ichi HANDA <handa@etl.go.jp>
  7. ;; Keywords: multilingual, input method, Chinese
  8. ;; This file is part of GNU Emacs.
  9. ;; GNU Emacs is free software: you can redistribute it and/or modify
  10. ;; it under the terms of the GNU General Public License as published by
  11. ;; the Free Software Foundation, either version 3 of the License, or
  12. ;; (at your option) any later version.
  13. ;; GNU Emacs is distributed in the hope that it will be useful,
  14. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. ;; GNU General Public License for more details.
  17. ;; You should have received a copy of the GNU General Public License
  18. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  19. ;;; Commentary:
  20. ;;; Code:
  21. (require 'quail)
  22. (load "quail/PY-b5")
  23. (load "quail/Punct-b5")
  24. (quail-define-package
  25. "chinese-py-punct-b5" "Chinese-BIG5" "$(03<>K(B"
  26. t
  27. "$(0&d'GTT&,!J3<5x!K(B and `v' for $(0O:X5>KHATT&,(B
  28. This is the combination of the input method `chinese-py-b5' and
  29. `chinese-punct-b5'.
  30. You can enter normal Chinese characters by the same way as `chinese-py-b5'.
  31. And, you can enter symbols by typing `v' followed by any key sequences
  32. defined in `chinese-punct-b5'.
  33. For instance, typing `v' and `%' insert `$(0"h(B'.
  34. ")
  35. (setcar (nthcdr 2 quail-current-package)
  36. (nth 2 (assoc "chinese-py-b5" quail-package-alist)))
  37. (quail-defrule "v" (nth 2 (assoc "chinese-punct-b5" quail-package-alist)))
  38. ;;; pypunct-b5.el ends here