annotate lisp/language/european.el @ 27522:65d84be1e92d

(command-line): Use w32-tty-standard-colors when in w32 console mode.
author Jason Rumney <jasonr@gnu.org>
date Sun, 30 Jan 2000 19:02:51 +0000
parents 86441316f662
children 2dbedede8507
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23158
5c0a4ed13900 Add coding: local variable, to avoid bootstrapping problem
Paul Eggert <eggert@twinsun.com>
parents: 23117
diff changeset
1 ;;; european.el --- European languages -*- coding: iso-2022-7bit; -*-
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
18377
8b4a66c66dd6 Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18309
diff changeset
3 ;; Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN.
8b4a66c66dd6 Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18309
diff changeset
4 ;; Licensed to the Free Software Foundation.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 ;; Keywords: multilingual, European
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 ;; any later version.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
17071
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
23 ;; Boston, MA 02111-1307, USA.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 ;;; Commentary:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
27 ;; For Europeans, character sets ISO8859-1,2,3,4,9,14,15 are supported.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29 ;;; Code:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
31 ;; Latin-1 (ISO-8859-1)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
32
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
34 'iso-latin-1 2 ?1
23111
f72ce5154071 (iso-latin-1): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents: 23050
diff changeset
35 "ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
36 '(ascii latin-iso8859-1 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
37 nil nil nil nil nil nil nil nil nil nil nil nil t)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
38 '((safe-charsets ascii latin-iso8859-1)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
39 (mime-charset . iso-8859-1)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
40
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
41 (define-coding-system-alias 'iso-8859-1 'iso-latin-1)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
42 (define-coding-system-alias 'latin-1 'iso-latin-1)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
43
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
44 (make-coding-system
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
45 'compound-text 2 ?1
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
46 "ISO 2022 based encoding used in inter client communication of X"
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
47 '((ascii t) (latin-iso8859-1 t) nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
48 nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil nil t)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
49 '((safe-charsets . t)))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
50
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
51 (define-coding-system-alias 'ctext 'compound-text)
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
52
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
53 (defun setup-latin1-environment ()
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
54 "Set up multilingual environment (MULE) for European Latin-1 users."
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
55 (interactive)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
56 (set-language-environment "Latin-1"))
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
57
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
58 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
59 "Latin-1" '((charset ascii latin-iso8859-1)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
60 (coding-system iso-latin-1)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
61 (coding-priority iso-latin-1)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
62 (nonascii-translation . latin-iso8859-1)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
63 (unibyte-syntax . "latin-1")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
64 (unibyte-display . iso-latin-1)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
65 (input-method . "latin-1-prefix")
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
66 (sample-text
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
67 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
68 (documentation . "\
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
69 This language environment is a generic one for the Latin-1 (ISO-8859-1)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
70 character set which supports the following European languages:
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
71 Albanian, Basque, Breton, Catalan, Danish, Dutch, English, Faeroese,
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
72 Finnish, French (with restrictions -- see Latin-9), Frisian, Galician,
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
73 German, Greenlandic, Icelandic, Irish Gaelic (new orthography),
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
74 Italian, Latin, Luxemburgish, Norwegian, Portuguese, Rhaeto-Romanic,
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
75 Scottish Gaelic, Spanish, and Swedish.
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
76 We also have a German specific language environment \"German\".
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
77
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
78 Latin-1 also covers several written languages outside Europe, including
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
79 Indonesian/Malay, Tagalog (Philippines), Swahili and Afrikaans."))
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
80 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
81
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
82
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
83 ;; Latin-2 (ISO-8859-2)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
84
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
85 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
86 'iso-latin-2 2 ?2
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
87 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
88 '(ascii latin-iso8859-2 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
89 nil nil nil nil nil nil nil)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
90 '((safe-charsets ascii latin-iso8859-2)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
91 (mime-charset . iso-8859-2)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
92
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
93 (define-coding-system-alias 'iso-8859-2 'iso-latin-2)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
94 (define-coding-system-alias 'latin-2 'iso-latin-2)
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
95
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
96 (defun setup-latin2-environment ()
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
97 "Set up multilingual environment (MULE) for European Latin-2 users."
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
98 (interactive)
23111
f72ce5154071 (iso-latin-1): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents: 23050
diff changeset
99 (set-language-environment "Latin-2"))
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
100
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
101 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
102 "Latin-2" '((charset ascii latin-iso8859-2)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
103 (coding-system iso-latin-2)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
104 (coding-priority iso-latin-2)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
105 (nonascii-translation . latin-iso8859-2)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
106 (unibyte-syntax . "latin-2")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
107 (unibyte-display . iso-latin-2)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
108 (input-method . "latin-2-prefix")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
109 (documentation . "\
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
110 This language environment is a generic one for the Latin-2 (ISO-8859-2)
23117
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
111 character set which supports the following languages:
18117
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
112 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
20232
5031189adff2 Add "Upper Sorbian" and "Lower Sorbian" in
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
113 Serbo-Croatian or Croatian, Slovak, Slovene, Sorbian (upper and lower),
23117
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
114 and Swedish.
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
115 We also have specific language environments for the following languages:
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
116 For Czech, \"Czech\".
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
117 For Romanian, \"Romanian\".
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
118 For Slovak, \"Slovak\"."))
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
119 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
120
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
121
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
122 ;; Latin-3 (ISO-8859-3)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
123
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
124 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
125 'iso-latin-3 2 ?3
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
126 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
127 '(ascii latin-iso8859-3 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
128 nil nil nil nil nil nil nil)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
129 '((safe-charsets ascii latin-iso8859-3)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
130 (mime-charset . iso-8859-3)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
131
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
132 (define-coding-system-alias 'iso-8859-3 'iso-latin-3)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
133 (define-coding-system-alias 'latin-3 'iso-latin-3)
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
134
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
135 (defun setup-latin3-environment ()
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
136 "Set up multilingual environment (MULE) for European Latin-3 users."
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
137 (interactive)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
138 (set-language-environment "Latin-3"))
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
139
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
140 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
141 "Latin-3" '((charset ascii latin-iso8859-3)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
142 (coding-system iso-latin-3)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
143 (coding-priority iso-latin-3)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
144 (nonascii-translation . latin-iso8859-3)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
145 (unibyte-syntax . "latin-3")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
146 (unibyte-display . iso-latin-3)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
147 (input-method . "latin-3-prefix")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
148 (documentation . "\
18117
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
149 These languages are supported with the Latin-3 (ISO-8859-3) character set:
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
150 Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
151 German, Italian, Maltese, Spanish, and Turkish."))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
152 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
153
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
154
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
155 ;; Latin-4 (ISO-8859-4)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
156
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
157 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
158 'iso-latin-4 2 ?4
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
159 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
160 '(ascii latin-iso8859-4 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
161 nil nil nil nil nil nil nil)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
162 '((safe-charsets ascii latin-iso8859-4)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
163 (mime-charset . iso-8895-4)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
164
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
165 (define-coding-system-alias 'iso-8859-4 'iso-latin-4)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
166 (define-coding-system-alias 'latin-4 'iso-latin-4)
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
167
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
168 (defun setup-latin4-environment ()
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
169 "Set up multilingual environment (MULE) for European Latin-4 users."
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
170 (interactive)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
171 (set-language-environment "Latin-4"))
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
172
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
173 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
174 "Latin-4" '((charset ascii latin-iso8859-4)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
175 (coding-system iso-8859-4)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
176 (coding-priority iso-8859-4)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
177 (nonascii-translation . latin-iso8859-4)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
178 (unibyte-syntax . "latin-4")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
179 (unibyte-display . iso-8859-4)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
180 (input-method . "latin-4-prefix")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
181 (documentation . "\
18117
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
182 These languages are supported with the Latin-4 (ISO-8859-4) character set:
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
183 Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
184 Latvian, Lithuanian, and Norwegian."))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
185 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
186
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
187
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
188 ;; Latin-5 (ISO-8859-9)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
189
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
190 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
191 'iso-latin-5 2 ?9
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
192 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
193 '(ascii latin-iso8859-9 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
194 nil nil nil nil nil nil nil)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
195 '((safe-charsets ascii latin-iso8859-9)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
196 (mime-charset . iso-8859-9)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
197
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
198 (define-coding-system-alias 'iso-8859-9 'iso-latin-5)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
199 (define-coding-system-alias 'latin-5 'iso-latin-5)
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
200
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
201 (defun setup-latin5-environment ()
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
202 "Set up multilingual environment (MULE) for European Latin-5 users."
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
203 (interactive)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
204 (set-language-environment "Latin-5"))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
205
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
206 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
207 "Latin-5" '((charset ascii latin-iso8859-9)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
208 (coding-system iso-latin-5)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
209 (coding-priority iso-latin-5)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
210 (nonascii-translation . latin-iso8859-9)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
211 (unibyte-syntax . "latin-5")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
212 (unibyte-display . iso-latin-5)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
213 (input-method . "latin-5-prefix")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
214 (documentation . "\
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
215 These languages are supported with the Latin-5 (ISO-8859-9) character set:
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
216 Bulgarian, Byelorussian, (Slavic) Macedonian, Russian, Serbian and
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
217 Ukranian.")) ; says ISO 8859-1
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
218 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
219
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
220
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
221 ;; Latin-8 (ISO-8859-14)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
222
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
223 (make-coding-system
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
224 'iso-latin-8 2 ?W ; `W' for `Welsh', since `C'
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
225 ; for `Celtic' is taken.
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
226 "ISO 2022 based 8-bit encoding for Latin-8 (MIME:ISO-8859-14)"
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
227 '(ascii latin-iso8859-14 nil nil
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
228 nil nil nil nil nil nil nil nil nil nil nil nil t)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
229 '((safe-charsets ascii latin-iso8859-14)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
230 (mime-charset . iso-8859-14)))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
231
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
232 (define-coding-system-alias 'iso-8859-14 'iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
233 (define-coding-system-alias 'latin-8 'iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
234
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
235 (defun setup-latin8-environment ()
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
236 "Set up multilingual environment (MULE) for European Latin-8 users."
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
237 (interactive)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
238 (set-language-environment "latin-8"))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
239
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
240 (set-language-info-alist
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
241 "Latin-8" '((charset ascii latin-iso8859-14)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
242 (coding-system iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
243 (coding-priority iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
244 (nonascii-translation . latin-iso8859-14)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
245 (unibyte-syntax . "latin-8")
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
246 (unibyte-display . iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
247 (input-method . "latin-1-prefix") ; fixme
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
248 ;;; Fixme: Welsh/Ga{e}lic greetings
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
249 ;;; (sample-text
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
250 ;;; . "")
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
251 (documentation . "\
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
252 This language environment is a generic one for the Latin-8 (ISO-8859-14)
26134
86441316f662 Latin-8 doc fix.
Dave Love <fx@gnu.org>
parents: 26014
diff changeset
253 character set which supports the Celtic languages which are not covered
86441316f662 Latin-8 doc fix.
Dave Love <fx@gnu.org>
parents: 26014
diff changeset
254 by other ISO-8859 character sets, specifically Welsh, Manx Gaelic and
86441316f662 Latin-8 doc fix.
Dave Love <fx@gnu.org>
parents: 26014
diff changeset
255 Irish Gaelic (old orthography)."))
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
256 '("European"))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
257
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
258 ;; Latin-9 (ISO-8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
259
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
260 (make-coding-system
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
261 'iso-latin-9 2 ?0 ; `0' for `Latin-0'
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
262 "ISO 2022 based 8-bit encoding for Latin-9 (MIME:ISO-8859-15)"
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
263 '(ascii latin-iso8859-15 nil nil
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
264 nil nil nil nil nil nil nil nil nil nil nil nil t)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
265 '((safe-charsets ascii latin-iso8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
266 (mime-charset . iso-8859-15)))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
267
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
268 (define-coding-system-alias 'iso-8859-15 'iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
269 (define-coding-system-alias 'latin-9 'iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
270 (define-coding-system-alias 'latin-0 'iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
271
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
272 (defun setup-latin9-environment ()
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
273 "Set up multilingual environment (MULE) for European Latin-9 users."
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
274 (interactive)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
275 (set-language-environment "latin-9"))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
276
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
277 (set-language-info-alist
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
278 "Latin-9" '((charset ascii latin-iso8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
279 (coding-system iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
280 (coding-priority iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
281 (nonascii-translation . latin-iso8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
282 (unibyte-syntax . "latin-9")
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
283 (unibyte-display . iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
284 (input-method . "latin-1-prefix") ; fixme?
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
285 (sample-text
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
286 . "Ave Latinum IX, ,b&(48<=>(B ,b$$$(B")
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
287 (documentation . "\
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
288 This language environment is a generic one for the Latin-9 (ISO-8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
289 character set which supports the same languages as Latin-1 with the
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
290 addition of the Euro sign and some additional French and Finnish letters.
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
291 Latin-9 is sometimes nicknamed `Latin-0'."))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
292 '("European"))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
293
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
294 (defun setup-german-environment ()
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
295 "Set up multilingual environment (MULE) for German users."
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
296 (interactive)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
297 (set-language-environment "German"))
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
298
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
299 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
300 "German" '((tutorial . "TUTORIAL.de")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
301 (charset ascii latin-iso8859-1)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
302 (coding-system iso-latin-1)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
303 (coding-priority iso-latin-1)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
304 (input-method . "german-postfix")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
305 (nonascii-translation . iso-latin-1)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
306 (unibyte-syntax . "latin-1")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
307 (unibyte-display . iso-latin-1)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
308 (sample-text . "\
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
309 German (Deutsch Nord) Guten Tag
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
310 German (Deutsch S,A|(Bd) Gr,A|_(B Gott")
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
311 (documentation . "\
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
312 This language environment is almost the same as Latin-1,
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
313 but default input method is set to \"german-postfix\"."))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
314 '("European"))
17302
1012d679efd4 English related codes are moved to
Kenichi Handa <handa@m17n.org>
parents: 17098
diff changeset
315
24269
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
316 (defun setup-slovenian-environment ()
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
317 "Setup multilingual environment (MULE) for Slovenian."
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
318 (interactive)
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
319 (set-language-environment "Slovenian"))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
320
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
321 (set-language-info-alist
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
322 "Slovenian" '((charset . (ascii latin-iso8859-2))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
323 (coding-system . (iso-8859-2))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
324 (coding-priority . (iso-8859-2))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
325 (nonascii-translation . latin-iso8859-2)
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
326 (input-method . "latin-2-postfix")
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
327 (unibyte-syntax . "latin-2")
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
328 (unibyte-display . iso-8859-2)
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
329 (tutorial . "TUTORIAL.sl")
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
330 (sample-text . ",B.(Belimo vam uspe,B9(Ben dan!")
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
331 (documentation . t))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
332 '("European"))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
333
25773
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
334 ;; For Turkish, the character set ISO-8859-9 (Latin-5) is used. But,
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
335 ;; before the introduction of ISO-8859-9 in 1988, ISO-8859-3 (Latin-3)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
336 ;; was used for Turkish. Those who use Latin-3 for Turkish should use
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
337 ;; "Latin-3" language environment.
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
338
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
339 (set-language-info-alist
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
340 "Turkish" '((charset ascii latin-iso8859-9)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
341 (coding-system iso-latin-5)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
342 (coding-priority iso-latin-5)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
343 (nonascii-translation . latin-iso8859-9)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
344 (unibyte-syntax . "latin-5")
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
345 (unibyte-display . iso-latin-5)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
346 (input-method . "turkish-postfix")
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
347 (sample-text . "Turkish (T,M|(Brk,Mg(Be) Merhaba")
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
348 (documentation . t)))
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
349
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
350 ;;; european.el ends here