| 1 | ;; leim-ext.el -- extra leim configulation -*- coding:iso-2022-7bit; -*- |
| 2 | |
| 3 | ;; Copyright (C) 2004, 2006 |
| 4 | ;; Free Software Foundation, Inc. |
| 5 | ;; Copyright (C) 2004, 2005 |
| 6 | ;; National Institute of Advanced Industrial Science and Technology (AIST) |
| 7 | ;; Registration Number H13PRO009 |
| 8 | |
| 9 | ;; This file is part of GNU Emacs. |
| 10 | |
| 11 | ;; GNU Emacs is free software; you can redistribute it and/or modify |
| 12 | ;; it under the terms of the GNU General Public License as published by |
| 13 | ;; the Free Software Foundation; either version 2, or (at your option) |
| 14 | ;; any later version. |
| 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 |
| 22 | ;; along with GNU Emacs; see the file COPYING. If not, write to the |
| 23 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 24 | ;; Boston, MA 02110-1301, USA. |
| 25 | |
| 26 | ;;; Commentary: |
| 27 | |
| 28 | ;; Makefile in this directory appends the contents of this file (only |
| 29 | ;; such non-empty lines that don't begin with ';') to the generated |
| 30 | ;; file leim-list.el. |
| 31 | |
| 32 | ;;; Code: |
| 33 | |
| 34 | (eval-after-load "quail/PY-b5" |
| 35 | '(quail-defrule "ling2" ?\e$(0!r\e(B nil t)) |
| 36 | |
| 37 | ;; Enable inputting full-width space (U+3000). |
| 38 | (eval-after-load "quail/Punct" |
| 39 | '(quail-defrule " " ?\e$A!!\e(B nil t)) |
| 40 | (eval-after-load "quail/Punct-b5" |
| 41 | '(quail-defrule " " ?\e$(0!!\e(B nil t)) |
| 42 | |
| 43 | (autoload 'ucs-input-activate "quail/uni-input" |
| 44 | "Activate UCS input method. |
| 45 | With arg, activate UCS input method if and only if arg is positive. |
| 46 | |
| 47 | While this input method is active, the variable |
| 48 | `input-method-function' is bound to the function `ucs-input-method'.") |
| 49 | |
| 50 | (register-input-method "ucs" "UTF-8" 'ucs-input-activate "U+" |
| 51 | "Unicode input as hex in the form Uxxxx.") |
| 52 | |
| 53 | ;; arch-tag: 75cfdfc7-de85-44f9-b408-ff67d1ec664e |