Mercurial > emacs
annotate lisp/language/romanian.el @ 94069:a91b57e652cd
(minibuffer-message): Put cursor at the right place.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 14 Apr 2008 03:39:31 +0000 |
parents | 1e3a407766b9 |
children | 55b7f25d920a |
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 |
79711 | 3 ;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
74544 | 4 ;; Free Software Foundation. |
21540 | 5 |
6 ;; Author: Dan Nicolaescu <done@ece.arizona.edu> | |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
7 ;; Keywords: multilingual, Romanian, i18n |
21540 | 8 |
9 ;; This file is part of GNU Emacs. | |
10 | |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 ;; it under the terms of the GNU General Public License as published by | |
78236
9355f9b7bbff
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75347
diff
changeset
|
13 ;; the Free Software Foundation; either version 3, or (at your option) |
21540 | 14 ;; any later version. |
15 | |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 ;; GNU General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
64085 | 23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 ;; Boston, MA 02110-1301, USA. | |
21540 | 25 |
26 ;;; Commentary: | |
27 | |
88567
d67a992e35c6
(iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents:
88435
diff
changeset
|
28 ;; Romanian ISO 8859-2 environment plus 8859-16 coding system. |
21540 | 29 |
30 ;;; Code: | |
31 | |
32 (set-language-info-alist | |
89483 | 33 "Romanian" '((charset iso-8859-2) |
34 (coding-system iso-8859-2 iso-latin-10) | |
35 (coding-priority iso-8859-2) | |
88435
72f73971423b
Set `iso-8859-2' for `nonascii-translation'.
Kenichi Handa <handa@m17n.org>
parents:
38436
diff
changeset
|
36 (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
|
37 (input-method . "latin-2-postfix") |
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 | |
93975
1e3a407766b9
Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
91327
diff
changeset
|
57 ;; arch-tag: a0bf93ee-2f02-4678-a477-c08acc35366b |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
28906
diff
changeset
|
58 ;;; romanian.el ends here |