1 ;;; its/ascii.el --- ASCII Input in Egg Input Method Architecture
3 ;; Copyright (C) 1999,2000 PFU LIMITED
5 ;; Author: KATAYAMA Yoshio <kate@pfu.co.jp>
7 ;; Maintainer: TOMURA Satoru <tomura@etl.go.jp>
9 ;; Keywords: mule, multilingual, input method
11 ;; This file is part of EGG.
13 ;; EGG is free software; you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by
15 ;; the Free Software Foundation; either version 2, or (at your option)
18 ;; EGG is distributed in the hope that it will be useful,
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;; GNU General Public License for more details.
23 ;; You should have received a copy of the GNU General Public License
24 ;; along with GNU Emacs; see the file COPYING. If not, write to the
25 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
26 ;; Boston, MA 02111-1307, USA.
30 ;; Symbol input is desined by jiro@math.keio.ac.jp (TANAKA Jiro)
31 ;; This file is based on the rules of its/hira.el in Mule-2.3 distribution.
39 (define-its-state-machine its-up-map
41 "Map for upcase input."
45 (its-defrule (char-to-string i) (upcase (char-to-string i)))
48 (define-its-state-machine-append its-up-map)
50 (define-its-state-machine its-down-map
52 "Map for downcase input."
56 (its-defrule (char-to-string i) (char-to-string i))
59 (define-its-state-machine-append its-down-map)