Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-69
[bpt/emacs.git] / lisp / language / greek.el
1 ;;; greek.el --- support for Greek -*- no-byte-compile: t -*-
2
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 2002 Free Software Foundation, Inc.
6 ;; Copyright (C) 2003
7 ;; National Institute of Advanced Industrial Science and Technology (AIST)
8 ;; Registration Number H13PRO009
9
10 ;; Keywords: multilingual, Greek
11
12 ;; This file is part of GNU Emacs.
13
14 ;; GNU Emacs is free software; you can redistribute it and/or modify
15 ;; it under the terms of the GNU General Public License as published by
16 ;; the Free Software Foundation; either version 2, or (at your option)
17 ;; any later version.
18
19 ;; GNU Emacs is distributed in the hope that it will be useful,
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ;; GNU General Public License for more details.
23
24 ;; You should have received a copy of the GNU General Public License
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
26 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
27 ;; Boston, MA 02111-1307, USA.
28
29 ;;; Commentary:
30
31 ;; For Greek, the character set ISO8859-7 is supported.
32
33 ;;; Code:
34
35 (define-coding-system 'greek-iso-8bit
36 "ISO 2022 based 8-bit encoding for Greek (MIME:ISO-8859-7)."
37 :coding-type 'charset
38 :mnemonic ?7
39 :charset-list '(iso-8859-7)
40 :mime-charset 'iso-8859-7)
41
42 (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit)
43
44 (define-coding-system 'windows-1253
45 "windows-1253 encoding for Greek"
46 :coding-type 'charset
47 :mnemonic ?g
48 :charset-list '(windows-1253)
49 :mime-charset 'windows-1253)
50 (define-coding-system-alias 'cp1253 'windows-1253)
51
52 (define-coding-system 'cp737
53 "Codepage 737 (PC Greek)"
54 :coding-type 'charset
55 :mnemonic ?D
56 :charset-list '(cp737)
57 :mime-charset 'cp737)
58
59 (define-coding-system 'cp851
60 "DOS codepage 851 (Greek)"
61 :coding-type 'charset
62 :mnemonic ?D
63 :charset-list '(cp851)
64 :mime-charset 'cp851)
65 (define-coding-system-alias 'ibm851 'cp851)
66
67 (define-coding-system 'cp869
68 "DOS codepage 869 (Greek)"
69 :coding-type 'charset
70 :mnemonic ?D
71 :charset-list '(cp869)
72 :mime-charset 'cp869)
73 (define-coding-system-alias 'ibm869 'cp869)
74
75 (set-language-info-alist
76 "Greek" '((charset iso-8859-7)
77 (coding-system greek-iso-8bit windows-1253 cp851 cp869)
78 (coding-priority greek-iso-8bit)
79 (nonascii-translation . iso-8859-7)
80 (input-method . "greek")
81 (documentation . t)))
82
83 (provide 'greek)
84
85 ;;; arch-tag: 9ba48d79-84bc-45e1-9318-685dc3921410
86 ;;; greek.el ends here