Merge from emacs-24; up to 2012-05-01T00:16:02Z!rgm@gnu.org
[bpt/emacs.git] / lisp / language / greek.el
CommitLineData
c052c904 1;;; greek.el --- support for Greek
4ed46869 2
62f5fe72 3;; Copyright (C) 2002 Free Software Foundation, Inc.
7976eda0 4;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
5df4f04c 5;; 2005, 2006, 2007, 2008, 2009, 2010, 2011
eaa61218
KH
6;; National Institute of Advanced Industrial Science and Technology (AIST)
7;; Registration Number H14PRO021
4ed46869 8
8f924df7
KH
9;; Copyright (C) 2003
10;; National Institute of Advanced Industrial Science and Technology (AIST)
11;; Registration Number H13PRO009
4ed46869
KH
12
13;; Keywords: multilingual, Greek
14
15;; This file is part of GNU Emacs.
16
4936186e 17;; GNU Emacs is free software: you can redistribute it and/or modify
4ed46869 18;; it under the terms of the GNU General Public License as published by
4936186e
GM
19;; the Free Software Foundation, either version 3 of the License, or
20;; (at your option) any later version.
4ed46869
KH
21
22;; GNU Emacs is distributed in the hope that it will be useful,
23;; but WITHOUT ANY WARRANTY; without even the implied warranty of
24;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25;; GNU General Public License for more details.
26
27;; You should have received a copy of the GNU General Public License
4936186e 28;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4ed46869
KH
29
30;;; Commentary:
31
32;; For Greek, the character set ISO8859-7 is supported.
33
34;;; Code:
35
e1915ab3
KH
36(define-coding-system 'greek-iso-8bit
37 "ISO 2022 based 8-bit encoding for Greek (MIME:ISO-8859-7)."
38 :coding-type 'charset
39 :mnemonic ?7
62c16ea2 40 :charset-list '(iso-8859-7)
d21363d3 41 :mime-charset 'iso-8859-7)
4ed46869 42
71eabd24 43(define-coding-system-alias 'iso-8859-7 'greek-iso-8bit)
4b9121fc 44
62f5fe72
DL
45(define-coding-system 'windows-1253
46 "windows-1253 encoding for Greek"
47 :coding-type 'charset
48 :mnemonic ?g
49 :charset-list '(windows-1253)
50 :mime-charset 'windows-1253)
51(define-coding-system-alias 'cp1253 'windows-1253)
52
69cf07bd
DL
53(define-coding-system 'cp737
54 "Codepage 737 (PC Greek)"
55 :coding-type 'charset
56 :mnemonic ?D
57 :charset-list '(cp737)
58 :mime-charset 'cp737)
59
8b565eb5
DL
60(define-coding-system 'cp851
61 "DOS codepage 851 (Greek)"
62 :coding-type 'charset
63 :mnemonic ?D
64 :charset-list '(cp851)
65 :mime-charset 'cp851)
66(define-coding-system-alias 'ibm851 'cp851)
67
68(define-coding-system 'cp869
69 "DOS codepage 869 (Greek)"
70 :coding-type 'charset
71 :mnemonic ?D
72 :charset-list '(cp869)
73 :mime-charset 'cp869)
74(define-coding-system-alias 'ibm869 'cp869)
75
4ed46869 76(set-language-info-alist
e1915ab3 77 "Greek" '((charset iso-8859-7)
8f924df7 78 (coding-system greek-iso-8bit windows-1253 cp851 cp869)
5f29fdb2 79 (coding-priority greek-iso-8bit)
e1915ab3 80 (nonascii-translation . iso-8859-7)
8f76845d 81 (input-method . "greek")
78eee0ed 82 (documentation . t)))
4ed46869 83
41da80b1
DL
84(provide 'greek)
85
4ed46869 86;;; greek.el ends here