Mercurial > emacs
annotate lisp/language/greek.el @ 82426:a86fcb95bff2
*** empty log message ***
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 17 Aug 2007 07:31:52 +0000 |
parents | 0938de05f510 |
children | b5d3fc1c4afe f55f9811f5d7 |
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 |
74605
6ee41fdd69ff
Update AIST copyright years.
Kenichi Handa <handa@m17n.org>
parents:
64085
diff
changeset
|
3 ;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
75364 | 4 ;; 2005, 2006, 2007 |
62396 | 5 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
6 ;; Registration Number H14PRO021 | |
17052 | 7 |
8 ;; Keywords: multilingual, Greek | |
9 | |
10 ;; This file is part of GNU Emacs. | |
11 | |
12 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
13 ;; it under the terms of the GNU General Public License as published by | |
78309
0938de05f510
Restore comma mistakenly removed in last change.
Glenn Morris <rgm@gnu.org>
parents:
78300
diff
changeset
|
14 ;; the Free Software Foundation; either version 3, or (at your option) |
17052 | 15 ;; any later version. |
16 | |
17 ;; GNU Emacs is distributed in the hope that it will be useful, | |
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 ;; GNU General Public License for more details. | |
21 | |
22 ;; You should have received a copy of the GNU General Public License | |
17071 | 23 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
64085 | 24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
25 ;; Boston, MA 02110-1301, USA. | |
17052 | 26 |
27 ;;; Commentary: | |
28 | |
29 ;; For Greek, the character set ISO8859-7 is supported. | |
30 | |
31 ;;; Code: | |
32 | |
33 (make-coding-system | |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
17993
diff
changeset
|
34 'greek-iso-8bit 2 ?7 |
42152 | 35 "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
|
36 '(ascii greek-iso8859-7 nil nil |
48388
2c86558e679d
(greek-iso-8bit): Make it safe.
Kenichi Handa <handa@m17n.org>
parents:
47726
diff
changeset
|
37 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
|
38 '((safe-charsets ascii greek-iso8859-7) |
d156e6f2513d
Adjusted for the change of
Kenichi Handa <handa@m17n.org>
parents:
20159
diff
changeset
|
39 (mime-charset . iso-8859-7))) |
17052 | 40 |
18520
383d11185239
Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents:
18377
diff
changeset
|
41 (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
|
42 |
17052 | 43 (set-language-info-alist |
22982
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22622
diff
changeset
|
44 "Greek" '((charset . (greek-iso8859-7)) |
18203
0745f30aec66
Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents:
17993
diff
changeset
|
45 (coding-system . (greek-iso-8bit)) |
22622 | 46 (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
|
47 (nonascii-translation . greek-iso8859-7) |
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22622
diff
changeset
|
48 (input-method . "greek") |
5fef9d1a7fc2
(setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents:
22622
diff
changeset
|
49 (unibyte-display . greek-iso-8bit) |
17841
084d922fcd78
Coding system names changed as follows:
Kenichi Handa <handa@m17n.org>
parents:
17772
diff
changeset
|
50 (documentation . t))) |
17052 | 51 |
33778 | 52 (provide 'greek) |
53 | |
52401 | 54 ;;; arch-tag: 9ba48d79-84bc-45e1-9318-685dc3921410 |
17052 | 55 ;;; greek.el ends here |