annotate lisp/mule/mule-charset.el @ 3162:6e11554a16aa

[xemacs-hg @ 2005-12-23 11:40:32 by stephent] Add rename function to buffer mode. <87hd902gcp.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 23 Dec 2005 11:40:39 +0000
parents 7d67f0ab192c
children 04a435415e1d
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
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 ;; XEmacs is free software; you can redistribute it and/or modify it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 ;; under the terms of the GNU General Public License as published by
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 ;; the Free Software Foundation; either version 2, or (at your option)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 ;; any later version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 ;; XEmacs is distributed in the hope that it will be useful, but
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 ;; General Public License for more details.
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
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 ;; along with XEmacs; see the file COPYING. If not, write to the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 ;; Boston, MA 02111-1307, USA.
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 ;;; 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
31
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32 ;;; Commentary:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 ;; These functions are not compatible at the bytecode level with Emacs/Mule,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 ;; and they never will be. -sb [1999-05-26]
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 ;;; Code:
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 ;;;; Classifying text according to charsets
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40
1309
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
41 ;; the old version was broken in a couple of ways
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
42 ;; this is one of several versions, I tried a hash as well as the
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
43 ;; `prev-charset' cache used in the old version, but this was definitely
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
44 ;; faster than the hash version and marginally faster than the prev-charset
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
45 ;; version
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
46 ;; #### this really needs to be moved into C
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
47 (defun charsets-in-region (start end &optional buffer)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 "Return a list of the charsets in the region between START and END.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49 BUFFER defaults to the current buffer if omitted."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
50 (let (list)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
51 (save-excursion
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
52 (if buffer
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53 (set-buffer buffer))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
54 (save-restriction
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
55 (narrow-to-region start end)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
56 (goto-char (point-min))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
57 (while (not (eobp))
1309
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
58 ;; the first test will usually succeed on testing the
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
59 ;; car of the list; don't waste time let-binding.
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
60 (or (memq (char-charset (char-after (point))) list)
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
61 (setq list (cons (char-charset (char-after (point))) list)))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
62 (forward-char))))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63 list))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64
3162
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
65 (defun fixed-charsets-in-region (start end &optional buffer)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
66 "Return a list of the charsets in the region between START and END.
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
67 BUFFER defaults to the current buffer if omitted."
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
68 (let (list)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
69 (save-excursion
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
70 (if buffer
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
71 (set-buffer buffer))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
72 (save-restriction
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
73 (narrow-to-region start end)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
74 (goto-char (point-min))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
75 (let ((prev-charset nil))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
76 (while (not (eobp))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
77 (let* ((charset (char-charset (char-after (point)))))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
78 (if (not (eq prev-charset charset))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
79 (progn
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
80 (setq prev-charset charset)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
81 (or (memq charset list)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
82 (setq list (cons charset list))))))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
83 (forward-char)))))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
84 list))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
85
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
86 (defun list-charsets-in-region (start end &optional buffer)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
87 "Return a list of the charsets in the region between START and END.
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
88 BUFFER defaults to the current buffer if omitted."
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
89 (let (list)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
90 (save-excursion
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
91 (if buffer
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
92 (set-buffer buffer))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
93 (save-restriction
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
94 (narrow-to-region start end)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
95 (goto-char (point-min))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
96 ;; this could be optimized by maintaining prev-charset and checking
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
97 ;; for equality, but memq is not that slow for a short list.
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
98 (while (not (eobp))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
99 (let* ((charset (char-charset (char-after (point)))))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
100 (or (memq charset list)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
101 (setq list (cons charset list))))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
102 (forward-char))))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
103 list))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
104
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
105 (defun hash-charsets-in-region (start end &optional buffer)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
106 "Return a list of the charsets in the region between START and END.
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
107 BUFFER defaults to the current buffer if omitted."
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
108 (let ((ht (make-hash-table :size 10)))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
109 (save-excursion
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
110 (if buffer
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
111 (set-buffer buffer))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
112 (save-restriction
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
113 (narrow-to-region start end)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
114 (goto-char (point-min))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
115 (while (not (eobp))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
116 (puthash (char-charset (char-after (point))) t ht)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
117 (forward-char))))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
118 (hash-table-key-list ht)))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
119
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
120 (defun c-charsets-in-region (start end &optional buffer)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
121 "Return a list of the charsets in the region between START and END.
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
122 BUFFER defaults to the current buffer if omitted."
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
123 (setq buffer (or buffer (current-buffer)))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
124 (charsets-in-region-internal buffer start end))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
125
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
126 (defun charsets-in-string (string)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
127 "Return a list of the charsets in STRING."
1309
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
128 (let (list)
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
129 (mapc (lambda (ch)
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
130 ;; the first test will usually succeed on testing the
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
131 ;; car of the list; don't waste time let-binding.
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
132 (or (memq (char-charset ch) list)
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
133 (setq list (cons (char-charset ch) list))))
00abb1091204 [xemacs-hg @ 2003-02-17 14:50:55 by stephent]
stephent
parents: 820
diff changeset
134 string)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
135 list))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
136
3162
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
137 (defun c-charsets-in-string (string)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
138 "Return a list of the charsets in STRING."
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
139 (charsets-in-string-internal string nil nil))
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
140
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
141 (or (fboundp 'charsets-in-string)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
142 (defalias 'charsets-in-string 'c-charsets-in-string))
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
143 (defalias 'find-charset-string 'charsets-in-string)
3162
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
144 (or (fboundp 'charsets-in-region)
6e11554a16aa [xemacs-hg @ 2005-12-23 11:40:32 by stephent]
stephent
parents: 2298
diff changeset
145 (defalias 'charsets-in-region 'c-charsets-in-region))
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
146 (defalias 'find-charset-region 'charsets-in-region)
818
accc481aef34 [xemacs-hg @ 2002-04-25 06:09:11 by youngs]
youngs
parents: 788
diff changeset
147
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
148
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
149 ;;;; Charset accessors
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
150
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
151 (defun charset-iso-graphic-plane (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
152 "Return the `graphic' property of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
153 See `make-charset'."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
154 (charset-property charset 'graphic))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
155
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
156 (defun charset-iso-final-char (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
157 "Return the final byte of the ISO 2022 escape sequence designating CHARSET."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
158 (charset-property charset 'final))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
159
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
160 (defun charset-chars (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
161 "Return the number of characters per dimension of CHARSET."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162 (charset-property charset 'chars))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
163
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
164 (defun charset-width (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
165 "Return the number of display columns per character of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
166 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
167 be automatically determined)."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
168 (charset-property charset 'columns))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
169
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
170 ;; #### FSFmacs returns 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
171 (defun charset-direction (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
172 "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
173 Only left-to-right is currently implemented."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
174 (if (eq (charset-property charset 'direction) 'l2r)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
175 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
176 1))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
177
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
178 ;; Not in Emacs/Mule
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
179 (defun charset-registry (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
180 "Return the registry of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
181 This is a regular expression matching the registry field of fonts
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
182 that can display the characters in CHARSET."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
183 (charset-property charset 'registry))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 (defun charset-ccl-program (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
186 "Return the CCL program of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187 See `make-charset'."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188 (charset-property charset 'ccl-program))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190 (defun charset-bytes (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
191 "Useless in XEmacs, returns 1."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192 1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
193
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
194 (define-obsolete-function-alias 'charset-columns 'charset-width) ;; 19990409
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
195 (define-obsolete-function-alias 'charset-final 'charset-iso-final-char) ;; 19990409
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
196 (define-obsolete-function-alias 'charset-graphic 'charset-iso-graphic-plane) ;; 19990409
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
197 (define-obsolete-function-alias 'charset-doc-string 'charset-description) ;; 19990409
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
198
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
199 ;;;; Define setf methods for all settable Charset properties
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
200
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201 (defsetf charset-registry set-charset-registry)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
202 (defsetf charset-ccl-program set-charset-ccl-program)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
203
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
204 ;;; FSF compatibility functions
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
205 (defun charset-after (&optional pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
206 "Return charset of a character in current buffer at position POS.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
207 If POS is nil, it defauls to the current point.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
208 If POS is out of range, the value is nil."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
209 (when (null pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
210 (setq pos (point)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
211 (check-argument-type 'integerp pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
212 (unless (or (< pos (point-min))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
213 (> pos (point-max)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
214 (char-charset (char-after pos))))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
215
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
216 ;; Yuck!
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
217 ;; We're not going to support these.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
218 ;(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
219 ;(defun define-charset (...) [incredibly broken function with random vectors]
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
220
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
221 ;;; Charset property
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
222
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
223 (defalias 'get-charset-property 'get)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
224 (defalias 'put-charset-property 'put)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
225 (defalias 'charset-plist 'object-plist)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
226 (defalias 'set-charset-plist 'setplist)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
227
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
228
788
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 ; translation tables ;
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
231 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
232
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
233 (defstruct (translation-table (:constructor internal-make-translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
234 forward
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
235 reverse)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
236
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
237 (defun make-translation-table (&rest args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
238 "Make a translation table from arguments.
2116
ce294639d321 [xemacs-hg @ 2004-06-06 23:58:40 by adrian]
adrian
parents: 1309
diff changeset
239 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
240 in CCL programs.
788
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
241
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
242 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
243 is a character to be translated to TO.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
244
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
245 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
246 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
247 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
248 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
249 without changing their position code(s).
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
250
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
251 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
252 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
253 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
254 (let ((table (internal-make-translation-table
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
255 :forward (make-char-table 'generic)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
256 revlist)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
257 (while args
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
258 (let ((elts (car args)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
259 (while elts
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
260 (let* ((from (car (car elts)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
261 (from-i 0) ; degree of freedom of FROM
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
262 (from-rev (nreverse (split-char from)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
263 (to (cdr (car elts)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
264 (to-i 0) ; degree of freedom of TO
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
265 (to-rev (nreverse (split-char to))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
266 ;; 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
267 (while (eq (car from-rev) 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
268 (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
269 (while (eq (car to-rev) 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
270 (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
271 (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
272 (error "Invalid character pair (%d . %d)" from to))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
273 ;; 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
274 ;; 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
275 ;; 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
276 ;; character.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
277 (let ((to-alt (get-char-table to table)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
278 (if (and to-alt
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
279 (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
280 (setq to to-alt)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
281 (if (> from-i 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
282 (set-char-table-default table from to)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
283 (put-char-table from to table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
284 ;; 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
285 ;; should also be translated to TO.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
286 (let ((l (assq from revlist)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
287 (if l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
288 (let ((ch (car l)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
289 (setcar l to)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
290 (setq l (cdr l))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
291 (while l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
292 (put-char-table ch to table)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
293 (setq l (cdr l)) ))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
294 ;; Now update REVLIST.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
295 (let ((l (assq to revlist)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
296 (if l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
297 (setcdr l (cons from (cdr l)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
298 (setq revlist (cons (list to from) revlist)))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
299 (setq elts (cdr elts))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
300 (setq args (cdr args)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
301 ;; Return TABLE just created.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
302 table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
303
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
304 ;; Do we really need this?
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
305 ; (defun make-translation-table-from-vector (vec)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
306 ; "Make translation table from decoding vector VEC.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
307 ; 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
308 ; See also the variable `nonascii-translation-table'."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
309 ; (let ((table (make-char-table 'translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
310 ; (rev-table (make-char-table 'translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
311 ; (i 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
312 ; ch)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
313 ; (while (< i 256)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
314 ; (setq ch (aref vec i))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
315 ; (aset table i ch)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
316 ; (if (>= ch 256)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
317 ; (aset rev-table ch i))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
318 ; (setq i (1+ i)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
319 ; (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
320 ; table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
321
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
322 (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
323
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
324 (defun define-translation-table (symbol &rest args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
325 "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
326 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
327 translations in a CCL program.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
328
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
329 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
330 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
331
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
332 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
333 `make-translation-table' (which see).
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
334
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
335 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
336 `get-translation-table'."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
337 (let ((table (if (translation-table-p (car args))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
338 (car args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
339 (apply 'make-translation-table args))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
340 (puthash symbol table named-translation-table-hash-table)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
341
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
342 (defun find-translation-table (table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
343 "Retrieve the translation table of the given name.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
344 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
345 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
346 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
347 table object is returned."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
348 (if (translation-table-p table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
349 table-or-name
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
350 (check-argument-type 'symbolp table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
351 (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
352
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
353 (defun get-translation-table (table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
354 "Retrieve the translation table of the given name.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
355 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
356 no such translation table instead of returning nil."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
357 (or (find-translation-table table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
358 (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
359
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
360
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
361 ;; 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
362 ;; SPACE and NEWLINE are already set.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
363 (let ((l '(katakana-jisx0201
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
364 japanese-jisx0208 japanese-jisx0212
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
365 chinese-gb2312 chinese-big5-1 chinese-big5-2)))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
366 (while l
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
367 (put-char-table (car l) t auto-fill-chars)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
368 (setq l (cdr l))))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
369
778
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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
372 ; charsets ;
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
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
375 ;; Synched up with: FSF 21.1.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
376
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
377 ;; 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
378 ;; 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
379 ;; 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
380 ;; 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
381 ;; 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
382
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
383 ;; 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
384
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
385 ; (setq last-kbd-macro (read-kbd-macro
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
386 ; "<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
387
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
388 ;; 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
389 ;; 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
390 ;; property.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
391
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
392 ; (setq last-kbd-macro (read-kbd-macro
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
393 ; "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
394
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
395 ;; 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
396
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
397 ;; latin-iso8859-1 "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
398 ;; latin-iso8859-2 "ISO8859-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
399 ;; latin-iso8859-3 "ISO8859-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
400 ;; latin-iso8859-4 "ISO8859-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
401 ;; thai-tis620 "TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
402 ;; greek-iso8859-7 "ISO8859-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
403 ;; arabic-iso8859-6 "ISO8859-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
404 ;; hebrew-iso8859-8 "ISO8859-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
405 ;; katakana-jisx0201 "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
406 ;; latin-jisx0201 "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
407 ;; cyrillic-iso8859-5 "ISO8859-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
408 ;; latin-iso8859-9 "ISO8859-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
409 ;; japanese-jisx0208-1978 "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
410 ;; chinese-gb2312 "GB2312.1980"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
411 ;; japanese-jisx0208 "JISX0208.1990"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
412 ;; korean-ksc5601 "KSC5601.1989"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
413 ;; japanese-jisx0212 "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
414 ;; chinese-cns11643-1 "CNS11643.1992-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
415 ;; chinese-cns11643-2 "CNS11643.1992-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
416 ;; chinese-cns11643-3 "CNS11643.1992-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
417 ;; chinese-cns11643-4 "CNS11643.1992-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
418 ;; chinese-cns11643-5 "CNS11643.1992-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
419 ;; chinese-cns11643-6 "CNS11643.1992-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
420 ;; chinese-cns11643-7 "CNS11643.1992-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
421 ;; chinese-big5-1 "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
422 ;; chinese-big5-2 "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
423 ;; chinese-sisheng "sisheng_cwnn"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
424 ;; vietnamese-viscii-lower "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
425 ;; vietnamese-viscii-upper "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
426 ;; arabic-digit "MuleArabic-0"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
427 ;; arabic-1-column "MuleArabic-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
428 ;; arabic-2-column "MuleArabic-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
429 ;; ipa "MuleIPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
430 ;; ethiopic "Ethiopic-Unicode"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
431 ;; ascii-right-to-left "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
432 ;; indian-is13194 "IS13194-Devanagari"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
433 ;; indian-2-column "MuleIndian-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
434 ;; indian-1-column "MuleIndian-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
435 ;; lao "MuleLao-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
436 ;; tibetan "MuleTibetan-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
437 ;; tibetan-1-column "MuleTibetan-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
438 ;; latin-iso8859-14 "ISO8859-14"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
439 ;; latin-iso8859-15 "ISO8859-15"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
440 ;; mule-unicode-0100-24ff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
441 ;; mule-unicode-2500-33ff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
442 ;; mule-unicode-e000-ffff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
443 ;; japanese-jisx0213-1 "JISX0213.2000-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
444 ;; japanese-jisx0213-2 "JISX0213.2000-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
445
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
446 ;;; Begin stuff from international/mule-conf.el.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
447
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
448 ; ;;; Definitions of character sets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
449
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
450 ; ;; 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
451 ; ;; efficiently with respect to buffer memory.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
452
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
453 ; ;; Syntax:
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
454 ; ;; (define-charset CHARSET-ID CHARSET
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
455 ; ;; [ 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
456 ; ;; SHORT-NAME LONG-NAME DESCRIPTION ])
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
457 ; ;; 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
458 ; ;; (define-charset 0 ascii
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
459 ; ;; [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
460
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
461 ; ;; 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
462
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
463 ; ;; CHARSET-ID 128 is not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
464
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
465 ; ; 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
466 ; ; (make-charset 'latin-iso8859-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
467 ; ; "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
468 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
469 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
470 ; ; registry "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
471 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
472 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
473 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
474 ; ; final ?A
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
475 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
476 ; ; short-name "RHP of Latin-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
477 ; ; 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
478 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
479
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
480 ; ; (make-charset 'latin-iso8859-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
481 ; ; "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
482 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
483 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
484 ; ; registry "ISO8859-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
485 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
486 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
487 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
488 ; ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
489 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
490 ; ; short-name "RHP of Latin-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
491 ; ; 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
492 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
493
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
494 ; ; (make-charset 'latin-iso8859-3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
495 ; ; "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
496 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
497 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
498 ; ; registry "ISO8859-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
499 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
500 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
501 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
502 ; ; final ?C
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
503 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
504 ; ; short-name "RHP of Latin-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
505 ; ; 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
506 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
507
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
508 ; ; (make-charset 'latin-iso8859-4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
509 ; ; "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
510 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
511 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
512 ; ; registry "ISO8859-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
513 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
514 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
515 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
516 ; ; final ?D
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
517 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
518 ; ; short-name "RHP of Latin-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
519 ; ; 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
520 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
521
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
522 ; ; (make-charset 'thai-tis620
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
523 ; ; "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
524 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
525 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
526 ; ; registry "TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
527 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
528 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
529 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
530 ; ; final ?T
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
531 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
532 ; ; short-name "RHP of TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
533 ; ; 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
534 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
535
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
536 ; ; (make-charset 'greek-iso8859-7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
537 ; ; "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
538 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
539 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
540 ; ; registry "ISO8859-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
541 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
542 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
543 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
544 ; ; final ?F
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
545 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
546 ; ; short-name "RHP of ISO8859/7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
547 ; ; 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
548 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
549
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
550 ; ; (make-charset 'arabic-iso8859-6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
551 ; ; "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
552 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
553 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
554 ; ; registry "ISO8859-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
555 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
556 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
557 ; ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
558 ; ; final ?G
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
559 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
560 ; ; short-name "RHP of ISO8859/6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
561 ; ; 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
562 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
563
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
564 ; ; (make-charset 'hebrew-iso8859-8
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
565 ; ; "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
566 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
567 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
568 ; ; registry "ISO8859-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
569 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
570 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
571 ; ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
572 ; ; final ?H
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
573 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
574 ; ; short-name "RHP of ISO8859/8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
575 ; ; 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
576 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
577
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
578 ; ; (make-charset 'katakana-jisx0201
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
579 ; ; "Katakana Part of JISX0201.1976"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
580 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
581 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
582 ; ; registry "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
583 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
584 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
585 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
586 ; ; final ?I
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
587 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
588 ; ; short-name "JISX0201 Katakana"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
589 ; ; long-name "Japanese Katakana (JISX0201.1976)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
590 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
591
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
592 ; ; (make-charset 'latin-jisx0201
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
593 ; ; "Roman Part of JISX0201.1976"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
594 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
595 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
596 ; ; registry "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
597 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
598 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
599 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
600 ; ; final ?J
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
601 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
602 ; ; short-name "JISX0201 Roman"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
603 ; ; long-name "Japanese Roman (JISX0201.1976)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
604 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
605
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
606
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
607 ; ;; CHARSET-ID is not used 139.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
608
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
609 ; ; (make-charset 'cyrillic-iso8859-5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
610 ; ; "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
611 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
612 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
613 ; ; registry "ISO8859-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
614 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
615 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
616 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
617 ; ; final ?L
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
618 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
619 ; ; short-name "RHP of ISO8859/5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
620 ; ; 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
621 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
622
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
623 ; ; (make-charset 'latin-iso8859-9
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
624 ; ; "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
625 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
626 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
627 ; ; registry "ISO8859-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
628 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
629 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
630 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
631 ; ; final ?M
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
632 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
633 ; ; short-name "RHP of Latin-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
634 ; ; 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
635 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
636
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
637 ; ; (make-charset 'latin-iso8859-15
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
638 ; ; "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
639 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
640 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
641 ; ; registry "ISO8859-15"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
642 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
643 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
644 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
645 ; ; final ?b
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
646 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
647 ; ; short-name "RHP of Latin-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
648 ; ; 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
649 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
650
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
651 ; (make-charset 'latin-iso8859-14
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
652 ; "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
653 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
654 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
655 ; registry "ISO8859-14"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
656 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
657 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
658 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
659 ; final ?_
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
660 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
661 ; short-name "RHP of Latin-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
662 ; 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
663 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
664
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
665
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
666 ; ;; 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
667
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
668 ; ; (make-charset 'japanese-jisx0208-1978
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
669 ; ; "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
670 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
671 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
672 ; ; registry "JISX0208.1990"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
673 ; ; registry "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
674 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
675 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
676 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
677 ; ; final ?@
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
678 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
679 ; ; short-name "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
680 ; ; long-name "JISX0208.1978 (Japanese): ISO-IR-42"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
681 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
682
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
683 ; ; (make-charset 'chinese-gb2312
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
684 ; ; "GB2312 Chinese simplified: ISO-IR-58"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
685 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
686 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
687 ; ; registry "GB2312.1980"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
688 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
689 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
690 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
691 ; ; final ?A
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
692 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
693 ; ; short-name "GB2312"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
694 ; ; long-name "GB2312: ISO-IR-58"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
695 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
696
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
697 ; ; (make-charset 'japanese-jisx0208
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
698 ; ; "JISX0208.1983/1990 Japanese Kanji: ISO-IR-87"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
699 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
700 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
701 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
702 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
703 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
704 ; ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
705 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
706 ; ; short-name "JISX0208"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
707 ; ; 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
708 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
709
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
710 ; ; (make-charset 'korean-ksc5601
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
711 ; ; "KSC5601 Korean Hangul and Hanja: ISO-IR-149"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
712 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
713 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
714 ; ; registry "KSC5601.1989"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
715 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
716 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
717 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
718 ; ; final ?C
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
719 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
720 ; ; short-name "KSC5601"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
721 ; ; long-name "KSC5601 (Korean): ISO-IR-149"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
722 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
723
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
724 ; ; (make-charset 'japanese-jisx0212
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
725 ; ; "JISX0212 Japanese supplement: ISO-IR-159"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
726 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
727 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
728 ; ; registry "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
729 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
730 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
731 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
732 ; ; final ?D
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
733 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
734 ; ; short-name "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
735 ; ; long-name "JISX0212 (Japanese): ISO-IR-159"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
736 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
737
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
738 ; ; (make-charset 'chinese-cns11643-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
739 ; ; "CNS11643 Plane 1 Chinese traditional: ISO-IR-171"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
740 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
741 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
742 ; ; registry "CNS11643.1992-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
743 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
744 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
745 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
746 ; ; final ?G
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
747 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
748 ; ; short-name "CNS11643-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
749 ; ; 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
750 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
751
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
752 ; ; (make-charset 'chinese-cns11643-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
753 ; ; "CNS11643 Plane 2 Chinese traditional: ISO-IR-172"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
754 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
755 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
756 ; ; registry "CNS11643.1992-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
757 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
758 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
759 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
760 ; ; final ?H
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
761 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
762 ; ; short-name "CNS11643-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
763 ; ; 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
764 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
765
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
766 ; (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
767 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
768 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
769 ; registry "JISX0213.2000-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
770 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
771 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
772 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
773 ; final ?O
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
774 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
775 ; short-name "JISX0213-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
776 ; long-name "JISX0213-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
777 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
779 ; ; (make-charset 'chinese-big5-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
780 ; ; "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
781 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
782 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
783 ; ; registry "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
784 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
785 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
786 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
787 ; ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
788 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
789 ; ; short-name "Big5 (Level-1)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
790 ; ; long-name "Big5 (Level-1) A141-C67F"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
791 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
792
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
793 ; ; (make-charset 'chinese-big5-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
794 ; ; "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
795 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
796 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
797 ; ; registry "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
798 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
799 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
800 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
801 ; ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
802 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
803 ; ; short-name "Big5 (Level-2)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
804 ; ; long-name "Big5 (Level-2) C940-FEFE"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
805 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
806
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
807
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
808 ; ;; Additional (private) character sets. These character sets are
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
809 ; ;; treated less space-efficiently in the buffer.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
810
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
811 ; ;; Syntax:
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
812 ; ;; (define-charset CHARSET-ID CHARSET
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
813 ; ;; [ 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
814 ; ;; SHORT-NAME LONG-NAME DESCRIPTION ])
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 ; ;; 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
817 ; ;; 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
818 ; ;; 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
819 ; ;; The remaining final characters `:' through `?' are for users.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
820
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
821 ; ;; 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
822
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
823 ; (make-charset 'chinese-sisheng
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
824 ; "SiSheng characters for PinYin/ZhuYin"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
825 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
826 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
827 ; registry "sisheng_cwnn"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
828 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
829 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
830 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
831 ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
832 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
833 ; short-name "SiSheng"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
834 ; long-name "SiSheng (PinYin/ZhuYin)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
835 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
836
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
837
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
838 ; ;; IPA characters for phonetic symbols.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
839 ; (make-charset 'ipa "IPA (International Phonetic Association)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
840 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
841 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
842 ; registry "MuleIPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
843 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
844 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
845 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
846 ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
847 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
848 ; short-name "IPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
849 ; long-name "IPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
850 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
851
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
852
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
853 ; ;; 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
854 ; ;; 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
855 ; ;; 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
856 ; ;; case letters.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
857 ; (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
858 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
859 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
860 ; registry "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
861 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
862 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
863 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
864 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
865 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
866 ; short-name "VISCII lower"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
867 ; long-name "VISCII lower-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
868 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
869
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
870 ; (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
871 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
872 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
873 ; registry "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
874 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
875 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
876 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
877 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
878 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
879 ; short-name "VISCII upper"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
880 ; long-name "VISCII upper-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
881 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
882
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
883
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
884 ; ;; 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
885 ; ;; 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
886 ; ;; 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
887 ; ;; 2-column.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
888 ; (make-charset 'arabic-digit "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
889 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
890 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
891 ; registry "MuleArabic-0"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
892 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
893 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
894 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
895 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
896 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
897 ; short-name "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
898 ; long-name "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
899 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
900
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
901 ; (make-charset 'arabic-1-column "Arabic 1-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
902 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
903 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
904 ; registry "MuleArabic-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
905 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
906 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
907 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
908 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
909 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
910 ; short-name "Arabic 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
911 ; long-name "Arabic 1-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
912 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
913
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
914
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
915 ; ;; ASCII with right-to-left direction.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
916 ; (make-charset 'ascii-right-to-left
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
917 ; "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
918 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
919 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
920 ; registry "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
921 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
922 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
923 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
924 ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
925 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
926 ; short-name "rev ASCII"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
927 ; long-name "ASCII with right-to-left direction"
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
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
930
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
931 ; ;; Lao script.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
932 ; ;; 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
933 ; (make-charset 'lao "Lao characters (ISO10646 0E80..0EDF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
934 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
935 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
936 ; registry "MuleLao-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
937 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
938 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
939 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
940 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
941 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
942 ; short-name "Lao"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
943 ; long-name "Lao"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
944 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
945
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 ; ;; CHARSET-IDs 168..223 are not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
948
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
949 ; ;; 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
950
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
951 ; (make-charset 'arabic-2-column "Arabic 2-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
952 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
953 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
954 ; registry "MuleArabic-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
955 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
956 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
957 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
958 ; final ?4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
959 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
960 ; short-name "Arabic 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
961 ; long-name "Arabic 2-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
962 ; ))
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
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
965 ; ;; 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
966 ; ;; 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
967 ; ;; script which IS-13194 supports.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
968
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
969 ; (make-charset 'indian-is13194
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
970 ; "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
971 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
972 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
973 ; registry "IS13194-Devanagari"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
974 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
975 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
976 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
977 ; final ?5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
978 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
979 ; short-name "IS 13194"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
980 ; long-name "Indian IS 13194"
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
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
983
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
984 ; ;; CHARSET-IDs 226..239 are not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
985
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
986 ; ;; 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
987
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
988 ; ;; Actual Glyph for 1-column width.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
989 ; (make-charset 'indian-1-column
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
990 ; "Indian charset for 2-column width glyphs"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
991 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
992 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
993 ; registry "MuleIndian-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
994 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
995 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
996 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
997 ; final ?6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
998 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
999 ; short-name "Indian 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1000 ; long-name "Indian 1 Column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1001 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1002
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1003
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1004 ; (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
1005 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1006 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1007 ; registry "MuleTibetan-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1008 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1009 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1010 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1011 ; final ?8
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1012 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1013 ; short-name "Tibetan 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1014 ; long-name "Tibetan 1 column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1015 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1016
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1017
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1018 ; ;; Subsets of Unicode.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1019
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1020 ; (make-charset 'mule-unicode-2500-33ff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1021 ; "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
1022 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1023 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1024 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1025 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1026 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1027 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1028 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1029 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1030 ; short-name "Unicode subset 2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1031 ; long-name "Unicode subset (U+2500..U+33FF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1032 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1033
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1034
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1035 ; (make-charset 'mule-unicode-e000-ffff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1036 ; "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
1037 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1038 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1039 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1040 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1041 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1042 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1043 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1044 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1045 ; short-name "Unicode subset 3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1046 ; long-name "Unicode subset (U+E000+FFFF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1047 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1048
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1049
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1050 ; (make-charset 'mule-unicode-0100-24ff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1051 ; "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
1052 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1053 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1054 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1055 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1056 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1057 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1058 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1059 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1060 ; short-name "Unicode subset"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1061 ; long-name "Unicode subset (U+0100..U+24FF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1062 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1063
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1064
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1065 ; ;; 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
1066
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1067 ; ;; Ethiopic characters (Amahric and Tigrigna).
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1068 ; (make-charset 'ethiopic "Ethiopic characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1069 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1070 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1071 ; registry "Ethiopic-Unicode"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1072 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1073 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1074 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1075 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1076 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1077 ; short-name "Ethiopic"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1078 ; long-name "Ethiopic characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1079 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1080
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1081
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1082 ; ;; 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
1083 ; ;; 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
1084 ; ;; space-efficiently in the buffer.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1085 ; (make-charset 'chinese-cns11643-3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1086 ; "CNS11643 Plane 3 Chinese Traditional: ISO-IR-183"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1087 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1088 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1089 ; registry "CNS11643.1992-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1090 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1091 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1092 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1093 ; final ?I
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1094 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1095 ; short-name "CNS11643-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1096 ; 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
1097 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1098
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1099 ; (make-charset 'chinese-cns11643-4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1100 ; "CNS11643 Plane 4 Chinese Traditional: ISO-IR-184"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1101 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1102 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1103 ; registry "CNS11643.1992-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1104 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1105 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1106 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1107 ; final ?J
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1108 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1109 ; short-name "CNS11643-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1110 ; 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
1111 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1112
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1113 ; (make-charset 'chinese-cns11643-5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1114 ; "CNS11643 Plane 5 Chinese Traditional: ISO-IR-185"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1115 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1116 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1117 ; registry "CNS11643.1992-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1118 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1119 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1120 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1121 ; final ?K
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1122 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1123 ; short-name "CNS11643-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1124 ; 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
1125 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1126
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1127 ; (make-charset 'chinese-cns11643-6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1128 ; "CNS11643 Plane 6 Chinese Traditional: ISO-IR-186"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1129 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1130 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1131 ; registry "CNS11643.1992-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1132 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1133 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1134 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1135 ; final ?L
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1136 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1137 ; short-name "CNS11643-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1138 ; 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
1139 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1140
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1141 ; (make-charset 'chinese-cns11643-7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1142 ; "CNS11643 Plane 7 Chinese Traditional: ISO-IR-187"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1143 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1144 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1145 ; registry "CNS11643.1992-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1146 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1147 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1148 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1149 ; final ?M
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1150 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1151 ; short-name "CNS11643-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1152 ; 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
1153 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1154
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1155
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1156 ; ;; Actual Glyph for 2-column width.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1157 ; (make-charset 'indian-2-column
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1158 ; "Indian charset for 2-column width glyphs"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1159 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1160 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1161 ; registry "MuleIndian-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1162 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1163 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1164 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1165 ; final ?5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1166 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1167 ; short-name "Indian 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1168 ; long-name "Indian 2 Column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1169 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1170
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1171
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1172 ; ;; Tibetan script.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1173 ; (make-charset 'tibetan "Tibetan characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1174 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1175 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1176 ; registry "MuleTibetan-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1177 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1178 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1179 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1180 ; final ?7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1181 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1182 ; short-name "Tibetan 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1183 ; long-name "Tibetan 2 column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1184 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1185
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1186
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1187 ; ;; CHARSET-ID 253 is not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1188
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1189 ; ;; JISX0213 Plane 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1190 ; (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
1191 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1192 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1193 ; registry "JISX0213.2000-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1194 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1195 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1196 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1197 ; final ?P
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1198 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1199 ; short-name "JISX0213-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1200 ; long-name "JISX0213-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1201 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1202
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1203 ;;; mule-charset.el ends here
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1204