leim-ext.el 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. ;; leim-ext.el -- extra leim configuration -*- coding:utf-8; -*-
  2. ;; Copyright (C) 2004-2012 Free Software Foundation, Inc.
  3. ;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
  4. ;; National Institute of Advanced Industrial Science and Technology (AIST)
  5. ;; Registration Number H13PRO009
  6. ;; This file is part of GNU Emacs.
  7. ;; GNU Emacs is free software: you can redistribute it and/or modify
  8. ;; it under the terms of the GNU General Public License as published by
  9. ;; the Free Software Foundation, either version 3 of the License, or
  10. ;; (at your option) any later version.
  11. ;; GNU Emacs is distributed in the hope that it will be useful,
  12. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;; GNU General Public License for more details.
  15. ;; You should have received a copy of the GNU General Public License
  16. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  17. ;;; Commentary:
  18. ;; Makefile in this directory appends the contents of this file (only
  19. ;; such non-empty lines that don't begin with ';') to the generated
  20. ;; file leim-list.el.
  21. ;;; Code:
  22. (eval-after-load "quail/PY-b5"
  23. '(quail-defrule "ling2" ?○ nil t))
  24. ;; Enable inputting full-width space (U+3000).
  25. (eval-after-load "quail/Punct"
  26. '(quail-defrule " " ?  nil t))
  27. (eval-after-load "quail/Punct-b5"
  28. '(quail-defrule " " ?  nil t))
  29. (autoload 'ucs-input-activate "quail/uni-input"
  30. "Activate UCS input method.
  31. With arg, activate UCS input method if and only if arg is positive.
  32. While this input method is active, the variable
  33. `input-method-function' is bound to the function `ucs-input-method'.")
  34. (register-input-method "ucs" "UTF-8" 'ucs-input-activate "U+"
  35. "Unicode input as hex in the form Uxxxx.")
  36. (autoload 'hangul-input-method-activate "quail/hangul"
  37. "Activate Hangul input method INPUT-METHOD.
  38. FUNC is a function to handle input key.
  39. HELP-TEXT is a text set in `hangul-input-method-help-text'.")
  40. (register-input-method
  41. "korean-hangul"
  42. "UTF-8"
  43. 'hangul-input-method-activate
  44. "한2"
  45. "Hangul 2-Bulsik Input"
  46. 'hangul2-input-method
  47. "Input method: korean-hangul2 (mode line indicator:한2)\n\nHangul 2-Bulsik input method.")
  48. (register-input-method
  49. "korean-hangul3f"
  50. "UTF-8"
  51. 'hangul-input-method-activate
  52. "한3f"
  53. "Hangul 3-Bulsik final Input"
  54. 'hangul3-input-method
  55. "Input method: korean-hangul3 (mode line indicator:한3f)\n\nHangul 3-Bulsik final input method.")
  56. (register-input-method
  57. "korean-hangul390"
  58. "UTF-8"
  59. 'hangul-input-method-activate
  60. "한390"
  61. "Hangul 3-Bulsik 390 Input"
  62. 'hangul390-input-method
  63. "Input method: korean-hangul390 (mode line indicator:한390)\n\nHangul 3-Bulsik 390 input method.")
  64. (register-input-method
  65. "korean-hangul3"
  66. "UTF-8"
  67. 'hangul-input-method-activate
  68. "한390"
  69. "Hangul 3-Bulsik 390 Input"
  70. 'hangul390-input-method
  71. "Input method: korean-hangul390 (mode line indicator:한390)\n\nHangul 3-Bulsik 390 input method.")