Mercurial > emacs
annotate lisp/language/greek.el @ 65794:3dea674724d0
yes
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 02 Oct 2005 17:44:18 +0000 |
parents | 18a818a2ee7c |
children | 6ee41fdd69ff f9a65d7ebd29 |
rev | line source |
---|---|
47726
33d53d287ee4
Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents:
42152
diff
changeset
|
1 ;;; greek.el --- support for Greek -*- no-byte-compile: t -*- |
17052 | 2 |
62396 | 3 ;; Copyright (C) 1995 |
4 ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
5 ;; Registration Number H14PRO021 | |
17052 | 6 |
7 ;; Keywords: multilingual, Greek | |
8 | |
9 ;; This file is part of GNU Emacs. | |
10 | |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 ;; it under the terms of the GNU General Public License as published by | |
13 ;; the Free Software Foundation; either version 2, or (at your option) | |
14 ;; any later version. | |
15 | |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 ;; GNU General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
17071 | 22 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
64085 | 23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 ;; Boston, MA 02110-1301, USA. | |
17052 | 25 |
26 ;;; Commentary: | |
27 | |
28 ;; For Greek, the character set ISO8859-7 is supported. | |
29 | |
30 ;;; Code: | |
31 | |
32 (make-coding-system | |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
17993
diff
changeset
|
33 'greek-iso-8bit 2 ?7 |
42152 | 34 "ISO 2022 based 8-bit encoding for Greek (MIME:ISO-8859-7)." |
20742
d156e6f2513d
Adjusted for the change of
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
35 '(ascii greek-iso8859-7 nil nil |
48388
2c86558e679d
(greek-iso-8bit): Make it safe.
Kenichi Handa <handa@m17n.org>
parents:
47726
diff
changeset
|
36 nil nil nil nil nil nil nil nil nil nil nil t) |
20742
d156e6f2513d
Adjusted for the change of
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
37 '((safe-charsets ascii greek-iso8859-7) |
d156e6f2513d
Adjusted for the change of
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
38 (mime-charset . iso-8859-7))) |
17052 | 39 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
40 (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit) |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
17993
diff
changeset
|
41 |
17052 | 42 (set-language-info-alist |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22622
diff
changeset
|
43 "Greek" '((charset . (greek-iso8859-7)) |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
17993
diff
changeset
|
44 (coding-system . (greek-iso-8bit)) |
22622 | 45 (coding-priority greek-iso-8bit) |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22622
diff
changeset
|
46 (nonascii-translation . greek-iso8859-7) |
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22622
diff
changeset
|
47 (input-method . "greek") |
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22622
diff
changeset
|
48 (unibyte-display . greek-iso-8bit) |
17841
084d922fcd78
Coding system names changed as follows:
Kenichi Handa <handa@m17n.org>
parents:
17772
diff
changeset
|
49 (documentation . t))) |
17052 | 50 |
33778 | 51 (provide 'greek) |
52 | |
52401 | 53 ;;; arch-tag: 9ba48d79-84bc-45e1-9318-685dc3921410 |
17052 | 54 ;;; greek.el ends here |