annotate lisp/mule/mule-charset.el @ 5549:493c487cbc3f

Add #'event-apply-modifiers, implement #'event-apply-modifiers in terms of it. 2011-08-10 Aidan Kehoe <kehoea@parhasard.net> * keymap.el: * keymap.el (event-apply-alt-modifier): * keymap.el (event-apply-super-modifier): * keymap.el (event-apply-hyper-modifier): * keymap.el (event-apply-shift-modifier): * keymap.el (event-apply-control-modifier): * keymap.el (event-apply-meta-modifier): * keymap.el (event-apply-modifiers): New. * keymap.el (event-apply-modifier): Implement in terms of #'event-apply-modifier. Rework #'event-apply-modifier to take a list of modifiers, and change its name appropriately. Keep the old name around, too.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 10 Aug 2011 16:50:37 +0100
parents 308d34e9f07d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
502
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 442
diff changeset
1 ;;; mule-charset.el --- Charset functions for Mule. -*- coding: iso-2022-7bit; -*-
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2
788
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
4 ;; Copyright (C) 1992, 2001 Free Software Foundation, Inc.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
5 ;; Licensed to the Free Software Foundation.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 ;; Copyright (C) 1995 Amdahl Corporation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 ;; Copyright (C) 1996 Sun Microsystems.
777
e65d9cf16707 [xemacs-hg @ 2002-03-15 11:00:28 by ben]
ben
parents: 771
diff changeset
8 ;; Copyright (C) 2002 Ben Wing.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 ;; Author: Unknown
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 ;; Keywords: i18n, mule, internal
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 ;; This file is part of XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
15 ;; XEmacs is free software: you can redistribute it and/or modify it
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
16 ;; under the terms of the GNU General Public License as published by the
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
17 ;; Free Software Foundation, either version 3 of the License, or (at your
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
18 ;; option) any later version.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
20 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
21 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
22 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
23 ;; for more details.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 ;; You should have received a copy of the GNU General Public License
5402
308d34e9f07d Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents: 4549
diff changeset
26 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 ;;; Synched up with: Not synched. API at source level synched with FSF 20.3.9.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30 ;;; Commentary:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32 ;; These functions are not compatible at the bytecode level with Emacs/Mule,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33 ;; and they never will be. -sb [1999-05-26]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 ;;; Code:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
36
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37 ;;;; Classifying text according to charsets
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
38
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 (defun charsets-in-string (string)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40 "Return a list of the charsets in STRING."
3681
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
41 (let (res)
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
42 (with-string-as-buffer-contents string
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
43 ;; charsets-in-region now in C.
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
44 (setq res (charsets-in-region (point-min) (point-max))))
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
45 res))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
46
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
47 (defalias 'find-charset-string 'charsets-in-string)
3681
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
48
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
49 (defalias 'find-charset-region 'charsets-in-region)
818
accc481aef34 [xemacs-hg @ 2002-04-25 06:09:11 by youngs]
youngs
parents: 788
diff changeset
50
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
51
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
52 ;;;; Charset accessors
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
54 (defun charset-iso-graphic-plane (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
55 "Return the `graphic' property of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
56 See `make-charset'."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
57 (charset-property charset 'graphic))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
58
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
59 (defun charset-iso-final-char (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
60 "Return the final byte of the ISO 2022 escape sequence designating CHARSET."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
61 (charset-property charset 'final))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
62
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63 (defun charset-chars (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64 "Return the number of characters per dimension of CHARSET."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65 (charset-property charset 'chars))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
67 (defun charset-width (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
68 "Return the number of display columns per character of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
69 This only applies to TTY mode (under X, the actual display width can
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70 be automatically determined)."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 (charset-property charset 'columns))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73 ;; #### FSFmacs returns 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74 (defun charset-direction (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75 "Return the display direction (0 for `l2r' or 1 for `r2l') of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 Only left-to-right is currently implemented."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 (if (eq (charset-property charset 'direction) 'l2r)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79 1))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
80
3659
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
81 ;; Not in GNU Emacs/Mule
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82 (defun charset-registry (charset)
3712
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
83 "Obsolete; use charset-registries instead. "
3659
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
84 (lwarn 'xintl 'warning
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
85 "charset-registry is obsolete--use charset-registries instead. ")
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
86 (when (charset-property charset 'registries)
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
87 (elt (charset-property charset 'registries) 0)))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
88
3712
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
89 (make-obsolete 'charset-registry 'charset-registries)
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
90
3659
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
91 (defun charset-registries (charset)
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
92 "Return the registries of CHARSET."
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
93 (charset-property charset 'registries))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
94
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
95 (defun set-charset-registry (charset registry)
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
96 "Obsolete; use set-charset-registries instead. "
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
97 (check-argument-type 'stringp registry)
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
98 (check-argument-type 'charsetp (find-charset charset))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
99 (unless (equal registry (regexp-quote registry))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
100 (lwarn 'xintl 'warning
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
101 "Regexps no longer allowed for charset-registry. Treating %s%s"
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
102 registry " as a string."))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
103 (set-charset-registries
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
104 charset
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
105 (apply 'vector registry (append (charset-registries charset) nil))))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
106
3712
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
107 (make-obsolete 'set-charset-registry 'set-charset-registries)
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
108
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
109 (defun charset-ccl-program (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
110 "Return the CCL program of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
111 See `make-charset'."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
112 (charset-property charset 'ccl-program))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
113
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
114 (defun charset-bytes (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115 "Useless in XEmacs, returns 1."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117
4549
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
118 (defun charset-skip-chars-string (charset)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
119 "Given CHARSET, return a string suitable for for `skip-chars-forward'.
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
120 Passing the string to `skip-chars-forward' will cause it to skip all
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
121 characters in CHARSET."
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
122 (setq charset (get-charset charset))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
123 (cond
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
124 ;; Aargh, the general algorithm doesn't work for these charsets, because
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
125 ;; make-char strips the high bit. Hard code them.
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
126 ((eq (find-charset 'ascii) charset) "\x00-\x7f")
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
127 ((eq (find-charset 'control-1) charset) "\x80-\x9f")
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
128 (t
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
129 (let (charset-lower charset-upper row-upper row-lower)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
130 (if (= 1 (charset-dimension charset))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
131 (condition-case args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
132 (make-char charset #x100)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
133 (args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
134 (setq charset-lower (third args-out-of-range)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
135 charset-upper (fourth args-out-of-range))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
136 (format "%c-%c"
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
137 (make-char charset charset-lower)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
138 (make-char charset charset-upper))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
139 (condition-case args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
140 (make-char charset #x100 #x22)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
141 (args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
142 (setq row-lower (third args-out-of-range)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
143 row-upper (fourth args-out-of-range))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
144 (condition-case args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
145 (make-char charset #x22 #x100)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
146 (args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
147 (setq charset-lower (third args-out-of-range)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
148 charset-upper (fourth args-out-of-range))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
149 (format "%c-%c"
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
150 (make-char charset row-lower charset-lower)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
151 (make-char charset row-upper charset-upper)))))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
152 ;; From GNU.
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
153 (defun map-charset-chars (func charset)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
154 "Use FUNC to map over all characters in CHARSET for side effects.
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
155 FUNC is a function of two args, the start and end (inclusive) of a
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
156 character code range. Thus FUNC should iterate over [START, END]."
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
157 (check-argument-type #'functionp func)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
158 (check-argument-type #'charsetp (setq charset (find-charset charset)))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
159 (let* ((dim (charset-dimension charset))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
160 (chars (charset-chars charset))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
161 (start (if (= chars 94)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
162 33
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
163 32)))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
164 (if (= dim 1)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
165 (cond
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
166 ((eq (find-charset 'ascii) charset) (funcall func ?\x00 ?\x7f))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
167 ((eq (find-charset 'control-1) charset) (funcall func ?\x80 ?\x9f))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
168 (t
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
169 (funcall func
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
170 (make-char charset start)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
171 (make-char charset (+ start chars -1)))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
172 (dotimes (i chars)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
173 (funcall func
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
174 (make-char charset (+ i start) start)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
175 (make-char charset (+ i start) (+ start chars -1)))))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
176
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
177 ;;;; Define setf methods for all settable Charset properties
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
178
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
179 (defsetf charset-registry set-charset-registry)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
180 (defsetf charset-ccl-program set-charset-ccl-program)
3712
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
181 (defsetf charset-registries set-charset-registries)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
182
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
183 ;;; FSF compatibility functions
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184 (defun charset-after (&optional pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 "Return charset of a character in current buffer at position POS.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
186 If POS is nil, it defauls to the current point.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187 If POS is out of range, the value is nil."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188 (when (null pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189 (setq pos (point)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190 (check-argument-type 'integerp pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
191 (unless (or (< pos (point-min))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192 (> pos (point-max)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
193 (char-charset (char-after pos))))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
194
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
195 ;; Yuck!
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
196 ;; We're not going to support these.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
197 ;(defun charset-info (charset) [incredibly broken function with random vectors]
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
198 ;(defun define-charset (...) [incredibly broken function with random vectors]
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
199
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
200 ;;; Charset property
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
202 (defalias 'get-charset-property 'get)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
203 (defalias 'put-charset-property 'put)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
204 (defalias 'charset-plist 'object-plist)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
205 (defalias 'set-charset-plist 'setplist)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
206
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
207
788
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
208 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
209 ; translation tables ;
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
210 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
211
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
212 (defstruct (translation-table (:constructor internal-make-translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
213 forward
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
214 reverse)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
215
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
216 (defun make-translation-table (&rest args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
217 "Make a translation table from arguments.
2116
ce294639d321 [xemacs-hg @ 2004-06-06 23:58:40 by adrian]
adrian
parents: 1309
diff changeset
218 A translation table is a char table intended for character translation
ce294639d321 [xemacs-hg @ 2004-06-06 23:58:40 by adrian]
adrian
parents: 1309
diff changeset
219 in CCL programs.
788
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
220
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
221 Each argument is a list of elemnts of the form (FROM . TO), where FROM
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
222 is a character to be translated to TO.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
223
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
224 FROM can be a generic character (see `make-char'). In this case, TO is
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
225 a generic character containing the same number of characters, or a
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
226 ordinary character. If FROM and TO are both generic characters, all
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
227 characters belonging to FROM are translated to characters belonging to TO
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
228 without changing their position code(s).
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
229
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
230 The arguments and forms in each argument are processed in the given
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
231 order, and if a previous form already translates TO to some other
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
232 character, say TO-ALT, FROM is also translated to TO-ALT."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
233 (let ((table (internal-make-translation-table
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
234 :forward (make-char-table 'generic)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
235 revlist)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
236 (while args
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
237 (let ((elts (car args)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
238 (while elts
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
239 (let* ((from (car (car elts)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
240 (from-i 0) ; degree of freedom of FROM
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
241 (from-rev (nreverse (split-char from)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
242 (to (cdr (car elts)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
243 (to-i 0) ; degree of freedom of TO
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
244 (to-rev (nreverse (split-char to))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
245 ;; Check numbers of heading 0s in FROM-REV and TO-REV.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
246 (while (eq (car from-rev) 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
247 (setq from-i (1+ from-i) from-rev (cdr from-rev)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
248 (while (eq (car to-rev) 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
249 (setq to-i (1+ to-i) to-rev (cdr to-rev)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
250 (if (and (/= from-i to-i) (/= to-i 0))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
251 (error "Invalid character pair (%d . %d)" from to))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
252 ;; If we have already translated TO to TO-ALT, FROM should
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
253 ;; also be translated to TO-ALT. But, this is only if TO
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
254 ;; is a generic character or TO-ALT is not a generic
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
255 ;; character.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
256 (let ((to-alt (get-char-table to table)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
257 (if (and to-alt
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
258 (or (> to-i 0) (not (find-charset to-alt))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
259 (setq to to-alt)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
260 (if (> from-i 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
261 (set-char-table-default table from to)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
262 (put-char-table from to table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
263 ;; If we have already translated some chars to FROM, they
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
264 ;; should also be translated to TO.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
265 (let ((l (assq from revlist)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
266 (if l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
267 (let ((ch (car l)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
268 (setcar l to)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
269 (setq l (cdr l))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
270 (while l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
271 (put-char-table ch to table)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
272 (setq l (cdr l)) ))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
273 ;; Now update REVLIST.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
274 (let ((l (assq to revlist)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
275 (if l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
276 (setcdr l (cons from (cdr l)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
277 (setq revlist (cons (list to from) revlist)))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
278 (setq elts (cdr elts))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
279 (setq args (cdr args)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
280 ;; Return TABLE just created.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
281 table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
282
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
283 ;; Do we really need this?
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
284 ; (defun make-translation-table-from-vector (vec)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
285 ; "Make translation table from decoding vector VEC.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
286 ; VEC is an array of 256 elements to map unibyte codes to multibyte characters.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
287 ; See also the variable `nonascii-translation-table'."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
288 ; (let ((table (make-char-table 'translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
289 ; (rev-table (make-char-table 'translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
290 ; (i 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
291 ; ch)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
292 ; (while (< i 256)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
293 ; (setq ch (aref vec i))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
294 ; (aset table i ch)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
295 ; (if (>= ch 256)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
296 ; (aset rev-table ch i))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
297 ; (setq i (1+ i)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
298 ; (set-char-table-extra-slot table 0 rev-table)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
299 ; table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
300
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
301 (defvar named-translation-table-hash-table (make-hash-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
302
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
303 (defun define-translation-table (symbol &rest args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
304 "Define SYMBOL as the name of translation table made by ARGS.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
305 This sets up information so that the table can be used for
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
306 translations in a CCL program.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
307
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
308 If the first element of ARGS is a translation table, just define SYMBOL to
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
309 name it. (Note that this function does not bind SYMBOL.)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
310
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
311 Any other ARGS should be suitable as arguments of the function
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
312 `make-translation-table' (which see).
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
313
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
314 Look up a named translation table using `find-translation-table' or
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
315 `get-translation-table'."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
316 (let ((table (if (translation-table-p (car args))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
317 (car args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
318 (apply 'make-translation-table args))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
319 (puthash symbol table named-translation-table-hash-table)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
320
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
321 (defun find-translation-table (table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
322 "Retrieve the translation table of the given name.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
323 If TABLE-OR-NAME is a translation table object, it is simply returned.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
324 Otherwise, TABLE-OR-NAME should be a symbol. If there is no such
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
325 translation table, nil is returned. Otherwise the associated translation
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
326 table object is returned."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
327 (if (translation-table-p table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
328 table-or-name
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
329 (check-argument-type 'symbolp table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
330 (gethash table-or-name named-translation-table-hash-table)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
331
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
332 (defun get-translation-table (table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
333 "Retrieve the translation table of the given name.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
334 Same as `find-translation-table' except an error is signalled if there is
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
335 no such translation table instead of returning nil."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
336 (or (find-translation-table table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
337 (error 'invalid-argument "No such translation table" table-or-name)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
338
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
339
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
340 ;; Setup auto-fill-chars for charsets that should invoke auto-filling.
777
e65d9cf16707 [xemacs-hg @ 2002-03-15 11:00:28 by ben]
ben
parents: 771
diff changeset
341 ;; SPACE and NEWLINE are already set.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
342 (let ((l '(katakana-jisx0201
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
343 japanese-jisx0208 japanese-jisx0212
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
344 chinese-gb2312 chinese-big5-1 chinese-big5-2)))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
345 (while l
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
346 (put-char-table (car l) t auto-fill-chars)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
347 (setq l (cdr l))))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
348
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
349
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
350 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
351 ; charsets ;
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
352 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
353
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
354 ;; Synched up with: FSF 21.1.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
355
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
356 ;; All FSF charset definitions are in mule-conf.el. I copied the relevant
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
357 ;; part of that file below, then converted all charset definitions using
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
358 ;; the macro below, then globally replaced 'direction 0' with 'direction
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
359 ;; l2r' and 'direction 1' with 'direction r2l', then commented everything
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
360 ;; out. Copy the definitions as necessary to individual files.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
361
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
362 ;; Kbd macro to convert from FSF-style define-charset to our make-charset.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
363
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
364 ; (setq last-kbd-macro (read-kbd-macro
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
365 ; "<right> M-d make <M-right> M-d <home> <down> TAB '[dimension DEL SPC <M-right> RET TAB chars SPC <M-right> RET TAB columns SPC <M-right> RET TAB direction SPC <M-right> RET TAB final SPC <M-right> RET TAB graphic SPC <M-right> RET TAB short- name SPC <M-right> RET TAB long- name SPC <M-right> RET TAB <S-M-right> <f2> DEL TAB <end> ] <M-left> <end> SPC <f4> 3*<M-left> <left> <M-right> RET <down>"))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
366
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
367 ;; Kbd macro to take one registry entry from the list of registry entries,
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
368 ;; find the appropriate make-charset call, and add the appropriate registry
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
369 ;; property.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
370
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
371 ; (setq last-kbd-macro (read-kbd-macro
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
372 ; "3*<right> <S-M-right> C-x x 1 <right> <S-M-right> C-x x 2 <home> C-x r m foo RET <M-down> M-x sear TAB for TAB RET C-x g 1 RET C-s dimen RET <end> RET TAB 3*<backspace> registry SPC C-x g 2 C-x r b RET <down>"))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
373
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
374 ;; List from FSF international/fontset.el of registries for charsets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
375
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
376 ;; latin-iso8859-1 "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
377 ;; latin-iso8859-2 "ISO8859-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
378 ;; latin-iso8859-3 "ISO8859-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
379 ;; latin-iso8859-4 "ISO8859-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
380 ;; thai-tis620 "TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
381 ;; greek-iso8859-7 "ISO8859-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
382 ;; arabic-iso8859-6 "ISO8859-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
383 ;; hebrew-iso8859-8 "ISO8859-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
384 ;; katakana-jisx0201 "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
385 ;; latin-jisx0201 "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
386 ;; cyrillic-iso8859-5 "ISO8859-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
387 ;; latin-iso8859-9 "ISO8859-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
388 ;; japanese-jisx0208-1978 "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
389 ;; chinese-gb2312 "GB2312.1980"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
390 ;; japanese-jisx0208 "JISX0208.1990"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
391 ;; korean-ksc5601 "KSC5601.1989"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
392 ;; japanese-jisx0212 "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
393 ;; chinese-cns11643-1 "CNS11643.1992-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
394 ;; chinese-cns11643-2 "CNS11643.1992-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
395 ;; chinese-cns11643-3 "CNS11643.1992-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
396 ;; chinese-cns11643-4 "CNS11643.1992-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
397 ;; chinese-cns11643-5 "CNS11643.1992-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
398 ;; chinese-cns11643-6 "CNS11643.1992-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
399 ;; chinese-cns11643-7 "CNS11643.1992-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
400 ;; chinese-big5-1 "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
401 ;; chinese-big5-2 "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
402 ;; chinese-sisheng "sisheng_cwnn"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
403 ;; vietnamese-viscii-lower "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
404 ;; vietnamese-viscii-upper "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
405 ;; arabic-digit "MuleArabic-0"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
406 ;; arabic-1-column "MuleArabic-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
407 ;; arabic-2-column "MuleArabic-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
408 ;; ipa "MuleIPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
409 ;; ethiopic "Ethiopic-Unicode"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
410 ;; indian-is13194 "IS13194-Devanagari"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
411 ;; indian-2-column "MuleIndian-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
412 ;; indian-1-column "MuleIndian-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
413 ;; lao "MuleLao-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
414 ;; tibetan "MuleTibetan-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
415 ;; tibetan-1-column "MuleTibetan-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
416 ;; latin-iso8859-14 "ISO8859-14"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
417 ;; latin-iso8859-15 "ISO8859-15"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
418 ;; mule-unicode-0100-24ff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
419 ;; mule-unicode-2500-33ff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
420 ;; mule-unicode-e000-ffff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
421 ;; japanese-jisx0213-1 "JISX0213.2000-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
422 ;; japanese-jisx0213-2 "JISX0213.2000-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
423
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
424 ;;; Begin stuff from international/mule-conf.el.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
425
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
426 ; ;;; Definitions of character sets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
427
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
428 ; ;; Basic (official) character sets. These character sets are treated
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
429 ; ;; efficiently with respect to buffer memory.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
430
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
431 ; ;; Syntax:
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
432 ; ;; (define-charset CHARSET-ID CHARSET
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
433 ; ;; [ DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
434 ; ;; SHORT-NAME LONG-NAME DESCRIPTION ])
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
435 ; ;; ASCII charset is defined in src/charset.c as below.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
436 ; ;; (define-charset 0 ascii
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
437 ; ;; [1 94 1 0 ?B 0 "ASCII" "ASCII" "ASCII (ISO646 IRV)"])
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
438
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
439 ; ;; 1-byte charsets. Valid range of CHARSET-ID is 128..143.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
440
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
441 ; ;; CHARSET-ID 128 is not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
442
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
443 ; ; An extra level of commenting means an official (done in C) charset.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
444 ; ; (make-charset 'latin-iso8859-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
445 ; ; "Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
446 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
447 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
448 ; ; registry "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
449 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
450 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
451 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
452 ; ; final ?A
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
453 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
454 ; ; short-name "RHP of Latin-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
455 ; ; long-name "RHP of Latin-1 (ISO 8859-1): ISO-IR-100"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
456 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
457
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
458 ; ; (make-charset 'latin-iso8859-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
459 ; ; "Right-Hand Part of Latin Alphabet 2 (ISO/IEC 8859-2): ISO-IR-101"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
460 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
461 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
462 ; ; registry "ISO8859-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
463 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
464 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
465 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
466 ; ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
467 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
468 ; ; short-name "RHP of Latin-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
469 ; ; long-name "RHP of Latin-2 (ISO 8859-2): ISO-IR-101"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
470 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
471
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
472 ; ; (make-charset 'latin-iso8859-3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
473 ; ; "Right-Hand Part of Latin Alphabet 3 (ISO/IEC 8859-3): ISO-IR-109"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
474 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
475 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
476 ; ; registry "ISO8859-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
477 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
478 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
479 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
480 ; ; final ?C
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
481 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
482 ; ; short-name "RHP of Latin-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
483 ; ; long-name "RHP of Latin-3 (ISO 8859-3): ISO-IR-109"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
484 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
485
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
486 ; ; (make-charset 'latin-iso8859-4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
487 ; ; "Right-Hand Part of Latin Alphabet 4 (ISO/IEC 8859-4): ISO-IR-110"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
488 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
489 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
490 ; ; registry "ISO8859-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
491 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
492 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
493 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
494 ; ; final ?D
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
495 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
496 ; ; short-name "RHP of Latin-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
497 ; ; long-name "RHP of Latin-4 (ISO 8859-4): ISO-IR-110"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
498 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
499
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
500 ; ; (make-charset 'thai-tis620
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
501 ; ; "Right-Hand Part of TIS620.2533 (Thai): ISO-IR-166"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
502 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
503 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
504 ; ; registry "TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
505 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
506 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
507 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
508 ; ; final ?T
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
509 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
510 ; ; short-name "RHP of TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
511 ; ; long-name "RHP of Thai (TIS620): ISO-IR-166"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
512 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
513
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
514 ; ; (make-charset 'greek-iso8859-7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
515 ; ; "Right-Hand Part of Latin/Greek Alphabet (ISO/IEC 8859-7): ISO-IR-126"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
516 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
517 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
518 ; ; registry "ISO8859-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
519 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
520 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
521 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
522 ; ; final ?F
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
523 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
524 ; ; short-name "RHP of ISO8859/7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
525 ; ; long-name "RHP of Greek (ISO 8859-7): ISO-IR-126"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
526 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
527
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
528 ; ; (make-charset 'arabic-iso8859-6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
529 ; ; "Right-Hand Part of Latin/Arabic Alphabet (ISO/IEC 8859-6): ISO-IR-127"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
530 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
531 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
532 ; ; registry "ISO8859-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
533 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
534 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
535 ; ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
536 ; ; final ?G
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
537 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
538 ; ; short-name "RHP of ISO8859/6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
539 ; ; long-name "RHP of Arabic (ISO 8859-6): ISO-IR-127"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
540 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
541
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
542 ; ; (make-charset 'hebrew-iso8859-8
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
543 ; ; "Right-Hand Part of Latin/Hebrew Alphabet (ISO/IEC 8859-8): ISO-IR-138"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
544 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
545 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
546 ; ; registry "ISO8859-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
547 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
548 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
549 ; ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
550 ; ; final ?H
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
551 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
552 ; ; short-name "RHP of ISO8859/8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
553 ; ; long-name "RHP of Hebrew (ISO 8859-8): ISO-IR-138"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
554 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
555
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
556 ; ; (make-charset 'katakana-jisx0201
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
557 ; ; "Katakana Part of JISX0201.1976"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
558 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
559 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
560 ; ; registry "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
561 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
562 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
563 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
564 ; ; final ?I
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
565 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
566 ; ; short-name "JISX0201 Katakana"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
567 ; ; long-name "Japanese Katakana (JISX0201.1976)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
568 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
569
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
570 ; ; (make-charset 'latin-jisx0201
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
571 ; ; "Roman Part of JISX0201.1976"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
572 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
573 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
574 ; ; registry "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
575 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
576 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
577 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
578 ; ; final ?J
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
579 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
580 ; ; short-name "JISX0201 Roman"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
581 ; ; long-name "Japanese Roman (JISX0201.1976)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
582 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
583
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
584
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
585 ; ;; CHARSET-ID is not used 139.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
586
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
587 ; ; (make-charset 'cyrillic-iso8859-5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
588 ; ; "Right-Hand Part of Latin/Cyrillic Alphabet (ISO/IEC 8859-5): ISO-IR-144"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
589 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
590 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
591 ; ; registry "ISO8859-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
592 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
593 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
594 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
595 ; ; final ?L
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
596 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
597 ; ; short-name "RHP of ISO8859/5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
598 ; ; long-name "RHP of Cyrillic (ISO 8859-5): ISO-IR-144"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
599 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
600
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
601 ; ; (make-charset 'latin-iso8859-9
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
602 ; ; "Right-Hand Part of Latin Alphabet 5 (ISO/IEC 8859-9): ISO-IR-148"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
603 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
604 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
605 ; ; registry "ISO8859-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
606 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
607 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
608 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
609 ; ; final ?M
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
610 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
611 ; ; short-name "RHP of Latin-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
612 ; ; long-name "RHP of Latin-5 (ISO 8859-9): ISO-IR-148"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
613 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
614
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
615 ; ; (make-charset 'latin-iso8859-15
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
616 ; ; "Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): ISO-IR-203"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
617 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
618 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
619 ; ; registry "ISO8859-15"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
620 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
621 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
622 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
623 ; ; final ?b
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
624 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
625 ; ; short-name "RHP of Latin-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
626 ; ; long-name "RHP of Latin-9 (ISO 8859-15): ISO-IR-203"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
627 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
628
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
629 ; (make-charset 'latin-iso8859-14
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
630 ; "Right-Hand Part of Latin Alphabet 8 (ISO/IEC 8859-14)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
631 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
632 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
633 ; registry "ISO8859-14"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
634 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
635 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
636 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
637 ; final ?_
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
638 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
639 ; short-name "RHP of Latin-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
640 ; long-name "RHP of Latin-8 (ISO 8859-14)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
641 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
642
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
643
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
644 ; ;; 2-byte charsets. Valid range of CHARSET-ID is 144..153.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
645
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
646 ; ; (make-charset 'japanese-jisx0208-1978
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
647 ; ; "JISX0208.1978 Japanese Kanji (so called \"old JIS\"): ISO-IR-42"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
648 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
649 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
650 ; ; registry "JISX0208.1990"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
651 ; ; registry "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
652 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
653 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
654 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
655 ; ; final ?@
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
656 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
657 ; ; short-name "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
658 ; ; long-name "JISX0208.1978 (Japanese): ISO-IR-42"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
659 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
660
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
661 ; ; (make-charset 'chinese-gb2312
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
662 ; ; "GB2312 Chinese simplified: ISO-IR-58"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
663 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
664 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
665 ; ; registry "GB2312.1980"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
666 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
667 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
668 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
669 ; ; final ?A
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
670 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
671 ; ; short-name "GB2312"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
672 ; ; long-name "GB2312: ISO-IR-58"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
673 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
674
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
675 ; ; (make-charset 'japanese-jisx0208
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
676 ; ; "JISX0208.1983/1990 Japanese Kanji: ISO-IR-87"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
677 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
678 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
679 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
680 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
681 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
682 ; ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
683 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
684 ; ; short-name "JISX0208"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
685 ; ; long-name "JISX0208.1983/1990 (Japanese): ISO-IR-87"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
686 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
687
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
688 ; ; (make-charset 'korean-ksc5601
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
689 ; ; "KSC5601 Korean Hangul and Hanja: ISO-IR-149"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
690 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
691 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
692 ; ; registry "KSC5601.1989"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
693 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
694 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
695 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
696 ; ; final ?C
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
697 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
698 ; ; short-name "KSC5601"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
699 ; ; long-name "KSC5601 (Korean): ISO-IR-149"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
700 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
701
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
702 ; ; (make-charset 'japanese-jisx0212
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
703 ; ; "JISX0212 Japanese supplement: ISO-IR-159"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
704 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
705 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
706 ; ; registry "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
707 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
708 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
709 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
710 ; ; final ?D
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
711 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
712 ; ; short-name "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
713 ; ; long-name "JISX0212 (Japanese): ISO-IR-159"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
714 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
715
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
716 ; ; (make-charset 'chinese-cns11643-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
717 ; ; "CNS11643 Plane 1 Chinese traditional: ISO-IR-171"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
718 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
719 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
720 ; ; registry "CNS11643.1992-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
721 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
722 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
723 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
724 ; ; final ?G
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
725 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
726 ; ; short-name "CNS11643-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
727 ; ; long-name "CNS11643-1 (Chinese traditional): ISO-IR-171"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
728 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
729
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
730 ; ; (make-charset 'chinese-cns11643-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
731 ; ; "CNS11643 Plane 2 Chinese traditional: ISO-IR-172"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
732 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
733 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
734 ; ; registry "CNS11643.1992-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
735 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
736 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
737 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
738 ; ; final ?H
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
739 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
740 ; ; short-name "CNS11643-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
741 ; ; long-name "CNS11643-2 (Chinese traditional): ISO-IR-172"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
742 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
743
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
744 ; (make-charset 'japanese-jisx0213-1 "JISX0213 Plane 1 (Japanese)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
745 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
746 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
747 ; registry "JISX0213.2000-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
748 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
749 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
750 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
751 ; final ?O
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
752 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
753 ; short-name "JISX0213-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
754 ; long-name "JISX0213-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
755 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
756
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
757 ; ; (make-charset 'chinese-big5-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
758 ; ; "Frequently used part (A141-C67F) of Big5 (Chinese traditional)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
759 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
760 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
761 ; ; registry "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
762 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
763 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
764 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
765 ; ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
766 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
767 ; ; short-name "Big5 (Level-1)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
768 ; ; long-name "Big5 (Level-1) A141-C67F"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
769 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
770
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
771 ; ; (make-charset 'chinese-big5-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
772 ; ; "Less frequently used part (C940-FEFE) of Big5 (Chinese traditional)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
773 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
774 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
775 ; ; registry "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
776 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
777 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
778 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
779 ; ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
780 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
781 ; ; short-name "Big5 (Level-2)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
782 ; ; long-name "Big5 (Level-2) C940-FEFE"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
783 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
784
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
785
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
786 ; ;; Additional (private) character sets. These character sets are
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
787 ; ;; treated less space-efficiently in the buffer.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
788
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
789 ; ;; Syntax:
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
790 ; ;; (define-charset CHARSET-ID CHARSET
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
791 ; ;; [ DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
792 ; ;; SHORT-NAME LONG-NAME DESCRIPTION ])
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
793
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
794 ; ;; ISO-2022 allows a use of character sets not registered in ISO with
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
795 ; ;; final characters `0' (0x30) through `?' (0x3F). Among them, Emacs
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
796 ; ;; reserves `0' through `9' to support several private character sets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
797 ; ;; The remaining final characters `:' through `?' are for users.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
798
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
799 ; ;; 1-byte 1-column charsets. Valid range of CHARSET-ID is 160..223.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
800
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
801 ; (make-charset 'chinese-sisheng
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
802 ; "SiSheng characters for PinYin/ZhuYin"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
803 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
804 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
805 ; registry "sisheng_cwnn"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
806 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
807 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
808 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
809 ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
810 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
811 ; short-name "SiSheng"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
812 ; long-name "SiSheng (PinYin/ZhuYin)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
813 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
814
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
815
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
816 ; ;; IPA characters for phonetic symbols.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
817 ; (make-charset 'ipa "IPA (International Phonetic Association)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
818 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
819 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
820 ; registry "MuleIPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
821 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
822 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
823 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
824 ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
825 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
826 ; short-name "IPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
827 ; long-name "IPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
828 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
829
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
830
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
831 ; ;; Vietnamese VISCII. VISCII is 1-byte character set which contains
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
832 ; ;; more than 96 characters. Since Emacs can't handle it as one
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
833 ; ;; character set, it is divided into two: lower case letters and upper
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
834 ; ;; case letters.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
835 ; (make-charset 'vietnamese-viscii-lower "VISCII1.1 lower-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
836 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
837 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
838 ; registry "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
839 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
840 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
841 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
842 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
843 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
844 ; short-name "VISCII lower"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
845 ; long-name "VISCII lower-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
846 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
847
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
848 ; (make-charset 'vietnamese-viscii-upper "VISCII1.1 upper-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
849 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
850 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
851 ; registry "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
852 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
853 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
854 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
855 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
856 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
857 ; short-name "VISCII upper"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
858 ; long-name "VISCII upper-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
859 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
860
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
861
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
862 ; ;; For Arabic, we need three different types of character sets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
863 ; ;; Digits are of direction left-to-right and of width 1-column.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
864 ; ;; Others are of direction right-to-left and of width 1-column or
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
865 ; ;; 2-column.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
866 ; (make-charset 'arabic-digit "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
867 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
868 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
869 ; registry "MuleArabic-0"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
870 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
871 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
872 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
873 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
874 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
875 ; short-name "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
876 ; long-name "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
877 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
878
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
879 ; (make-charset 'arabic-1-column "Arabic 1-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
880 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
881 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
882 ; registry "MuleArabic-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
883 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
884 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
885 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
886 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
887 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
888 ; short-name "Arabic 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
889 ; long-name "Arabic 1-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
890 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
891
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
892
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
893 ; ;; ASCII with right-to-left direction.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
894 ; (make-charset 'ascii-right-to-left
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
895 ; "ASCII (left half of ISO 8859-1) with right-to-left direction"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
896 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
897 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
898 ; registry "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
899 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
900 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
901 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
902 ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
903 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
904 ; short-name "rev ASCII"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
905 ; long-name "ASCII with right-to-left direction"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
906 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
907
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
908
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
909 ; ;; Lao script.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
910 ; ;; ISO10646's 0x0E80..0x0EDF are mapped to 0x20..0x7F.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
911 ; (make-charset 'lao "Lao characters (ISO10646 0E80..0EDF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
912 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
913 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
914 ; registry "MuleLao-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
915 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
916 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
917 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
918 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
919 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
920 ; short-name "Lao"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
921 ; long-name "Lao"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
922 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
923
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
924
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
925 ; ;; CHARSET-IDs 168..223 are not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
926
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
927 ; ;; 1-byte 2-column charsets. Valid range of CHARSET-ID is 224..239.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
928
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
929 ; (make-charset 'arabic-2-column "Arabic 2-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
930 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
931 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
932 ; registry "MuleArabic-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
933 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
934 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
935 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
936 ; final ?4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
937 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
938 ; short-name "Arabic 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
939 ; long-name "Arabic 2-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
940 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
941
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
942
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
943 ; ;; Indian scripts. Symbolic charset for data exchange. Glyphs are
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
944 ; ;; not assigned. They are automatically converted to each Indian
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
945 ; ;; script which IS-13194 supports.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
946
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
947 ; (make-charset 'indian-is13194
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
948 ; "Generic Indian charset for data exchange with IS 13194"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
949 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
950 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
951 ; registry "IS13194-Devanagari"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
952 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
953 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
954 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
955 ; final ?5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
956 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
957 ; short-name "IS 13194"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
958 ; long-name "Indian IS 13194"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
959 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
960
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
961
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
962 ; ;; CHARSET-IDs 226..239 are not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
963
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
964 ; ;; 2-byte 1-column charsets. Valid range of CHARSET-ID is 240..244.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
965
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
966 ; ;; Actual Glyph for 1-column width.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
967 ; (make-charset 'indian-1-column
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
968 ; "Indian charset for 2-column width glyphs"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
969 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
970 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
971 ; registry "MuleIndian-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
972 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
973 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
974 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
975 ; final ?6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
976 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
977 ; short-name "Indian 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
978 ; long-name "Indian 1 Column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
979 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
980
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
981
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
982 ; (make-charset 'tibetan-1-column "Tibetan 1 column glyph"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
983 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
984 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
985 ; registry "MuleTibetan-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
986 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
987 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
988 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
989 ; final ?8
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
990 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
991 ; short-name "Tibetan 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
992 ; long-name "Tibetan 1 column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
993 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
994
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
995
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
996 ; ;; Subsets of Unicode.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
997
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
998 ; (make-charset 'mule-unicode-2500-33ff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
999 ; "Unicode characters of the range U+2500..U+33FF."
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1000 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1001 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1002 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1003 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1004 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1005 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1006 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1007 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1008 ; short-name "Unicode subset 2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1009 ; long-name "Unicode subset (U+2500..U+33FF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1010 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1011
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1012
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1013 ; (make-charset 'mule-unicode-e000-ffff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1014 ; "Unicode characters of the range U+E000..U+FFFF."
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1015 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1016 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1017 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1018 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1019 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1020 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1021 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1022 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1023 ; short-name "Unicode subset 3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1024 ; long-name "Unicode subset (U+E000+FFFF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1025 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1026
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1027
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1028 ; (make-charset 'mule-unicode-0100-24ff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1029 ; "Unicode characters of the range U+0100..U+24FF."
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1030 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1031 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1032 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1033 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1034 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1035 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1036 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1037 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1038 ; short-name "Unicode subset"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1039 ; long-name "Unicode subset (U+0100..U+24FF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1040 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1041
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1042
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1043 ; ;; 2-byte 2-column charsets. Valid range of CHARSET-ID is 245..254.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1044
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1045 ; ;; Ethiopic characters (Amahric and Tigrigna).
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1046 ; (make-charset 'ethiopic "Ethiopic characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1047 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1048 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1049 ; registry "Ethiopic-Unicode"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1050 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1051 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1052 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1053 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1054 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1055 ; short-name "Ethiopic"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1056 ; long-name "Ethiopic characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1057 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1058
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1059
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1060 ; ;; Chinese CNS11643 Plane3 thru Plane7. Although these are official
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1061 ; ;; character sets, the use is rare and don't have to be treated
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1062 ; ;; space-efficiently in the buffer.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1063 ; (make-charset 'chinese-cns11643-3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1064 ; "CNS11643 Plane 3 Chinese Traditional: ISO-IR-183"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1065 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1066 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1067 ; registry "CNS11643.1992-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1068 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1069 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1070 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1071 ; final ?I
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1072 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1073 ; short-name "CNS11643-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1074 ; long-name "CNS11643-3 (Chinese traditional): ISO-IR-183"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1075 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1076
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1077 ; (make-charset 'chinese-cns11643-4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1078 ; "CNS11643 Plane 4 Chinese Traditional: ISO-IR-184"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1079 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1080 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1081 ; registry "CNS11643.1992-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1082 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1083 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1084 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1085 ; final ?J
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1086 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1087 ; short-name "CNS11643-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1088 ; long-name "CNS11643-4 (Chinese traditional): ISO-IR-184"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1089 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1090
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1091 ; (make-charset 'chinese-cns11643-5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1092 ; "CNS11643 Plane 5 Chinese Traditional: ISO-IR-185"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1093 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1094 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1095 ; registry "CNS11643.1992-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1096 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1097 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1098 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1099 ; final ?K
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1100 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1101 ; short-name "CNS11643-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1102 ; long-name "CNS11643-5 (Chinese traditional): ISO-IR-185"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1103 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1104
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1105 ; (make-charset 'chinese-cns11643-6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1106 ; "CNS11643 Plane 6 Chinese Traditional: ISO-IR-186"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1107 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1108 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1109 ; registry "CNS11643.1992-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1110 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1111 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1112 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1113 ; final ?L
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1114 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1115 ; short-name "CNS11643-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1116 ; long-name "CNS11643-6 (Chinese traditional): ISO-IR-186"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1117 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1118
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1119 ; (make-charset 'chinese-cns11643-7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1120 ; "CNS11643 Plane 7 Chinese Traditional: ISO-IR-187"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1121 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1122 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1123 ; registry "CNS11643.1992-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1124 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1125 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1126 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1127 ; final ?M
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1128 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1129 ; short-name "CNS11643-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1130 ; long-name "CNS11643-7 (Chinese traditional): ISO-IR-187"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1131 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1132
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1133
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1134 ; ;; Actual Glyph for 2-column width.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1135 ; (make-charset 'indian-2-column
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1136 ; "Indian charset for 2-column width glyphs"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1137 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1138 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1139 ; registry "MuleIndian-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1140 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1141 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1142 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1143 ; final ?5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1144 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1145 ; short-name "Indian 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1146 ; long-name "Indian 2 Column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1147 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1148
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1149
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1150 ; ;; Tibetan script.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1151 ; (make-charset 'tibetan "Tibetan characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1152 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1153 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1154 ; registry "MuleTibetan-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1155 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1156 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1157 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1158 ; final ?7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1159 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1160 ; short-name "Tibetan 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1161 ; long-name "Tibetan 2 column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1162 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1163
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1164
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1165 ; ;; CHARSET-ID 253 is not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1166
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1167 ; ;; JISX0213 Plane 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1168 ; (make-charset 'japanese-jisx0213-2 "JISX0213 Plane 2 (Japanese)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1169 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1170 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1171 ; registry "JISX0213.2000-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1172 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1173 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1174 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1175 ; final ?P
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1176 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1177 ; short-name "JISX0213-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1178 ; long-name "JISX0213-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1179 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1180
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1181 ;;; mule-charset.el ends here
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1182