leim-ext.el 2.9 KB
Newer Older
Kenichi Handa's avatar
Kenichi Handa committed
1
;; leim-ext.el -- extra leim configuration	-*- coding:utf-8; -*-
Kenichi Handa's avatar
Kenichi Handa committed
2

3
;; Copyright (C) 2004-2012  Free Software Foundation, Inc.
4
;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Kenichi Handa's avatar
Kenichi Handa committed
5 6 7 8 9
;;   National Institute of Advanced Industrial Science and Technology (AIST)
;;   Registration Number H13PRO009

;; This file is part of GNU Emacs.

10
;; GNU Emacs is free software: you can redistribute it and/or modify
Kenichi Handa's avatar
Kenichi Handa committed
11
;; it under the terms of the GNU General Public License as published by
12 13
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
Kenichi Handa's avatar
Kenichi Handa committed
14 15 16 17 18 19 20

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
21
;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
Kenichi Handa's avatar
Kenichi Handa committed
22 23 24 25

;;; Commentary:

;; Makefile in this directory appends the contents of this file (only
Eli Zaretskii's avatar
Eli Zaretskii committed
26 27
;; such non-empty lines that don't begin with ';') to the generated
;; file leim-list.el.
Kenichi Handa's avatar
Kenichi Handa committed
28 29 30 31

;;; Code:

(eval-after-load "quail/PY-b5"
Kenichi Handa's avatar
Kenichi Handa committed
32
  '(quail-defrule "ling2" ? nil t))
33

34 35
;; Enable inputting full-width space (U+3000).
(eval-after-load "quail/Punct"
Kenichi Handa's avatar
Kenichi Handa committed
36
  '(quail-defrule " " ?  nil t))
37
(eval-after-load "quail/Punct-b5"
Kenichi Handa's avatar
Kenichi Handa committed
38
  '(quail-defrule " " ?  nil t))
39

40 41 42 43 44 45 46 47 48 49
(autoload 'ucs-input-activate "quail/uni-input"
  "Activate UCS input method.
With arg, activate UCS input method if and only if arg is positive.

While this input method is active, the variable
`input-method-function' is bound to the function `ucs-input-method'.")

(register-input-method "ucs" "UTF-8" 'ucs-input-activate "U+"
		       "Unicode input as hex in the form Uxxxx.")

50 51 52 53 54 55 56 57 58
(autoload 'hangul-input-method-activate "quail/hangul"
  "Activate Hangul input method INPUT-METHOD.
FUNC is a function to handle input key.
HELP-TEXT is a text set in `hangul-input-method-help-text'.")

(register-input-method
 "korean-hangul"
 "UTF-8"
 'hangul-input-method-activate
Kenichi Handa's avatar
Kenichi Handa committed
59
 "한2"
60 61
 "Hangul 2-Bulsik Input"
 'hangul2-input-method
Kenichi Handa's avatar
Kenichi Handa committed
62
 "Input method: korean-hangul2 (mode line indicator:한2)\n\nHangul 2-Bulsik input method.")
63 64 65 66 67

(register-input-method
 "korean-hangul3f"
 "UTF-8"
 'hangul-input-method-activate
Kenichi Handa's avatar
Kenichi Handa committed
68
 "한3f"
69 70
 "Hangul 3-Bulsik final Input"
 'hangul3-input-method
Kenichi Handa's avatar
Kenichi Handa committed
71
 "Input method: korean-hangul3 (mode line indicator:한3f)\n\nHangul 3-Bulsik final input method.")
72 73 74 75 76

(register-input-method
 "korean-hangul390"
 "UTF-8"
 'hangul-input-method-activate
Kenichi Handa's avatar
Kenichi Handa committed
77
 "한390"
78 79
 "Hangul 3-Bulsik 390 Input"
 'hangul390-input-method
Kenichi Handa's avatar
Kenichi Handa committed
80
 "Input method: korean-hangul390 (mode line indicator:한390)\n\nHangul 3-Bulsik 390 input method.")
81 82 83 84 85

(register-input-method
 "korean-hangul3"
 "UTF-8"
 'hangul-input-method-activate
Kenichi Handa's avatar
Kenichi Handa committed
86
 "한390"
87 88
 "Hangul 3-Bulsik 390 Input"
 'hangul390-input-method
Kenichi Handa's avatar
Kenichi Handa committed
89
 "Input method: korean-hangul390 (mode line indicator:한390)\n\nHangul 3-Bulsik 390 input method.")
90