Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-63
[bpt/emacs.git] / lisp / language / greek.el
1 ;;; greek.el --- support for Greek -*- no-byte-compile: t -*-
2
3 ;; Copyright (C) 2002 Free Software Foundation, Inc.
4 ;; Copyright (C) 1995
5 ;; National Institute of Advanced Industrial Science and Technology (AIST)
6 ;; Registration Number H14PRO021
7 ;; Copyright (C) 2003
8 ;; National Institute of Advanced Industrial Science and Technology (AIST)
9 ;; Registration Number H13PRO009
10
11 ;; Keywords: multilingual, Greek
12
13 ;; This file is part of GNU Emacs.
14
15 ;; GNU Emacs is free software; you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation; either version 2, or (at your option)
18 ;; any later version.
19
20 ;; GNU Emacs is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;; GNU General Public License for more details.
24
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs; see the file COPYING. If not, write to the
27 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
28 ;; Boston, MA 02111-1307, USA.
29
30 ;;; Commentary:
31
32 ;; For Greek, the character set ISO8859-7 is supported.
33
34 ;;; Code:
35
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
40 :charset-list '(iso-8859-7)
41 :mime-charset 'iso-8859-7)
42
43 (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit)
44
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
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
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
76 (set-language-info-alist
77 "Greek" '((charset iso-8859-7)
78 (coding-system greek-iso-8bit windows-1253 cp851 cp869)
79 (coding-priority greek-iso-8bit)
80 (nonascii-translation . iso-8859-7)
81 (input-method . "greek")
82 (documentation . t)))
83
84 (provide 'greek)
85
86 ;;; arch-tag: 9ba48d79-84bc-45e1-9318-685dc3921410
87 ;;; greek.el ends here