Mercurial > emacs
annotate lisp/language/ethiopic.el @ 74597:ee63ac76eb51
(unread-command-char): Reflow obsolescence info.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 11 Dec 2006 16:14:15 +0000 |
parents | 43cc94d955c2 |
children | 6ee41fdd69ff |
rev | line source |
---|---|
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
36429
diff
changeset
|
1 ;;; ethiopic.el --- support for Ethiopic -*- coding: iso-2022-7bit; -*- |
17052 | 2 |
74544 | 3 ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006 |
4 ;; Free Software Foundation, Inc. | |
5 ;; Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005, 2006 | |
62396 | 6 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
7 ;; Registration Number H14PRO021 | |
17052 | 8 |
9 ;; Keywords: multilingual, Ethiopic | |
10 | |
11 ;; This file is part of GNU Emacs. | |
12 | |
13 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
14 ;; it under the terms of the GNU General Public License as published by | |
15 ;; the Free Software Foundation; either version 2, or (at your option) | |
16 ;; any later version. | |
17 | |
18 ;; GNU Emacs is distributed in the hope that it will be useful, | |
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
21 ;; GNU General Public License for more details. | |
22 | |
23 ;; You should have received a copy of the GNU General Public License | |
17314
f438ebf1c679
Fix FSF address in comment.
Kenichi Handa <handa@m17n.org>
parents:
17299
diff
changeset
|
24 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
64085 | 25 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
26 ;; Boston, MA 02110-1301, USA. | |
17299 | 27 |
36429
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
28 ;; Author: TAKAHASHI Naoto <ntakahas@m17n.org> |
17052 | 29 |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
36429
diff
changeset
|
30 ;;; Commentary: |
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
36429
diff
changeset
|
31 |
17052 | 32 ;;; Code: |
33 | |
34 (define-ccl-program ccl-encode-ethio-font | |
35 '(0 | |
17299 | 36 ;; In: R0:ethiopic (not checked) |
17052 | 37 ;; R1:position code 1 |
38 ;; R2:position code 2 | |
39 ;; Out: R1:font code point 1 | |
40 ;; R2:font code point 2 | |
41 ((r1 -= 33) | |
42 (r2 -= 33) | |
43 (r1 *= 94) | |
44 (r2 += r1) | |
17299 | 45 (if (r2 < 256) |
46 (r1 = ?\x12) | |
47 (if (r2 < 448) | |
48 ((r1 = ?\x13) (r2 -= 256)) | |
49 ((r1 = ?\xfd) (r2 -= 208)) | |
50 )))) | |
19090
7d36a4bbe75e
(ccl-encode-ethio-font): Fix typo in doc-string.
Kenichi Handa <handa@m17n.org>
parents:
18377
diff
changeset
|
51 "CCL program to encode an Ethiopic code to code point of Ethiopic font.") |
17052 | 52 |
53 (setq font-ccl-encoder-alist | |
17299 | 54 (cons (cons "ethiopic" ccl-encode-ethio-font) font-ccl-encoder-alist)) |
17052 | 55 |
56 (set-language-info-alist | |
22983
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
22764
diff
changeset
|
57 "Ethiopic" '((setup-function . setup-ethiopic-environment-internal) |
22518
64b8166a9747
Set `exit-function' of Ethiopic
Kenichi Handa <handa@m17n.org>
parents:
20744
diff
changeset
|
58 (exit-function . exit-ethiopic-environment) |
20744
48d79ef65489
Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents:
19090
diff
changeset
|
59 (charset ethiopic) |
48d79ef65489
Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents:
19090
diff
changeset
|
60 (coding-system iso-2022-7bit) |
48d79ef65489
Register coding-priority key in
Kenichi Handa <handa@m17n.org>
parents:
19090
diff
changeset
|
61 (coding-priority iso-2022-7bit) |
22983
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
22764
diff
changeset
|
62 (input-method . "ethiopic") |
7a010b8c0d99
("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents:
22764
diff
changeset
|
63 (features ethio-util) |
22764
8543c4052dd2
("Ethiopic"): Typo in sample-text fixed.
Kenichi Handa <handa@m17n.org>
parents:
22518
diff
changeset
|
64 (sample-text . "$(3$Q#U!.(B") |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
38436
diff
changeset
|
65 (documentation . |
36429
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
66 "This language envrironment provides these function key bindings |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
67 \(old bindings are shown in parentheses): |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
68 [f3] ethio-fidel-to-sera-buffer (f5) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
69 [S-f3] ethio-fidel-to-sera-region (f5) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
70 [C-f3] ethio-fidel-to-sera-mail-or-marker (f5) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
71 |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
72 [f4] ethio-sera-to-fidel-buffer (unchanged) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
73 [S-f4] ethio-sera-to-fidel-region (unchanged) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
74 [C-f4] ethio-sera-to-fidel-mail-or-marker (unchanged) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
75 |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
76 [S-f5] ethio-toggle-punctuation (f3) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
77 [S-f6] ethio-modify-vowel (f6) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
78 [S-f7] ethio-replace-space (f7) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
79 [S-f8] ethio-input-special-character (f8) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
80 [S-f9] ethio-replace-space (unchanged) |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
81 [C-f9] ethio-toggle-space (f2)" |
1610938fcd8b
("Ethiopic"): Add documentation.
Kenichi Handa <handa@m17n.org>
parents:
33778
diff
changeset
|
82 ))) |
17052 | 83 |
33778 | 84 (provide 'ethiopic) |
85 | |
52401 | 86 ;;; arch-tag: e81329d9-1286-43ba-92fd-54ce5c7b213c |
17052 | 87 ;;; ethiopic.el ends here |