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