Commit | Line | Data |
---|---|---|
0a10297a | 1 | ;;; greek.el --- support for Greek -*- no-byte-compile: t -*- |
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, |
38141d20 | 5 | ;; 2005, 2006, 2007, 2008 |
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 | ||
17 | ;; GNU Emacs is free software; you can redistribute it and/or modify | |
18 | ;; it under the terms of the GNU General Public License as published by | |
d7142f3e | 19 | ;; the Free Software Foundation; either version 3, or (at your option) |
4ed46869 KH |
20 | ;; any later version. |
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 | |
369314dc | 28 | ;; along with GNU Emacs; see the file COPYING. If not, write to the |
3a35cf56 LK |
29 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
30 | ;; Boston, MA 02110-1301, USA. | |
4ed46869 KH |
31 | |
32 | ;;; Commentary: | |
33 | ||
34 | ;; For Greek, the character set ISO8859-7 is supported. | |
35 | ||
36 | ;;; Code: | |
37 | ||
e1915ab3 KH |
38 | (define-coding-system 'greek-iso-8bit |
39 | "ISO 2022 based 8-bit encoding for Greek (MIME:ISO-8859-7)." | |
40 | :coding-type 'charset | |
41 | :mnemonic ?7 | |
62c16ea2 | 42 | :charset-list '(iso-8859-7) |
d21363d3 | 43 | :mime-charset 'iso-8859-7) |
4ed46869 | 44 | |
71eabd24 | 45 | (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit) |
4b9121fc | 46 | |
62f5fe72 DL |
47 | (define-coding-system 'windows-1253 |
48 | "windows-1253 encoding for Greek" | |
49 | :coding-type 'charset | |
50 | :mnemonic ?g | |
51 | :charset-list '(windows-1253) | |
52 | :mime-charset 'windows-1253) | |
53 | (define-coding-system-alias 'cp1253 'windows-1253) | |
54 | ||
69cf07bd DL |
55 | (define-coding-system 'cp737 |
56 | "Codepage 737 (PC Greek)" | |
57 | :coding-type 'charset | |
58 | :mnemonic ?D | |
59 | :charset-list '(cp737) | |
60 | :mime-charset 'cp737) | |
61 | ||
8b565eb5 DL |
62 | (define-coding-system 'cp851 |
63 | "DOS codepage 851 (Greek)" | |
64 | :coding-type 'charset | |
65 | :mnemonic ?D | |
66 | :charset-list '(cp851) | |
67 | :mime-charset 'cp851) | |
68 | (define-coding-system-alias 'ibm851 'cp851) | |
69 | ||
70 | (define-coding-system 'cp869 | |
71 | "DOS codepage 869 (Greek)" | |
72 | :coding-type 'charset | |
73 | :mnemonic ?D | |
74 | :charset-list '(cp869) | |
75 | :mime-charset 'cp869) | |
76 | (define-coding-system-alias 'ibm869 'cp869) | |
77 | ||
4ed46869 | 78 | (set-language-info-alist |
e1915ab3 | 79 | "Greek" '((charset iso-8859-7) |
8f924df7 | 80 | (coding-system greek-iso-8bit windows-1253 cp851 cp869) |
5f29fdb2 | 81 | (coding-priority greek-iso-8bit) |
e1915ab3 | 82 | (nonascii-translation . iso-8859-7) |
8f76845d | 83 | (input-method . "greek") |
78eee0ed | 84 | (documentation . t))) |
4ed46869 | 85 | |
41da80b1 DL |
86 | (provide 'greek) |
87 | ||
cbee283d | 88 | ;; arch-tag: 9ba48d79-84bc-45e1-9318-685dc3921410 |
4ed46869 | 89 | ;;; greek.el ends here |