annotate lisp/language/romanian.el @ 101966:43952e9a02cd

(fast_looking_at): New function.
author Kenichi Handa <handa@m17n.org>
date Thu, 12 Feb 2009 06:01:23 +0000
parents a9dc0e7c3f2b
children 1d1d5d9bd884
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
100908
a9dc0e7c3f2b Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 94665
diff changeset
3 ;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
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
94665
55b7f25d920a Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
21540
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
94665
55b7f25d920a Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
13 ;; the Free Software Foundation, either version 3 of the License, or
55b7f25d920a Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
14 ;; (at your option) any later version.
21540
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
94665
55b7f25d920a Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93975
diff changeset
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21540
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
23
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
24 ;;; Commentary:
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
25
88567
d67a992e35c6 (iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents: 88435
diff changeset
26 ;; Romanian ISO 8859-2 environment plus 8859-16 coding system.
21540
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
27
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
28 ;;; Code:
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 (set-language-info-alist
89483
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89154
diff changeset
31 "Romanian" '((charset iso-8859-2)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89154
diff changeset
32 (coding-system iso-8859-2 iso-latin-10)
2f877ed80fa6 *** empty log message ***
Kenichi Handa <handa@m17n.org>
parents: 88123 89154
diff changeset
33 (coding-priority iso-8859-2)
88435
72f73971423b Set `iso-8859-2' for `nonascii-translation'.
Kenichi Handa <handa@m17n.org>
parents: 38436
diff changeset
34 (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
35 (input-method . "latin-2-postfix")
5fef9d1a7fc2 (setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents: 21674
diff changeset
36 (unibyte-display . iso-8859-2)
23077
622e626ccb93 ("Romanian"): Specify the tutorial file.
Richard M. Stallman <rms@gnu.org>
parents: 22982
diff changeset
37 (tutorial . "TUTORIAL.ro")
22982
5fef9d1a7fc2 (setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents: 21674
diff changeset
38 (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
39 (documentation . "Rmoanian environment using Latin-2 encoding.
d029d4b20a15 (iso-latin-10): Add :mime-charset.
Dave Love <fx@gnu.org>
parents: 88567
diff changeset
40 An environment for generic Latin-10 encoding is also available."))
21540
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
41 '("European"))
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
42
88567
d67a992e35c6 (iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents: 88435
diff changeset
43 (define-coding-system 'iso-latin-10
d67a992e35c6 (iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents: 88435
diff changeset
44 "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
45 :coding-type 'charset
d67a992e35c6 (iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents: 88435
diff changeset
46 :mnemonic ?*
88583
516e1ece0477 (iso-latin-10): Fix typo.
Dave Love <fx@gnu.org>
parents: 88578
diff changeset
47 :charset-list '(iso-8859-16)
516e1ece0477 (iso-latin-10): Fix typo.
Dave Love <fx@gnu.org>
parents: 88578
diff changeset
48 :mime-charset 'iso-8859-16)
88567
d67a992e35c6 (iso-latin-10): New coding system.
Dave Love <fx@gnu.org>
parents: 88435
diff changeset
49
88583
516e1ece0477 (iso-latin-10): Fix typo.
Dave Love <fx@gnu.org>
parents: 88578
diff changeset
50 (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
51 (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
52
21540
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
53 (provide 'romanian)
4f0bd77325a2 Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
54
93975
1e3a407766b9 Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 91327
diff changeset
55 ;; 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
56 ;;; romanian.el ends here