annotate lisp/mule/european.el @ 4301:ff02568fdb97

[xemacs-hg @ 2007-12-02 22:50:56 by viteno] Update xemacs_extra_name.
author viteno
date Sun, 02 Dec 2007 22:50:56 +0000
parents cef5f57bb9e2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4021
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
1 ;;; european.el --- European languages -*- coding: iso-2022-7bit; -*-
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
2
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
4 ;; Licensed to the Free Software Foundation.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
5 ;; Copyright (C) 1997 MORIOKA Tomohiko
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
6 ;; Copyright (C) 2001 Ben Wing.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
7 ;; Copyright (C) 2002, 2005, 2006 Free Software Foundation
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
8
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
9 ;; Keywords: multilingual, European
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
10
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
11 ;; This file is part of XEmacs.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
12
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
13 ;; XEmacs is free software; you can redistribute it and/or modify it
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
14 ;; under the terms of the GNU General Public License as published by
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
15 ;; the Free Software Foundation; either version 2, or (at your option)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
16 ;; any later version.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
17
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
18 ;; XEmacs is distributed in the hope that it will be useful, but
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
19 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
21 ;; General Public License for more details.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
22
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
23 ;; You should have received a copy of the GNU General Public License
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
24 ;; along with XEmacs; see the file COPYING. If not, write to the Free
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
25 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
26 ;; 02111-1307, USA.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
27
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
28 ;;; Commentary:
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
29
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
30 ;; For Roman-alphabet-using Europeans, eight coded character sets,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
31 ;; ISO8859-1,2,3,4,9,14,15,16 are supported.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
32
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
33
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
34
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
35 ;; Latin-1's case is dealt with in iso8859-1.el, which see. Its syntax is
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
36 ;; initialised in syntax.c:complex_vars_of_syntax.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
37
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
38
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
39 ;; Latin-2 (ISO-8859-2). Central Europe; Czech, Slovak, Hungarian, Polish,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
40 ;; Croatian, other languages.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
41 ;;
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
42 ;; (Yes, it really is Central European. German written in Latin 2 and using
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
43 ;; only Umlaute and the sharp S in its non-ASCII repertoire is bit-for-bit
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
44 ;; identical with the same text in Latin-1.)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
45
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
46 (make-coding-system
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
47 'iso-8859-2 'iso2022 "ISO-8859-2 (Latin-2)"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
48 '(charset-g0 ascii
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
49 charset-g1 latin-iso8859-2
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
50 charset-g2 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
51 charset-g3 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
52 mnemonic "MIME/Ltn-2"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
53
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
54 ;; The default character syntax is now word. Pay attention to the
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
55 ;; exceptions in ISO-8859-2, copying them from ISO-8859-1.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
56 (loop
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
57 for (latin-2 latin-1)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
58 in '((#xA0 #xA0) ;; NO BREAK SPACE
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
59 (#xA2 #xB4) ;; BREVE, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
60 (#xA4 #xA4) ;; CURRENCY SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
61 (#xA7 #xA7) ;; SECTION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
62 (#xA8 #xA8) ;; DIAERESIS
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
63 (#xAD #xAD) ;; SOFT HYPHEN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
64 (#xB0 #xB0) ;; DEGREE SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
65 (#xB2 #xB4) ;; OGONEK, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
66 (#xB4 #xB4) ;; ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
67 (#xB7 #xB4) ;; CARON, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
68 (#xB8 #xB8) ;; CEDILLA
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
69 (#xBD #xB4) ;; DOUBLE ACUTE ACCENT, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
70 (#xD7 #xD7) ;; MULTIPLICATION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
71 (#xF7 #xF7) ;; DIVISION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
72 (#xFF #xB4)) ;; DOT ABOVE, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
73 with syntax-table = (standard-syntax-table)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
74 do (modify-syntax-entry
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
75 (make-char 'latin-iso8859-2 latin-2)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
76 (string (char-syntax (make-char 'latin-iso8859-1 latin-1)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
77 syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
78
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
79 ;;
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
80 ;; Latin-3 (ISO-8859-3). Esperanto, Maltese and Turkish. Obsolescent.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
81
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
82 (make-coding-system
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
83 'iso-8859-3 'iso2022 "ISO-8859-3 (Latin-3)"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
84 '(charset-g0 ascii
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
85 charset-g1 latin-iso8859-3
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
86 charset-g2 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
87 charset-g3 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
88 mnemonic "MIME/Ltn-3"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
89
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
90 ;; Initialise the non-word syntax codes in ISO-8859-3, copying them from
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
91 ;; ISO-8859-1.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
92 (loop
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
93 for (latin-3 latin-1)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
94 in '((#xA0 #xA0) ;; NO BREAK SPACE
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
95 (#xA2 #xB4) ;; BREVE, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
96 (#xA3 #xA3) ;; POUND SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
97 (#xA4 #xA4) ;; CURRENCY SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
98 (#xA7 #xA7) ;; SECTION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
99 (#xA8 #xA8) ;; DIAERESIS
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
100 (#xAD #xAD) ;; SOFT HYPHEN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
101 (#xB0 #xB0) ;; DEGREE SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
102 (#xB2 #xB2) ;; SUPERSCRIPT TWO
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
103 (#xB3 #xB3) ;; SUPERSCRIPT THREE
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
104 (#xB4 #xB4) ;; ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
105 (#xB5 #xB5) ;; MICRO SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
106 (#xB7 #xB7) ;; MIDDLE DOT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
107 (#xB8 #xB8) ;; CEDILLA
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
108 (#xBD #xBD) ;; VULGAR FRACTION ONE HALF
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
109 (#xD7 #xD7) ;; MULTIPLICATION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
110 (#xF7 #xF7) ;; DIVISION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
111 (#xFF #xB4)) ;; DOT ABOVE, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
112 with syntax-table = (standard-syntax-table)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
113 do (modify-syntax-entry
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
114 (make-char 'latin-iso8859-3 latin-3)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
115 (string (char-syntax (make-char 'latin-iso8859-1 latin-1)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
116 syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
117
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
118 ;; Latin-4 (ISO-8859-4)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
119
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
120 ;; Estonian, Latvian, Lithuanian, Greenlandic, and Sami. Obsolescent.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
121
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
122 (make-coding-system
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
123 'iso-8859-4 'iso2022 "ISO-8859-4 (Latin-4)"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
124 '(charset-g0 ascii
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
125 charset-g1 latin-iso8859-4
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
126 charset-g2 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
127 charset-g3 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
128 mnemonic "MIME/Ltn-4"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
129
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
130 ;; The default character syntax is now word. Pay attention to the
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
131 ;; exceptions in ISO-8859-4, copying them from ISO-8859-1.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
132 (loop
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
133 for (latin-4 latin-1)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
134 in '((#xA0 #xA0) ;; NO BREAK SPACE
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
135 (#xA4 #xA4) ;; CURRENCY SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
136 (#xA7 #xA7) ;; SECTION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
137 (#xA8 #xA8) ;; DIAERESIS
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
138 (#xAD #xAD) ;; SOFT HYPHEN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
139 (#xB0 #xB0) ;; DEGREE SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
140 (#xB2 #xB4) ;; OGONEK, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
141 (#xB4 #xB4) ;; ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
142 (#xB7 #xB4) ;; CARON, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
143 (#xB8 #xB8) ;; CEDILLA
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
144 (#xD7 #xD7) ;; MULTIPLICATION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
145 (#xF7 #xF7) ;; DIVISION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
146 (#xFF #xB4)) ;; DOT ABOVE, ACUTE ACCENT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
147 with syntax-table = (standard-syntax-table)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
148 do (modify-syntax-entry
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
149 (make-char 'latin-iso8859-4 latin-4)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
150 (string (char-syntax (make-char 'latin-iso8859-1 latin-1)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
151 syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
152
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
153
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
154 ;; Latin-8 (ISO 8859-14) Celtic.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
155
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
156 ;; Never widely used. Current-orthography Gaelic, both Irish and Scots, is
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
157 ;; easily written with Latin-1. Wikipedia says the same about Welsh.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
158
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
159 (make-charset 'latin-iso8859-14
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
160 "Right-Hand Part of Latin Alphabet 8 (ISO/IEC 8859-14)"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
161 '(dimension 1
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
162 registries ["ISO8859-14"]
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
163 chars 96
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
164 columns 1
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
165 direction l2r
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
166 final ?_
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
167 graphic 1
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
168 short-name "RHP of Latin-8"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
169 long-name "RHP of Latin-8 (ISO 8859-14)"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
170
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
171 ;;
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
172 ;; Character syntax defaults to word. The exceptions here shared with Latin-1.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
173 (dolist (code '(#xa0 ;; NO BREAK SPACE
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
174 #xa3 ;; POUND SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
175 #xa7 ;; SECTION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
176 #xa9 ;; COPYRIGHT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
177 #xad ;; SOFT HYPHEN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
178 #xae ;; REGISTERED
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
179 #xb6)) ;; PILCROW SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
180 (modify-syntax-entry (make-char 'latin-iso8859-14 code)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
181 (string (char-syntax (make-char 'latin-iso8859-1 code)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
182 (standard-syntax-table)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
183
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
184
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
185 ;; The syntax table code for ISO 8859-15 and ISO 8859-16 requires that the
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
186 ;; guillemets not have parenthesis syntax, which they used to have in the
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
187 ;; past. See syntax.c:complex_vars_of_syntax.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
188
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
189 (assert (not (memq (char-syntax (make-char 'latin-iso8859-1 #xAB)) '(?\( ?\))))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
190 t "This code assumes \xAB does not have parenthesis syntax. ")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
191
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
192 (assert (not (memq (char-syntax (make-char 'latin-iso8859-1 #xBB)) '(?\( ?\))))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
193 t "This code assumes \xBB does not have parenthesis syntax. ")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
194
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
195
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
196 ;; Latin-9 (ISO-8859-15)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
197 ;;
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
198 ;; Latin-1 plus Euro, plus a few accented characters for the sake of correct
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
199 ;; Finnish and French orthography. Only ever widely used on Unix.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
200 ;;
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
201 ;; Based on Latin-1 and differences therefrom.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
202 ;;
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
203 ;; First, initialise the syntax from the corresponding Latin-1 characters.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
204 (loop
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
205 for c from #xa0 to #xff
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
206 with syntax-table = (standard-syntax-table)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
207 do (modify-syntax-entry (make-char 'latin-iso8859-15 c)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
208 (string (char-syntax (make-char 'latin-iso8859-1 c)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
209 syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
210
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
211 ;; Now, the exceptions. The Euro sign retains the syntax of CURRENCY SIGN.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
212 (loop
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
213 for c in '(?,b&(B ?,b((B ?,b4(B ?,b8(B ?,b<(B ?,b=(B ?,b>(B)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
214 with syntax-table = (standard-syntax-table)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
215 do (modify-syntax-entry c "w" syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
216
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
217 (make-coding-system
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
218 'iso-8859-15 'iso2022
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
219 "ISO 4873 conforming 8-bit code (ASCII + Latin 9; aka Latin-1 with Euro)"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
220 `(mnemonic "MIME/Ltn-9" ; bletch
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
221 eol-type nil
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
222 charset-g0 ascii
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
223 charset-g1 latin-iso8859-15
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
224 charset-g2 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
225 charset-g3 t))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
226 ;; end of ISO 8859-15.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
227
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
228 ;;
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
229 ;; Latin-10 (ISO 8859-16).
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
230 ;;
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
231 ;; "South-Eastern European." Not, to my knowledge, ever widely used.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
232
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
233 (make-charset 'latin-iso8859-16
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
234 "Right-Hand Part of Latin Alphabet 10 (ISO/IEC 8859-16)"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
235 '(dimension 1
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
236 registries ["ISO8859-16"]
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
237 chars 96
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
238 columns 1
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
239 direction l2r
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
240 final ?f ; octet 06/06; cf ISO-IR 226
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
241 graphic 1
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
242 short-name "RHP of Latin-10"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
243 long-name "RHP of Latin-10 (ISO 8859-16)"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
244
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
245 ;; Copy over the non-word syntax this charset has in common with Latin 1.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
246 (dolist (code '(#xa0 ;; NO BREAK SPACE
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
247 #xa7 ;; SECTION SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
248 #xa9 ;; COPYRIGHT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
249 #xab ;; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
250 #xad ;; SOFT HYPHEN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
251 #xb0 ;; DEGREE
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
252 #xb1 ;; PLUS-MINUS SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
253 #xb6 ;; PILCROW SIGN
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
254 #xb7 ;; MIDDLE DOT
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
255 #xbb)) ;; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
256 (modify-syntax-entry (make-char 'latin-iso8859-16 code)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
257 (string (char-syntax (make-char 'latin-iso8859-1 code)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
258 (standard-syntax-table)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
259
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
260 ;; EURO SIGN. Take its syntax from the pound sign.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
261 (modify-syntax-entry (make-char 'latin-iso8859-16 #xa4)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
262 (string (char-syntax (make-char 'latin-iso8859-1 #xa3)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
263 (standard-syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
264
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
265 ;; Take DOUBLE LOW-9 QUOTATION MARK's syntax from that of LEFT-POINTING
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
266 ;; DOUBLE ANGLE QUOTATION MARK.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
267 (modify-syntax-entry (make-char 'latin-iso8859-16 #xa5)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
268 (string (char-syntax (make-char 'latin-iso8859-1 #xab)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
269 (standard-syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
270
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
271 ;; Take RIGHT DOUBLE QUOTATION MARK's syntax from that of RIGHT-POINTING
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
272 ;; DOUBLE ANGLE QUOTATION MARK.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
273 (modify-syntax-entry (make-char 'latin-iso8859-16 #xb5)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
274 (string (char-syntax (make-char 'latin-iso8859-1 #xbb)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
275 (standard-syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
276
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
277 ;; Add a coding system for ISO 8859-16.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
278 (make-coding-system
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
279 'iso-8859-16 'iso2022 "MIME ISO-8859-16"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
280 '(charset-g0 ascii
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
281 charset-g1 latin-iso8859-16
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
282 charset-g2 t ; grrr
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
283 charset-g3 t ; grrr
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
284 mnemonic "MIME/Ltn-10"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
285
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
286 ;; end of ISO 8859-16.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
287
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
288
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
289 (provide 'romanian)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
290
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
291 ;; Czech support originally from czech.el
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
292 ;; Author: Milan Zamazal <pdm@zamazal.org>
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
293 ;; Maintainer (FSF): Pavel Jan,Am(Bk <Pavel@Janik.cz>
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
294 ;; Maintainer (for XEmacs): David Sauer <davids@penguin.cz>
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
295
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
296 (provide 'czech)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
297
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
298 ;; Slovak support originally from slovak.el
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
299 ;; Authors: Tibor ,B)(Bimko <tibor.simko@fmph.uniba.sk>,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
300 ;; Milan Zamazal <pdm@fi.muni.cz>
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
301 ;; Maintainer: Milan Zamazal <pdm@fi.muni.cz>
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
302
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
303 (provide 'slovenian)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
304
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
305 ;; Latin-5 (ISO-8859-9)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
306
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
307 ;; Turkish (more generally Turkic.) This is identical to Latin-1, with the
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
308 ;; exception that the Icelandic-specific letters have been replaced by
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
309 ;; Turkish-specific letters. As such, we can simply copy the Latin-1 syntax
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
310 ;; table. However, the case table isn't yet enabled--see latin.el.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
311
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
312 (loop
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
313 for i from #xA0 to #xFF
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
314 with syntax-table = (standard-syntax-table)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
315 do (modify-syntax-entry
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
316 (make-char 'latin-iso8859-9 i)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
317 (string (char-syntax (make-char 'latin-iso8859-1 i)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
318 syntax-table))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
319
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
320 (make-coding-system
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
321 'iso-8859-9 'iso2022 "ISO-8859-9 (Latin-5)"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
322 '(charset-g0 ascii
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
323 charset-g1 latin-iso8859-9
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
324 charset-g2 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
325 charset-g3 t
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
326 mnemonic "MIME/Ltn-5"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
327
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
328 (loop
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
329 for ((charset codesys default-input nice-charset-1 nice-charset-2
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
330 ;; supported-langs is a list if the doc string is replaced
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
331 ;; entirely
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
332 supported-langs)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
333 langenvs) in
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
334 '(((latin-iso8859-1 iso-8859-1 "latin-1-prefix" "Latin-1" "ISO-8859-1"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
335 " Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
336 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
337 (("Danish" "da")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
338 ("Dutch" "nl" "TUTORIAL.nl")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
339 ("Faeroese")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
340 ("Finnish" "fi")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
341 ("French" "fr" "TUTORIAL.fr" "Bonjour, ,Ag(Ba va?")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
342 ("German" "de" "TUTORIAL.de" "\
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
343 German (Deutsch Nord) Guten Tag
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
344 German (Deutsch S,A|(Bd) Gr,A|_(B Gott"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
345 "german-postfix")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
346 ("Icelandic" "is")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
347 ("Irish" "ga")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
348 ("Italian" "it")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
349 ("Norwegian" "no" "TUTORIAL.no")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
350 ("Portuguese" "pt" nil "Bem-vindo! Tudo bem?")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
351 ("Spanish" "es" "TUTORIAL.es" ",A!(BHola!")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
352 ("Swedish" "sv" "TUTORIAL.se" "Hej!")))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
353 ((latin-iso8859-15 iso-8859-15 "latin-1-prefix" ;; #### FIXME
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
354 "Latin-9" "ISO-8859-15"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
355 ("\
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
356 This language environment is a generic one for Latin-9 (ISO-8859-15)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
357 character set which supports the Euro sign and the following languages
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
358 (they use the Latin-1 character set by default):
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
359 Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
360 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
361 Each also has its own specific language environment."))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
362 ())
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
363 ((latin-iso8859-2 iso-8859-2 "latin-2-prefix" "Latin-2" "ISO-8859-2"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
364 " Albanian, Czech, English, German, Hungarian, Polish, Romanian,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
365 Serbian, Croatian, Slovak, Slovene, Sorbian (upper and lower),
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
366 and Swedish.") ;; " (fontification got screwed up, CVS-20061203)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
367 (("Albanian" nil)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
368 ("Croatian" ("hrvatski" "hr") "TUTORIAL.hr")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
369 ("Czech" ("cs" "cz") "TUTORIAL.cs" "P,Bx(Bejeme v,Ba(Bm hezk,B}(B den!"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
370 "latin-2-postfix")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
371 ("Hungarian" ("hungarian" "hu"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
372 ("Polish" "po" "TUTORIAL.pl")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
373 ("Romanian" "ro" "TUTORIAL.ro" "Bun,Bc(B ziua, bine a,B~(Bi venit!"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
374 "latin-2-postfix")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
375 ("Serbian" "sr")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
376 ("Slovak" "sk" "TUTORIAL.sk" "Prajeme V,Ba(Bm pr,Bm(Bjemn,B}(B de,Br(B!"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
377 ;; !!#### FSF "slovak"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
378 "latin-2-postfix")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
379 ("Slovenian" "sl" "TUTORIAL.sl" ",B.(Belimo vam uspe,B9(Ben dan!"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
380 "latin-2-postfix")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
381 ("Sorbian" nil)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
382 ((latin-iso8859-3 iso-8859-3 "latin-3-prefix" "Latin-3" "ISO-8859-3"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
383 " Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
384 German, Italian, Maltese, Spanish, and Turkish.")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
385 (("Afrikaans" "af")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
386 ("Catalan" ("catalan" "ca"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
387 ("Esperanto")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
388 ("Galician")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
389 ("Maltese")))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
390 ((latin-iso8859-4 iso-8859-4 "latin-4-prefix" "Latin-4" "ISO-8859-4"
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
391 " Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
392 Latvian, Lithuanian, and Norwegian.")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
393 (("Estonian" "et")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
394 ("Greenlandic")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
395 ("Lappish")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
396 ("Latvian" "lv")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
397 ("Lithuanian" "li")))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
398 ((latin-iso8859-5 iso-8859-9 "latin-5-prefix" "Latin-5" "ISO-8859-9")
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
399 (("Turkish" "tr"))))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
400 do
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
401 (set-language-info-alist
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
402 nice-charset-1
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
403 `((charset ascii ,charset)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
404 (coding-system ,codesys)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
405 (coding-priority ,codesys)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
406 (documentation . ,(if (listp supported-langs) (car supported-langs)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
407 (format "\
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
408 This language environment is a generic one for %s (%s)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
409 character set which supports the following languages (not all of them may
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
410 use this character set by default):
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
411 %s
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
412 Each also has its own specific language environment."
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
413 nice-charset-1 nice-charset-2
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
414 supported-langs))))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
415 '("European"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
416 (loop for (name locale tutorial sample-text input-method) in langenvs
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
417 do
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
418 (set-language-info-alist
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
419 name
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
420 `((charset ascii ,charset)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
421 (coding-system ,codesys)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
422 (coding-priority ,codesys)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
423 ,@(if locale `((locale . ,locale)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
424 ,@(if tutorial `((tutorial . ,tutorial)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
425 ,@(if sample-text `((sample-text . ,sample-text)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
426 (input-method . ,(or input-method default-input))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
427 (documentation . ,(format "\
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
428 This language environment supports %s using the Latin-1 (ISO-8859-1)
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
429 character set. Languages supported by Latin-1 are Danish, Dutch, English,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
430 Faeroese, Finnish, French, German, Icelandic, Irish, Italian, Norwegian,
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
431 Portuguese, Spanish, and Swedish. The various language environments for
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
432 these languages are similar to the Latin-1 environment, but typically have
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
433 their own locale specified (for subprocesses and for selection of the
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
434 correct language environment at startup), and may have their own tutorials
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
435 and/or a different input method."
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
436 name)))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
437 '("European"))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
438 ))
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
439
cef5f57bb9e2 [xemacs-hg @ 2007-06-21 13:39:08 by aidan]
aidan
parents:
diff changeset
440 ;;; european.el ends here