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 ;; Keywords: mule, multilingual, input method
9 ;; This file is part of EGG.
11 ;; EGG 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)
16 ;; EGG 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.
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.,
24 ;; 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
34 (define-its-state-machine its-up-map
36 "Map for upcase input."
40 (its-defrule (char-to-string i) (upcase (char-to-string i)))
43 (define-its-state-machine-append its-up-map)
45 (define-its-state-machine its-down-map
47 "Map for downcase input."
51 (its-defrule (char-to-string i) (char-to-string i))
54 (define-its-state-machine-append its-down-map)