Mercurial > emacs
annotate lisp/language/romanian.el @ 89713:dd442ee53657
(stretches-for-character-list): Delete it.
(list-block-of-chars): Use tabs instead of `display' property for
aligning characters.
(print-fontset-element): Fix the printing of XLFD.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 15 Jan 2004 23:03:32 +0000 |
parents | 2f877ed80fa6 |
children | 68c22ea6027c |
rev | line source |
---|---|
47726
33d53d287ee4
Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents:
38436
diff
changeset
|
1 ;;; romanian.el --- support for Romanian -*- coding: iso-latin-2; no-byte-compile: t -*- |
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 | |
89483 | 32 "Romanian" '((charset iso-8859-2) |
33 (coding-system iso-8859-2 iso-latin-10) | |
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-display . iso-8859-2) |
23077
622e626ccb93
("Romanian"): Specify the tutorial file.
Richard M. Stallman <rms@gnu.org>
parents:
22982
diff
changeset
|
38 (tutorial . "TUTORIAL.ro") |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
21674
diff
changeset
|
39 (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
|
40 (documentation . "Rmoanian environment using Latin-2 encoding. |
d029d4b20a15
(iso-latin-10): Add :mime-charset.
Dave Love <fx@gnu.org>
parents:
88567
diff
changeset
|
41 An environment for generic Latin-10 encoding is also available.")) |
21540 | 42 '("European")) |
43 | |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
44 (define-coding-system 'iso-latin-10 |
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
45 "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
|
46 :coding-type 'charset |
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
47 :mnemonic ?* |
88583 | 48 :charset-list '(iso-8859-16) |
49 :mime-charset 'iso-8859-16) | |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
50 |
88583 | 51 (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
|
52 (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
|
53 |
21540 | 54 (provide 'romanian) |
55 | |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
28906
diff
changeset
|
56 ;;; romanian.el ends here |