Mercurial > emacs
annotate lisp/language/romanian.el @ 106717:15eb515afd85
* net/browse-url.el (browse-url-encode-url): Don't escape commas.
They are valid characters in URL paths (rfc3986), and at least
Firefox does not understand the encoded version (Bug#3166).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 02 Jan 2010 15:14:54 -0500 |
parents | a9dc0e7c3f2b |
children | 1d1d5d9bd884 |
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 |
100908 | 3 ;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
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 | |
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 | 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 | 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 | |
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 | 23 |
24 ;;; Commentary: | |
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 | 27 |
28 ;;; Code: | |
29 | |
30 (set-language-info-alist | |
89483 | 31 "Romanian" '((charset iso-8859-2) |
32 (coding-system iso-8859-2 iso-latin-10) | |
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 | 41 '("European")) |
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 | 47 :charset-list '(iso-8859-16) |
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 | 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 | 53 (provide 'romanian) |
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 |