Commit | Line | Data |
---|---|---|
0a10297a | 1 | ;;; greek.el --- support for Greek -*- no-byte-compile: t -*- |
4ed46869 | 2 | |
4ed46869 | 3 | ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. |
8f924df7 | 4 | ;; Licensed to the Free Software Foundation. |
62f5fe72 | 5 | ;; Copyright (C) 2002 Free Software Foundation, Inc. |
8f924df7 KH |
6 | ;; Copyright (C) 2003 |
7 | ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
8 | ;; Registration Number H13PRO009 | |
4ed46869 KH |
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 | |
369314dc KH |
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. | |
4ed46869 KH |
28 | |
29 | ;;; Commentary: | |
30 | ||
31 | ;; For Greek, the character set ISO8859-7 is supported. | |
32 | ||
33 | ;;; Code: | |
34 | ||
e1915ab3 KH |
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 | |
62c16ea2 | 39 | :charset-list '(iso-8859-7) |
d21363d3 | 40 | :mime-charset 'iso-8859-7) |
4ed46869 | 41 | |
71eabd24 | 42 | (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit) |
4b9121fc | 43 | |
62f5fe72 DL |
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 | ||
69cf07bd DL |
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 | ||
8b565eb5 DL |
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 | ||
4ed46869 | 75 | (set-language-info-alist |
e1915ab3 | 76 | "Greek" '((charset iso-8859-7) |
8f924df7 | 77 | (coding-system greek-iso-8bit windows-1253 cp851 cp869) |
5f29fdb2 | 78 | (coding-priority greek-iso-8bit) |
e1915ab3 | 79 | (nonascii-translation . iso-8859-7) |
8f76845d | 80 | (input-method . "greek") |
78eee0ed | 81 | (documentation . t))) |
4ed46869 | 82 | |
41da80b1 DL |
83 | (provide 'greek) |
84 | ||
6b61353c | 85 | ;;; arch-tag: 9ba48d79-84bc-45e1-9318-685dc3921410 |
4ed46869 | 86 | ;;; greek.el ends here |