leim-ext.el 2.86 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

Paul Eggert's avatar
Paul Eggert committed
3
;; Copyright (C) 2004-2019 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 <https://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
(register-input-method "ucs" "UTF-8" 'ucs-input-activate "U+"
		       "Unicode input as hex in the form Uxxxx.")

43 44 45 46
(register-input-method
 "korean-hangul"
 "UTF-8"
 'hangul-input-method-activate
Kenichi Handa's avatar
Kenichi Handa committed
47
 "한2"
48 49
 "Hangul 2-Bulsik Input"
 'hangul2-input-method
Kenichi Handa's avatar
Kenichi Handa committed
50
 "Input method: korean-hangul2 (mode line indicator:한2)\n\nHangul 2-Bulsik input method.")
51 52 53 54 55

(register-input-method
 "korean-hangul3f"
 "UTF-8"
 'hangul-input-method-activate
Kenichi Handa's avatar
Kenichi Handa committed
56
 "한3f"
57 58
 "Hangul 3-Bulsik final Input"
 'hangul3-input-method
Kenichi Handa's avatar
Kenichi Handa committed
59
 "Input method: korean-hangul3 (mode line indicator:한3f)\n\nHangul 3-Bulsik final input method.")
60 61 62 63 64

(register-input-method
 "korean-hangul390"
 "UTF-8"
 'hangul-input-method-activate
Kenichi Handa's avatar
Kenichi Handa committed
65
 "한390"
66 67
 "Hangul 3-Bulsik 390 Input"
 'hangul390-input-method
Kenichi Handa's avatar
Kenichi Handa committed
68
 "Input method: korean-hangul390 (mode line indicator:한390)\n\nHangul 3-Bulsik 390 input method.")
69 70 71 72 73

(register-input-method
 "korean-hangul3"
 "UTF-8"
 'hangul-input-method-activate
Kenichi Handa's avatar
Kenichi Handa committed
74
 "한390"
75 76
 "Hangul 3-Bulsik 390 Input"
 'hangul390-input-method
Kenichi Handa's avatar
Kenichi Handa committed
77
 "Input method: korean-hangul390 (mode line indicator:한390)\n\nHangul 3-Bulsik 390 input method.")
78

79
;; Following lines are marked such that Makefile adds them to output.
80 81
;; leim-list-header adds "coding: utf-8"; we could move that here,
;; unless others are using that stuff to generate their own leim files.
82
;; TODO?  Better to add leim-list-footer?
83

84 85 86 87 88
;;inc Local Variables:
;;inc no-byte-compile: t
;;inc version-control: never
;;inc no-update-autoloads: t
;;inc End:
89

90
;;;inc leim-list.el ends here
91 92

;;; leim-ext.el ends here