annotate lisp/language/romanian.el @ 94053:58a4ed015d25

Require 'cl when compiling.
author Andreas Schwab <schwab@suse.de>
date Sun, 13 Apr 2008 00:25:41 +0000
parents 1e3a407766b9
children 55b7f25d920a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
2
79711
b5d3fc1c4afe Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78236
diff changeset
3 ;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
74544
43cc94d955c2 Update copyright years.
Glenn Morris <rgm@gnu.org>
parents: 64085
diff changeset
4 ;; Free Software Foundation.
21540
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
5
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
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
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
8
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
9 ;; This file is part of GNU Emacs.
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
10
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
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
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
14 ;; any later version.
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
15
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
16 ;; GNU Emacs is distributed in the hope that it will be useful,
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
19 ;; GNU General Public License for more details.
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
20
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64085
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
24 ;; Boston, MA 02110-1301, USA.
21540
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
25
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
26 ;;; Commentary:
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
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
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
29
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
30 ;;; Code:
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
31
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
32 (set-language-info-alist
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89154
diff changeset
33 "Romanian" '((charset iso-8859-2)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89154
diff changeset
34 (coding-system iso-8859-2 iso-latin-10)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89154
diff changeset
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
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
43 '("European"))
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
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
516e1ece0477 (iso-latin-10): Fix typo.
Dave Love <fx@gnu.org>
parents: 88578
diff changeset
49 :charset-list '(iso-8859-16)
516e1ece0477 (iso-latin-10): Fix typo.
Dave Love <fx@gnu.org>
parents: 88578
diff changeset
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
516e1ece0477 (iso-latin-10): Fix typo.
Dave Love <fx@gnu.org>
parents: 88578
diff changeset
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
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
55 (provide 'romanian)
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
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