annotate lisp/mule/european.el @ 3174:588878f5a654

[xemacs-hg @ 2005-12-24 22:31:47 by aidan] Revert a couple of changes from those last commits.
author aidan
date Sat, 24 Dec 2005 22:31:53 +0000
parents 4ee3cf8de81d
children 98af8a976fc3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 ;;; european.el --- European languages -*- coding: iso-2022-7bit; -*-
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 ;; Licensed to the Free Software Foundation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 ;; Copyright (C) 1997 MORIOKA Tomohiko
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
6 ;; Copyright (C) 2001 Ben Wing.
2576
c4235ee1f733 [xemacs-hg @ 2005-02-09 18:06:33 by aidan]
aidan
parents: 2575
diff changeset
7 ;; Copyright (C) 2002, 2005 Free Software Foundation
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 ;; Keywords: multilingual, European
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 ;; This file is part of XEmacs.
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 ;; XEmacs is free software; you can redistribute it and/or modify it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 ;; under the terms of the GNU General Public License as published by
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 ;; the Free Software Foundation; either version 2, or (at your option)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 ;; any later version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 ;; XEmacs is distributed in the hope that it will be useful, but
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 ;; General Public License for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 ;; You should have received a copy of the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 ;; along with XEmacs; see the file COPYING. If not, write to the Free
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 ;; 02111-1307, USA.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 ;;; Commentary:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29
2576
c4235ee1f733 [xemacs-hg @ 2005-02-09 18:06:33 by aidan]
aidan
parents: 2575
diff changeset
30 ;; For Roman-alphabet-using Europeans, eight coded character sets,
c4235ee1f733 [xemacs-hg @ 2005-02-09 18:06:33 by aidan]
aidan
parents: 2575
diff changeset
31 ;; ISO8859-1,2,3,4,9,14,15,16 are supported.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
33 ;; #### latin.el would be a better name for this file.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
34
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 ;;; Code:
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
36 ; (make-charset 'latin-iso8859-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
37 ; "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: 771
diff changeset
38 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
39 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
40 ; registry "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
41 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
42 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
43 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
44 ; final ?A
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
45 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
46 ; short-name "RHP of Latin-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
47 ; 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: 771
diff changeset
48 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
49
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
50 ; (make-charset 'latin-iso8859-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
51 ; "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: 771
diff changeset
52 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
53 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
54 ; registry "ISO8859-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
55 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
56 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
57 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
58 ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
59 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
60 ; short-name "RHP of Latin-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
61 ; 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: 771
diff changeset
62 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
63
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
64 ; (make-charset 'latin-iso8859-3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
65 ; "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: 771
diff changeset
66 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
67 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
68 ; registry "ISO8859-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
69 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
70 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
71 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
72 ; final ?C
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
73 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
74 ; short-name "RHP of Latin-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
75 ; 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: 771
diff changeset
76 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
77
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
78 ; (make-charset 'latin-iso8859-4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
79 ; "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: 771
diff changeset
80 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
81 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
82 ; registry "ISO8859-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
83 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
84 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
85 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
86 ; final ?D
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
87 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
88 ; short-name "RHP of Latin-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
89 ; 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: 771
diff changeset
90 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
91
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
92 ; (make-charset 'latin-iso8859-9
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
93 ; "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: 771
diff changeset
94 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
95 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
96 ; registry "ISO8859-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
97 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
98 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
99 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
100 ; final ?M
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
101 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
102 ; short-name "RHP of Latin-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
103 ; 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: 771
diff changeset
104 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
105
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
106 ; (make-charset 'latin-iso8859-15
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
107 ; "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: 771
diff changeset
108 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
109 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
110 ; registry "ISO8859-15"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
111 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
112 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
113 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
114 ; final ?b
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
115 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
116 ; short-name "RHP of Latin-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
117 ; 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: 771
diff changeset
118 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
119
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
120 (make-charset 'latin-iso8859-14
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
121 "Right-Hand Part of Latin Alphabet 8 (ISO/IEC 8859-14)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
122 '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
123 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
124 registry "ISO8859-14"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
125 chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
126 columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
127 direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
128 final ?_
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
129 graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
130 short-name "RHP of Latin-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
131 long-name "RHP of Latin-8 (ISO 8859-14)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
132 ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
133
2575
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
134 (make-charset 'latin-iso8859-16
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
135 "Right-Hand Part of Latin Alphabet 10 (ISO/IEC 8859-16)"
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
136 '(dimension
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
137 1
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
138 registry "ISO8859-16"
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
139 chars 96
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
140 columns 1
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
141 direction l2r
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
142 final ?f ; octet 06/06; cf ISO-IR 226
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
143 graphic 1
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
144 short-name "RHP of Latin-10"
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
145 long-name "RHP of Latin-10 (ISO 8859-16)"
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
146 ))
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
147
2765
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
148 ;; Latin-1 is dealt with in iso8859-1.el, which see.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
149
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
150 ;; ISO 8859-14.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
151 ;;
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
152 ;; Initialise all characters to word syntax.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
153 (loop for c from #xa0 to #xff
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
154 do (modify-syntax-entry (make-char 'latin-iso8859-14 c) "w"))
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
155
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
156 ;; Now, the exceptions. There's just punctuation in this character set.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
157 (dolist (code '(#xa0 ;; NO BREAK SPACE
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
158 #xa3 ;; POUND SIGN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
159 #xa7 ;; SECTION SIGN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
160 #xa9 ;; COPYRIGHT
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
161 #xad ;; SOFT HYPHEN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
162 #xae ;; REGISTERED
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
163 #xb6)) ;; PILCROW SIGN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
164 (modify-syntax-entry (make-char 'latin-iso8859-14 code) "_"))
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
165 ;; end of ISO 8859-14.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
166
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
167 ;; ISO 8859-16.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
168 ;;
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
169 ;; Initialise all of iso-8859-16 to word syntax.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
170 (loop for c from #xa0 to #xff
2575
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
171 do (modify-syntax-entry (make-char 'latin-iso8859-16 c) "w"))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
172
2765
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
173 ;; And then do the exceptions. First, the punctuation (following the model
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
174 ;; of Latin-1):
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
175 (dolist (code '(#xa0 ;; NO BREAK SPACE
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
176 #xa4 ;; EURO SIGN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
177 #xa7 ;; SECTION SIGN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
178 #xa9 ;; COPYRIGHT
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
179 #xad ;; SOFT HYPHEN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
180 #xb0 ;; DEGREE
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
181 #xb1 ;; PLUS-MINUS SIGN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
182 #xb6 ;; PILCROW SIGN
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
183 #xb7)) ;; MIDDLE DOT
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
184 (modify-syntax-entry (make-char 'latin-iso8859-16 code) "_"))
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
185
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
186 ;; Mark the DOUBLE LOW-9 QUOTATION MARK and its closing character as
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
187 ;; quotation marks.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
188 (modify-syntax-entry (make-char 'latin-iso8859-16 #xa5) "\"")
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
189 (modify-syntax-entry (make-char 'latin-iso8859-16 #xb5) "\"")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190
2765
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
191 ;; For some crazy reason--well, in truth, probably because Jamie never used
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
192 ;; them in anger--the guillemets have open- and close-parenthesis syntax in
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
193 ;; Latin 1. We will probably change that in the future; for the moment, I'm
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
194 ;; preserving it.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
195 (modify-syntax-entry (make-char 'latin-iso8859-16 #xab)
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
196 (format "(%c" (make-char 'latin-iso8859-16 #xbb)))
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
197 (modify-syntax-entry (make-char 'latin-iso8859-16 #xbb)
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
198 (format ")%c" (make-char 'latin-iso8859-16 #xab)))
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
199
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
200 ;; end of ISO 8859-16.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201
2765
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
202 ;; ISO 8859-15.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
203 ;;
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
204 ;; Based on Latin-1 and differences therefrom.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
205 ;;
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
206 ;; First, initialise the syntax from the corresponding Latin-1 characters.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
207 (loop for c from #xa0 to #xff
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
208 do (modify-syntax-entry
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
209 (make-char 'latin-iso8859-15 c)
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
210 (string (char-syntax (make-char 'latin-iso8859-1 c)))))
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
211 ;; Now, the exceptions
728
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
212 (loop for c in '(?,b&(B ?,b((B ?,b4(B ?,b8(B ?,b<(B ?,b=(B ?,b>(B)
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
213 do (modify-syntax-entry c "w"))
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
214
2765
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
215 ;; Again, perpetuating insanity with the guillemets.
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
216 (modify-syntax-entry (make-char 'latin-iso8859-16 #xab)
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
217 (format "(%c" (make-char 'latin-iso8859-16 #xbb)))
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
218 (modify-syntax-entry (make-char 'latin-iso8859-16 #xbb)
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
219 (format ")%c" (make-char 'latin-iso8859-16 #xab)))
4ee3cf8de81d [xemacs-hg @ 2005-05-10 17:02:52 by aidan]
aidan
parents: 2576
diff changeset
220 ;; end of ISO 8859-15.
728
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
221
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
222 ;; For syntax of Latin-2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
223 (loop for c in '(?,B!(B ?,B#(B ?,B%(B ?,B&(B ?,B)(B ?,B*(B ?,B+(B ?,B,(B ?,B.(B ?,B/(B ?,B1(B ?,B3(B ?,B5(B ?,B6(B ?,B9(B ?,B:(B ?,B;(B ?,B<(B)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
224 do (modify-syntax-entry c "w"))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
225
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
226 (loop for c from 62 to 126
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
227 do (modify-syntax-entry (make-char 'latin-iso8859-2 c) "w"))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
228
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
229 (modify-syntax-entry (make-char 'latin-iso8859-2 32) "w") ; no-break space
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
230 (modify-syntax-entry ?,BW(B ".")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
231 (modify-syntax-entry ?,Bw(B ".")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
232
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
233 ;; For syntax of Latin-3
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
234 (loop for c in '(?,C!(B ?,C&(B ?,C)(B ?,C*(B ?,C+(B ?,C,(B ?,C/(B ?,C1(B ?,C5(B ?,C6(B ?,C:(B ?,C;(B ?,C<(B ?,C?(B)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
235 do (modify-syntax-entry c "w"))
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
236
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
237 (loop for c from 64 to 126
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
238 do (modify-syntax-entry (make-char 'latin-iso8859-3 c) "w"))
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
239
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
240 (modify-syntax-entry (make-char 'latin-iso8859-3 32) "w") ; no-break space
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
241 (modify-syntax-entry ?,CW(B ".")
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
242 (modify-syntax-entry ?,Cw(B ".")
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
243
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
244 ;; For syntax of Latin-4
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
245 (loop for c in '(?,D!(B ?,D"(B ?,D#(B ?,D%(B ?,D&(B ?,D)(B ?,D*(B ?,D+(B ?,D,(B ?,D.(B ?,D1(B ?,D3(B ?,D5(B ?,D6(B ?,D9(B ?,D:(B ?,D;(B ?,D<(B ?,D=(B ?,D>(B ?,D?(B)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
246 do (modify-syntax-entry c "w"))
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
247
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
248 (loop for c from 64 to 126
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
249 do (modify-syntax-entry (make-char 'latin-iso8859-4 c) "w"))
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
250
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
251 (modify-syntax-entry (make-char 'latin-iso8859-4 32) "w") ; no-break space
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
252 (modify-syntax-entry ?,DW(B ".")
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
253 (modify-syntax-entry ?,Dw(B ".")
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
254
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 428
diff changeset
255
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
256 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
257 ;;; EUROPEANS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
258 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
259
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
260
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
261 ;; Latin-1 (ISO-8859-1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
262
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
263 ;; (make-coding-system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
264 ;; 'iso-latin-1 2 ?1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
265 ;; "ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
266 ;; '(ascii latin-iso8859-1 nil nil
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
267 ;; nil nil nil nil nil nil nil nil nil nil nil nil t)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
268 ;; '((safe-charsets ascii latin-iso8859-1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
269 ;; (mime-charset . iso-8859-1)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
270
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
271 ;; (define-coding-system-alias 'iso-8859-1 'iso-latin-1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
272 ;; (define-coding-system-alias 'latin-1 'iso-latin-1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
273
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
274 ;; (make-coding-system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
275 ;; 'compound-text 2 ?1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
276 ;; "ISO 2022 based encoding used in inter client communication of X"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
277 ;; '((ascii t) (latin-iso8859-1 t) nil nil
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
278 ;; nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
279 ;; '((safe-charsets . t)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
280
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
281 ;; (define-coding-system-alias 'ctext 'compound-text)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
282
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
283 ;; "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
284
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
285
728
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
286 ;; Latin-9 (ISO-8859-15)
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
287 ;; Latin-1 plus Euro, plus a few accented characters
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
288
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
289 ;; (make-charset 'latin-iso8859-15
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
290 ;; "Latin-9, aka Latin-1 with Euro etc"
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
291 ;; '(short-name "Latin 9"
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
292 ;; long-name "Latin-9 (typically GR of ISO 8859/15)"
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
293 ;; registry "iso8859-15"
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
294 ;; dimension 1
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
295 ;; columns 1
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
296 ;; chars 96
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
297 ;; final ?b ; ISO-IR-203
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
298 ;; graphic 1
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
299 ;; direction l2r))
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
300
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
301 (make-coding-system
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
302 'iso-8859-15 'iso2022
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
303 "ISO 4873 conforming 8-bit code (ASCII + Latin 9; aka Latin-1 with Euro)"
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
304 `(mnemonic "MIME/Ltn-9" ; bletch
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
305 eol-type nil
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
306 charset-g0 ascii
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
307 charset-g1 latin-iso8859-15
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
308 charset-g2 t
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
309 charset-g3 t
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
310 ))
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
311
4d00488244c1 [xemacs-hg @ 2002-01-10 09:50:43 by stephent]
stephent
parents: 440
diff changeset
312
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
313 ;; Latin-2 (ISO-8859-2)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
314
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
315 ;; (make-coding-system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
316 ;; 'iso-latin-2 2 ?2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
317 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
318 ;; '(ascii latin-iso8859-2 nil nil
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
319 ;; nil nil nil nil nil nil nil)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
320 ;; '((safe-charsets ascii latin-iso8859-2)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
321 ;; (mime-charset . iso-8859-2)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
322
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
323 ;; (define-coding-system-alias 'iso-8859-2 'iso-latin-2)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
324 ;; (define-coding-system-alias 'latin-2 'iso-latin-2)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
325
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
326 (make-coding-system
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
327 'iso-8859-2 'iso2022 "ISO-8859-2 (Latin-2)"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
328 '(charset-g0 ascii
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
329 charset-g1 latin-iso8859-2
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
330 charset-g2 t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
331 charset-g3 t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
332 mnemonic "MIME/Ltn-2"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
333 ))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
334
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
335 (provide 'romanian)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
336
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
337 ;; Czech support originally from czech.el
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
338 ;; Author: Milan Zamazal <pdm@zamazal.org>
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
339 ;; Maintainer (FSF): Pavel Jan,Am(Bk <Pavel@Janik.cz>
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 771
diff changeset
340 ;; Maintainer (for XEmacs): David Sauer <davids@penguin.cz>
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
341
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
342 (provide 'czech)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
343
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
344 ;; Slovak support originally from slovak.el
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
345 ;; Authors: Tibor ,B)(Bimko <tibor.simko@fmph.uniba.sk>,
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
346 ;; Milan Zamazal <pdm@fi.muni.cz>
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
347 ;; Maintainer: Milan Zamazal <pdm@fi.muni.cz>
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
348
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
349 (provide 'slovenian)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
350
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
351
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
352 ;; Latin-3 (ISO-8859-3)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
353
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
354 ;; (make-coding-system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
355 ;; 'iso-latin-3 2 ?3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
356 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
357 ;; '(ascii latin-iso8859-3 nil nil
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
358 ;; nil nil nil nil nil nil nil)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
359 ;; '((safe-charsets ascii latin-iso8859-3)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
360 ;; (mime-charset . iso-8859-3)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
361
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
362 ;; (define-coding-system-alias 'iso-8859-3 'iso-latin-3)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
363 ;; (define-coding-system-alias 'latin-3 'iso-latin-3)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
364
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
365 (make-coding-system
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
366 'iso-8859-3 'iso2022 "ISO-8859-3 (Latin-3)"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
367 '(charset-g0 ascii
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
368 charset-g1 latin-iso8859-3
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
369 charset-g2 t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
370 charset-g3 t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
371 mnemonic "MIME/Ltn-3"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
372 ))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
373
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
374
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
375 ;; Latin-4 (ISO-8859-4)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
376
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
377 ;; (make-coding-system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
378 ;; 'iso-latin-4 2 ?4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
379 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
380 ;; '(ascii latin-iso8859-4 nil nil
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
381 ;; nil nil nil nil nil nil nil)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
382 ;; '((safe-charsets ascii latin-iso8859-4)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
383 ;; (mime-charset . iso-8895-4)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
384
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
385 ;; (define-coding-system-alias 'iso-8859-4 'iso-latin-4)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
386 ;; (define-coding-system-alias 'latin-4 'iso-latin-4)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
387
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
388 (make-coding-system
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
389 'iso-8859-4 'iso2022 "ISO-8859-4 (Latin-4)"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
390 '(charset-g0 ascii
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
391 charset-g1 latin-iso8859-4
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
392 charset-g2 t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
393 charset-g3 t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
394 mnemonic "MIME/Ltn-4"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
395 ))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
396
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
397
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
398 ;; Latin-5 (ISO-8859-9)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
399
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
400 ;; (make-coding-system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
401 ;; 'iso-latin-5 2 ?9
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
402 ;; "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
403 ;; '(ascii latin-iso8859-9 nil nil
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
404 ;; nil nil nil nil nil nil nil)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
405 ;; '((safe-charsets ascii latin-iso8859-9)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
406 ;; (mime-charset . iso-8859-9)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
407
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
408 ;; (define-coding-system-alias 'iso-8859-9 'iso-latin-5)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
409 ;; (define-coding-system-alias 'latin-5 'iso-latin-5)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
410
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
411 (make-coding-system
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
412 'iso-8859-9 'iso2022 "ISO-8859-9 (Latin-5)"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
413 '(charset-g0 ascii
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
414 charset-g1 latin-iso8859-9
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
415 charset-g2 t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
416 charset-g3 t
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
417 mnemonic "MIME/Ltn-5"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
418 ))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
419
2575
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
420 ;; Add a coding system for ISO 8859-16.
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
421 (make-coding-system
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
422 'iso-8859-16 'iso2022 "MIME ISO-8859-16"
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
423 '(charset-g0 ascii
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
424 charset-g1 latin-iso8859-16
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
425 charset-g2 t ; grrr
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
426 charset-g3 t ; grrr
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
427 mnemonic "MIME/Ltn-10"))
e71117a6ddac [xemacs-hg @ 2005-02-09 15:29:07 by aidan]
aidan
parents: 863
diff changeset
428
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
429 (loop for ((charset codesys default-input nice-charset-1 nice-charset-2
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
430 supported-langs ;; a list if the doc string is replaced
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
431 ;; entirely
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
432 )
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
433 langenvs) in
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
434 '(
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
435 ((latin-iso8859-1 iso-8859-1 "latin-1-prefix" "Latin-1" "ISO-8859-1"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
436 " Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
437 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
438 (("Danish" "da")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
439 ("Dutch" "nl" "TUTORIAL.nl")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
440 ("Faeroese")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
441 ("Finnish" "fi")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
442 ("French" "fr" "TUTORIAL.fr" "Bonjour, ,Ag(Ba va?")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
443 ("German" "de" "TUTORIAL.de" "\
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
444 German (Deutsch Nord) Guten Tag
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
445 German (Deutsch S,A|(Bd) Gr,A|_(B Gott"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
446 "german-postfix")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
447 ("Icelandic" "is")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
448 ("Irish" "ga")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
449 ("Italian" "it")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
450 ("Norwegian" "no" "TUTORIAL.no")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
451 ("Portuguese" "pt" nil "Bem-vindo! Tudo bem?")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
452 ("Spanish" "es" "TUTORIAL.es" ",A!(BHola!")
821
602aa4ed9900 [xemacs-hg @ 2002-04-30 12:45:55 by stephent]
stephent
parents: 778
diff changeset
453 ("Swedish" "sv" "TUTORIAL.se" "Hej!")))
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
454 ((latin-iso8859-15 iso-8859-15 "latin-1-prefix" ;; #### FIXME
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
455 "Latin-9" "ISO-8859-15"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
456 ("\
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
457 This language environment is a generic one for Latin-9 (ISO-8859-15)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
458 character set which supports the Euro sign and the following languages
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
459 (they use the Latin-1 character set by default):
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
460 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
461 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
462 Each also has its own specific language environment."))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
463 ())
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
464 ((latin-iso8859-2 iso-8859-2 "latin-2-prefix" "Latin-2" "ISO-8859-2"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
465 " Albanian, Czech, English, German, Hungarian, Polish, Romanian,
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
466 Serbian, Croatian, Slovak, Slovene, Sorbian (upper and lower),
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
467 and Swedish.")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
468 (("Albanian" nil)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
469 ("Croatian" ("hrvatski" "hr") "TUTORIAL.hr")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
470 ("Czech" ("cs" "cz") "TUTORIAL.cs" "P,Bx(Bejeme v,Ba(Bm hezk,B}(B den!"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
471 "latin-2-postfix")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
472 ("Hungarian" ("hungarian" "hu"))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
473 ("Polish" "po" "TUTORIAL.pl")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
474 ("Romanian" "ro" "TUTORIAL.ro" "Bun,Bc(B ziua, bine a,B~(Bi venit!"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
475 "latin-2-postfix")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
476 ("Serbian" "sr")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
477 ("Slovak" "sk" "TUTORIAL.sk" "Prajeme V,Ba(Bm pr,Bm(Bjemn,B}(B de,Br(B!"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
478 ;; !!#### FSF "slovak"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
479 "latin-2-postfix")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
480 ("Slovenian" "sl" "TUTORIAL.sl" ",B.(Belimo vam uspe,B9(Ben dan!"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
481 "latin-2-postfix")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
482 ("Sorbian" nil)))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
483 ((latin-iso8859-3 iso-8859-3 "latin-3-prefix" "Latin-3" "ISO-8859-3"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
484 " Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
485 German, Italian, Maltese, Spanish, and Turkish.")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
486 (("Afrikaans" "af")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
487 ("Catalan" ("catalan" "ca"))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
488 ("Esperanto")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
489 ("Galician")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
490 ("Maltese")))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
491 ((latin-iso8859-4 iso-8859-4 "latin-4-prefix" "Latin-4" "ISO-8859-4"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
492 " Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
493 Latvian, Lithuanian, and Norwegian.")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
494 (("Estonian" "et")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
495 ("Greenlandic")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
496 ("Lappish")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
497 ("Latvian" "lv")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
498 ("Lithuanian" "li")))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
499 ((latin-iso8859-5 iso-8859-9 "latin-5-prefix" "Latin-5" "ISO-8859-9")
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
500 (("Turkish" "tr"))))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
501 do
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
502 (set-language-info-alist
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
503 nice-charset-1
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
504 `((charset ascii ,charset)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
505 (coding-system ,codesys)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
506 (coding-priority ,codesys)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
507 (documentation . ,(if (listp supported-langs) (car supported-langs)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
508 (format "\
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
509 This language environment is a generic one for %s (%s)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
510 character set which supports the following languages (not all of them may
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
511 use this character set by default):
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
512 %s
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
513 Each also has its own specific language environment."
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
514 nice-charset-1 nice-charset-2
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
515 supported-langs))))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
516 '("European"))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
517 (loop for (name locale tutorial sample-text input-method) in langenvs
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
518 do
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
519 (set-language-info-alist
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
520 name
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
521 `((charset ascii ,charset)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
522 (coding-system ,codesys)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
523 (coding-priority ,codesys)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
524 ,@(if locale `((locale . ,locale)))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
525 ,@(if tutorial `((tutorial . ,tutorial)))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
526 ,@(if sample-text `((sample-text . ,sample-text)))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
527 (input-method . ,(or input-method default-input))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
528 (documentation . ,(format "\
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
529 This language environment supports %s using the Latin-1 (ISO-8859-1)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
530 character set. Languages supported by Latin-1 are Danish, Dutch, English,
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
531 Faeroese, Finnish, French, German, Icelandic, Irish, Italian, Norwegian,
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
532 Portuguese, Spanish, and Swedish. The various language environments for
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
533 these languages are similar to the Latin-1 environment, but typically have
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
534 their own locale specified (for subprocesses and for selection of the
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
535 correct language environment at startup), and may have their own tutorials
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
536 and/or a different input method."
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
537 name)))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
538 '("European"))
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 728
diff changeset
539 ))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
540
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
541 ;;; european.el ends here