annotate lisp/mule/ethiopic-hooks.el @ 152:4c132ee2d62b

Added tag r20-3b2 for changeset 59463afc5666
author cvs
date Mon, 13 Aug 2007 09:37:21 +0200
parents 6608ceec7cf8
children 5a88923fcbfe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 ;;; ethiopic-hooks.el --- pre-loaded support for Ethiopic.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3 ;; Copyright (C) 1992,93,94,95 Free Software Foundation, Inc.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4 ;; Copyright (C) 1995 Amdahl Corporation.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 ;; Copyright (C) 1995 Sun Microsystems.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 ;; This file is part of XEmacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 ;; XEmacs is free software; you can redistribute it and/or modify it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 ;; under the terms of the GNU General Public License as published by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 ;; the Free Software Foundation; either version 2, or (at your option)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12 ;; any later version.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 ;; XEmacs is distributed in the hope that it will be useful, but
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 ;; General Public License for more details.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 ;; You should have received a copy of the GNU General Public License
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 ;; along with XEmacs; see the file COPYING. If not, write to the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 ;; Boston, MA 02111-1307, USA.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 ;;; Synched up with: Mule 2.3.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 ;; Ethiopic
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27 (make-charset 'ethiopic "Ethiopic"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 '(registry "Ethio"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 dimension 2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 chars 94
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 final ?2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 graphic 0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39 ;;; ETHIOPIC
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 (define-category ?E "Ethiopic (Ge'ez) character.")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43 (modify-category-entry 'ethiopic ?E)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45 (define-ccl-program ccl-ethiopic
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 '(((r0 -= #x21)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 (r1 -= #x21)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 (r0 *= 94)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 (r1 += r0)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50 (if (r1 < 256) (r0 = 0) ((r1 -= 256) (r0 = 1))))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52 (set-charset-ccl-program 'ethiopic ccl-ethiopic)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53
138
6608ceec7cf8 Import from CVS: tag r20-2b3
cvs
parents: 70
diff changeset
54 (add-hook 'quail-package-alist '("ethio" "quail-ethio"))
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56 (define-language-environment 'ethiopic
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 "Ethiopic"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58 #'(lambda ()
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 (setq-default quail-current-package
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 (assoc "ethio" quail-package-alist))))