Mercurial > emacs
annotate lisp/language/romanian.el @ 89121:d7638593beca
Fix last change.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 24 Sep 2002 23:59:52 +0000 |
parents | 3f62ffb4894d |
children | a7bf29fe1e61 |
rev | line source |
---|---|
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
28906
diff
changeset
|
1 ;;; romanian.el --- support for Romanian -*- coding: iso-latin-2; -*- |
21540 | 2 |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
3 ;; Copyright (C) 1998, 2002 Free Software Foundation. |
21540 | 4 |
5 ;; Author: Dan Nicolaescu <done@ece.arizona.edu> | |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
6 ;; Keywords: multilingual, Romanian, i18n |
21540 | 7 |
8 ;; This file is part of GNU Emacs. | |
9 | |
10 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
11 ;; it under the terms of the GNU General Public License as published by | |
12 ;; the Free Software Foundation; either version 2, or (at your option) | |
13 ;; any later version. | |
14 | |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
23 ;; Boston, MA 02111-1307, USA. | |
24 | |
25 ;;; Commentary: | |
26 | |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
27 ;; Romanian ISO 8859-2 environment plus 8859-16 coding system. |
21540 | 28 |
29 ;;; Code: | |
30 | |
31 (set-language-info-alist | |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
21674
diff
changeset
|
32 "Romanian" '((charset . (ascii latin-iso8859-2)) |
88720
3f62ffb4894d
("Romanian"): Add iso-latin-10 coding
Dave Love <fx@gnu.org>
parents:
88583
diff
changeset
|
33 (coding-system . (iso-8859-2 iso-latin-10)) |
21662
95299ecbc8b3
Set t to `documentation' info for Romanian.
Kenichi Handa <handa@m17n.org>
parents:
21627
diff
changeset
|
34 (coding-priority . (iso-8859-2)) |
88435
72f73971423b
Set `iso-8859-2' for `nonascii-translation'.
Kenichi Handa <handa@m17n.org>
parents:
38436
diff
changeset
|
35 (nonascii-translation . iso-8859-2) |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
21674
diff
changeset
|
36 (input-method . "latin-2-postfix") |
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
21674
diff
changeset
|
37 (unibyte-syntax . "latin-2") |
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
21674
diff
changeset
|
38 (unibyte-display . iso-8859-2) |
23077
622e626ccb93
("Romanian"): Specify the tutorial file.
Richard M. Stallman <rms@gnu.org>
parents:
22982
diff
changeset
|
39 (tutorial . "TUTORIAL.ro") |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
21674
diff
changeset
|
40 (sample-text . "Bună ziua, bine ați venit!") |
88578
d029d4b20a15
(iso-latin-10): Add :mime-charset.
Dave Love <fx@gnu.org>
parents:
88567
diff
changeset
|
41 (documentation . "Rmoanian environment using Latin-2 encoding. |
d029d4b20a15
(iso-latin-10): Add :mime-charset.
Dave Love <fx@gnu.org>
parents:
88567
diff
changeset
|
42 An environment for generic Latin-10 encoding is also available.")) |
21540 | 43 '("European")) |
44 | |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
45 (define-coding-system 'iso-latin-10 |
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
46 "ISO 2022 based 8-bit encoding for Latin-10." |
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
47 :coding-type 'charset |
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
48 :mnemonic ?* |
88583 | 49 :charset-list '(iso-8859-16) |
50 :mime-charset 'iso-8859-16) | |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
51 |
88583 | 52 (define-coding-system-alias 'iso-8859-16 'iso-latin-10) |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
53 (define-coding-system-alias 'latin-10 'iso-latin-10) |
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
54 |
21540 | 55 (provide 'romanian) |
56 | |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
28906
diff
changeset
|
57 ;;; romanian.el ends here |