1 ;;; ethiopic.el --- support for Ethiopic -*- coding: utf-8-emacs; -*-
3 ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4 ;; Free Software Foundation, Inc.
5 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
6 ;; 2005, 2006, 2007, 2008
7 ;; National Institute of Advanced Industrial Science and Technology (AIST)
8 ;; Registration Number H14PRO021
10 ;; Keywords: multilingual, Ethiopic
12 ;; This file is part of GNU Emacs.
14 ;; GNU Emacs is free software; you can redistribute it and/or modify
15 ;; it under the terms of the GNU General Public License as published by
16 ;; the Free Software Foundation; either version 3, or (at your option)
19 ;; GNU Emacs is distributed in the hope that it will be useful,
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ;; GNU General Public License for more details.
24 ;; You should have received a copy of the GNU General Public License
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
26 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
27 ;; Boston, MA 02110-1301, USA.
29 ;; Author: TAKAHASHI Naoto <ntakahas@m17n.org>
35 (define-ccl-program ccl-encode-ethio-font
37 ;; In: R0:ethiopic (not checked)
40 ;; Out: R1:font code point 1
41 ;; R2:font code point 2
49 ((r1 = #x13
) (r2 -
= 256))
50 ((r1 = #xfd
) (r2 -
= 208))
52 "CCL program to encode an Ethiopic code to code point of Ethiopic font.")
54 (setq font-ccl-encoder-alist
55 (cons (cons "ethiopic" ccl-encode-ethio-font
) font-ccl-encoder-alist
))
57 (set-language-info-alist
58 "Ethiopic" '((setup-function . setup-ethiopic-environment-internal
)
59 (exit-function . exit-ethiopic-environment
)
61 (coding-system utf-8-emacs
)
62 (coding-priority utf-8-emacs
)
63 (input-method .
"ethiopic")
67 "This language envrironment provides these function key bindings:
68 [f3] ethio-fidel-to-sera-buffer
69 [S-f3] ethio-fidel-to-sera-region
70 [C-f3] ethio-fidel-to-sera-marker
72 [f4] ethio-sera-to-fidel-buffer
73 [S-f4] ethio-sera-to-fidel-region
74 [C-f4] ethio-sera-to-fidel-marker
76 [S-f5] ethio-toggle-punctuation
77 [S-f6] ethio-modify-vowel
78 [S-f7] ethio-replace-space
80 [S-f9] ethio-replace-space
81 [C-f9] ethio-toggle-space"
84 ;; For automatic composition
85 (aset composition-function-table ?
'ethio-composition-function
)
86 (aset composition-function-table ?፟
'ethio-composition-function
)
90 ;;; arch-tag: e81329d9-1286-43ba-92fd-54ce5c7b213c
91 ;;; ethiopic.el ends here