Mercurial > emacs
annotate lisp/international/encoded-kb.el @ 83490:0cdee8b991e1
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-144
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-145
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-146
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-147
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-148
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-149
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-150
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-151
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-152
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-56
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-57
Copy/update icons from Gnus trunk
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-530
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 12 Mar 2006 04:51:49 +0000 |
parents | fe870a866ce7 |
children | 17e0dd217877 |
rev | line source |
---|---|
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
37238
diff
changeset
|
1 ;;; encoded-kb.el --- handler to input multibyte characters encoded somehow |
17052 | 2 |
62274 | 3 ;; Copyright (C) 1997 Free Software Foundation, Inc. |
4 ;; Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001, 2004, 2005 | |
5 ;; National Institute of Advanced Industrial Science and Technology (AIST) | |
6 ;; Registration Number H14PRO021 | |
17052 | 7 |
8 ;; This file is part of GNU Emacs. | |
9 | |
10 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
11 ;; it under the terms of the GNU General Public License as published by | |
12 ;; the Free Software Foundation; either version 2, or (at your option) | |
13 ;; any later version. | |
14 | |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
17071 | 21 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
64085 | 22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 ;; Boston, MA 02110-1301, USA. | |
17052 | 24 |
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
37238
diff
changeset
|
25 ;;; Commentary: |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
37238
diff
changeset
|
26 |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
37238
diff
changeset
|
27 ;;; Code: |
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
37238
diff
changeset
|
28 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
29 ;; Usually this map is empty (even if Encoded-kbd mode is on), but if |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
30 ;; the keyboard coding system is iso-2022-based, it defines dummy key |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
31 ;; bindings for ESC $ ..., etc. so that those bindings in |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
32 ;; key-translation-map take effect. |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
33 (defconst encoded-kbd-mode-map (make-sparse-keymap) |
17052 | 34 "Keymap for Encoded-kbd minor mode.") |
35 | |
36 ;; Subsidiary keymaps for handling ISO2022 escape sequences. | |
37 | |
38 (defvar encoded-kbd-iso2022-esc-map | |
39 (let ((map (make-sparse-keymap))) | |
40 (define-key map "$" 'encoded-kbd-iso2022-esc-dollar-prefix) | |
41 (define-key map "(" 'encoded-kbd-iso2022-designation-prefix) | |
42 (define-key map ")" 'encoded-kbd-iso2022-designation-prefix) | |
43 (define-key map "," 'encoded-kbd-iso2022-designation-prefix) | |
44 (define-key map "-" 'encoded-kbd-iso2022-designation-prefix) | |
45 map) | |
46 "Keymap for handling ESC code in Encoded-kbd mode.") | |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
47 (fset 'encoded-kbd-iso2022-esc-prefix encoded-kbd-iso2022-esc-map) |
17052 | 48 |
49 (defvar encoded-kbd-iso2022-esc-dollar-map | |
50 (let ((map (make-sparse-keymap))) | |
51 (define-key map "(" 'encoded-kbd-iso2022-designation-prefix) | |
52 (define-key map ")" 'encoded-kbd-iso2022-designation-prefix) | |
53 (define-key map "," 'encoded-kbd-iso2022-designation-prefix) | |
54 (define-key map "-" 'encoded-kbd-iso2022-designation-prefix) | |
55 (define-key map "@" 'encoded-kbd-iso2022-designation) | |
56 (define-key map "A" 'encoded-kbd-iso2022-designation) | |
57 (define-key map "B" 'encoded-kbd-iso2022-designation) | |
58 map) | |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
59 "Keymap for handling ESC $ sequence in Encoded-kbd mode.") |
17052 | 60 (fset 'encoded-kbd-iso2022-esc-dollar-prefix |
61 encoded-kbd-iso2022-esc-dollar-map) | |
62 | |
63 (defvar encoded-kbd-iso2022-designation-map | |
64 (let ((map (make-sparse-keymap)) | |
29267
00ff62c583fe
(encoded-kbd-iso2022-designation-map): Pay attention to that
Kenichi Handa <handa@m17n.org>
parents:
27816
diff
changeset
|
65 (l charset-list) |
00ff62c583fe
(encoded-kbd-iso2022-designation-map): Pay attention to that
Kenichi Handa <handa@m17n.org>
parents:
27816
diff
changeset
|
66 final-char) |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
67 (while l |
29267
00ff62c583fe
(encoded-kbd-iso2022-designation-map): Pay attention to that
Kenichi Handa <handa@m17n.org>
parents:
27816
diff
changeset
|
68 (setq final-char (charset-iso-final-char (car l))) |
29268
4165d44fcd68
(encoded-kbd-iso2022-designation-map): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents:
29267
diff
changeset
|
69 (if (> final-char 0) |
29267
00ff62c583fe
(encoded-kbd-iso2022-designation-map): Pay attention to that
Kenichi Handa <handa@m17n.org>
parents:
27816
diff
changeset
|
70 (define-key map (char-to-string final-char) |
00ff62c583fe
(encoded-kbd-iso2022-designation-map): Pay attention to that
Kenichi Handa <handa@m17n.org>
parents:
27816
diff
changeset
|
71 'encoded-kbd-iso2022-designation)) |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
72 (setq l (cdr l))) |
17052 | 73 map) |
74 "Keymap for handling ISO2022 designation sequence in Encoded-kbd mode.") | |
75 (fset 'encoded-kbd-iso2022-designation-prefix | |
76 encoded-kbd-iso2022-designation-map) | |
77 | |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
78 ;; Keep information of designation state of ISO2022 encoding. When |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
79 ;; Encoded-kbd mode is on, this is set to a vector of length 4, the |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
80 ;; elements are character sets currently designated to graphic |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
81 ;; registers 0 thru 3. |
17052 | 82 |
83 (defvar encoded-kbd-iso2022-designations nil) | |
84 (put 'encoded-kbd-iso2022-designations 'permanent-local t) | |
85 | |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
86 ;; Keep information of invocation state of ISO2022 encoding. When |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
87 ;; Encoded-kbd mode is on, this is set to a vector of length 3, |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
88 ;; graphic register numbers currently invoked to graphic plane 1 and |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
89 ;; 2, and a single shifted graphic register number. |
17052 | 90 |
91 (defvar encoded-kbd-iso2022-invocations nil) | |
92 (put 'encoded-kbd-iso2022-invocations 'permanent-local t) | |
93 | |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
94 (defsubst encoded-kbd-last-key () |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
95 (let ((keys (this-single-command-keys))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
96 (aref keys (1- (length keys))))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
97 |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
98 (defun encoded-kbd-iso2022-designation (ignore) |
23196 | 99 "Do ISO2022 designation according to the current key in Encoded-kbd mode. |
17052 | 100 The following key sequence may cause multilingual text insertion." |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
101 (let ((key-seq (this-single-command-keys)) |
19434
31d9ded94ba4
(encoded-kbd-mode): Doc-string modified. Make this a
Kenichi Handa <handa@m17n.org>
parents:
19421
diff
changeset
|
102 (prev-g0-charset (aref encoded-kbd-iso2022-designations |
31d9ded94ba4
(encoded-kbd-mode): Doc-string modified. Make this a
Kenichi Handa <handa@m17n.org>
parents:
19421
diff
changeset
|
103 (aref encoded-kbd-iso2022-invocations 0))) |
17052 | 104 intermediate-char final-char |
105 reg dimension chars charset) | |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
106 (if (= (length key-seq) 4) |
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
107 ;; ESC $ <intermediate-char> <final-char> |
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
108 (setq intermediate-char (aref key-seq 2) |
17052 | 109 dimension 2 |
110 chars (if (< intermediate-char ?,) 94 96) | |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
111 final-char (aref key-seq 3) |
17052 | 112 reg (mod intermediate-char 4)) |
113 (if (= (aref key-seq 1) ?$) | |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
114 ;; ESC $ <final-char> |
17052 | 115 (setq dimension 2 |
116 chars 94 | |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
117 final-char (aref key-seq 2) |
17052 | 118 reg 0) |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
119 ;; ESC <intermediate-char> <final-char> |
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
120 (setq intermediate-char (aref key-seq 1) |
17052 | 121 dimension 1 |
122 chars (if (< intermediate-char ?,) 94 96) | |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
123 final-char (aref key-seq 2) |
17052 | 124 reg (mod intermediate-char 4)))) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
125 (aset encoded-kbd-iso2022-designations reg |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
126 (iso-charset dimension chars final-char))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
127 "") |
17052 | 128 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
129 (defun encoded-kbd-iso2022-single-shift (ignore) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
130 (let ((char (encoded-kbd-last-key))) |
59711
fa3ef0f9b02e
(encoded-kbd-iso2022-single-shift):
Kenichi Handa <handa@m17n.org>
parents:
56598
diff
changeset
|
131 (aset encoded-kbd-iso2022-invocations 2 (if (= char ?\216) 2 3))) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
132 "") |
17052 | 133 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
134 (defun encoded-kbd-self-insert-iso2022-7bit (ignore) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
135 (let ((char (encoded-kbd-last-key)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
136 (charset (aref encoded-kbd-iso2022-designations |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
137 (or (aref encoded-kbd-iso2022-invocations 2) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
138 (aref encoded-kbd-iso2022-invocations 0))))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
139 (aset encoded-kbd-iso2022-invocations 2 nil) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
140 (vector (if (= (charset-dimension charset) 1) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
141 (make-char charset char) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
142 (make-char charset char (read-char-exclusive)))))) |
17052 | 143 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
144 (defun encoded-kbd-self-insert-iso2022-8bit (ignore) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
145 (let ((char (encoded-kbd-last-key)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
146 (charset (aref encoded-kbd-iso2022-designations |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
147 (or (aref encoded-kbd-iso2022-invocations 2) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
148 (aref encoded-kbd-iso2022-invocations 1))))) |
17052 | 149 (aset encoded-kbd-iso2022-invocations 2 nil) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
150 (vector (if (= (charset-dimension charset) 1) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
151 (make-char charset char) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
152 (make-char charset char (read-char-exclusive)))))) |
17052 | 153 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
154 (defun encoded-kbd-self-insert-sjis (ignore) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
155 (let ((char (encoded-kbd-last-key))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
156 (vector |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
157 (if (or (< char ?\xA0) (>= char ?\xE0)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
158 (decode-sjis-char (+ (ash char 8) (read-char-exclusive))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
159 (make-char 'katakana-jisx0201 char))))) |
17052 | 160 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
161 (defun encoded-kbd-self-insert-big5 (ignore) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
162 (let ((char (encoded-kbd-last-key))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
163 (vector |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
164 (decode-big5-char (+ (ash char 8) (read-char-exclusive)))))) |
17052 | 165 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
166 (defun encoded-kbd-self-insert-ccl (ignore) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
167 (let ((str (char-to-string (encoded-kbd-last-key))) |
36954
798d1ac75e95
(encoded-kbd-self-insert-ccl): Call ccl-execute-on-string directly so
Kenichi Handa <handa@m17n.org>
parents:
29268
diff
changeset
|
168 (ccl (car (aref (coding-system-spec (keyboard-coding-system)) 4))) |
37095
416e07ad047e
(encoded-kbd-self-insert-ccl):
Kenichi Handa <handa@m17n.org>
parents:
36954
diff
changeset
|
169 (vec [nil nil nil nil nil nil nil nil nil]) |
36954
798d1ac75e95
(encoded-kbd-self-insert-ccl): Call ccl-execute-on-string directly so
Kenichi Handa <handa@m17n.org>
parents:
29268
diff
changeset
|
170 result) |
798d1ac75e95
(encoded-kbd-self-insert-ccl): Call ccl-execute-on-string directly so
Kenichi Handa <handa@m17n.org>
parents:
29268
diff
changeset
|
171 (while (= (length (setq result (ccl-execute-on-string ccl vec str t))) 0) |
37095
416e07ad047e
(encoded-kbd-self-insert-ccl):
Kenichi Handa <handa@m17n.org>
parents:
36954
diff
changeset
|
172 (dotimes (i 9) (aset vec i nil)) |
416e07ad047e
(encoded-kbd-self-insert-ccl):
Kenichi Handa <handa@m17n.org>
parents:
36954
diff
changeset
|
173 (setq str (format "%s%c" str (read-char-exclusive)))) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
174 (vector (aref result 0)))) |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
175 |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
176 (defun encoded-kbd-setup-keymap (keymap coding) |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
177 ;; At first, reset the keymap. |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
178 (define-key encoded-kbd-mode-map "\e" nil) |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
179 ;; Then setup the keymap according to the keyboard coding system. |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
180 (cond |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
181 ((eq (coding-system-type coding) 1) ; SJIS |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
182 (let ((i 128)) |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
183 (while (< i 256) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
184 (define-key keymap |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
185 (vector i) 'encoded-kbd-self-insert-sjis) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
186 (setq i (1+ i)))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
187 8) |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
188 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
189 ((eq (coding-system-type coding) 3) ; Big5 |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
190 (let ((i 161)) |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
191 (while (< i 255) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
192 (define-key keymap |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
193 (vector i) 'encoded-kbd-self-insert-big5) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
194 (setq i (1+ i)))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
195 8) |
49598
0d8b17d428b5
Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
47817
diff
changeset
|
196 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
197 ((eq (coding-system-type coding) 2) ; ISO-2022 |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
198 (let ((flags (coding-system-flags coding)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
199 use-designation) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
200 (if (aref flags 8) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
201 nil ; Don't support locking-shift. |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
202 (setq encoded-kbd-iso2022-designations (make-vector 4 nil) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
203 encoded-kbd-iso2022-invocations (make-vector 3 nil)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
204 (dotimes (i 4) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
205 (if (aref flags i) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
206 (if (charsetp (aref flags i)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
207 (aset encoded-kbd-iso2022-designations |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
208 i (aref flags i)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
209 (setq use-designation t) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
210 (if (charsetp (car-safe (aref flags i))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
211 (aset encoded-kbd-iso2022-designations |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
212 i (car (aref flags i))))))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
213 (aset encoded-kbd-iso2022-invocations 0 0) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
214 (if (aref encoded-kbd-iso2022-designations 1) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
215 (aset encoded-kbd-iso2022-invocations 1 1)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
216 (when use-designation |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
217 (define-key encoded-kbd-mode-map "\e" 'encoded-kbd-iso2022-esc-prefix) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
218 (define-key keymap "\e" 'encoded-kbd-iso2022-esc-prefix)) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
219 (when (or (aref flags 2) (aref flags 3)) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
220 (define-key keymap |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
221 [?\216] 'encoded-kbd-iso2022-single-shift) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
222 (define-key keymap |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
223 [?\217] 'encoded-kbd-iso2022-single-shift)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
224 (or (eq (aref flags 0) 'ascii) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
225 (dotimes (i 96) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
226 (define-key keymap |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
227 (vector (+ 32 i)) 'encoded-kbd-self-insert-iso2022-7bit))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
228 (if (aref flags 7) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
229 t |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
230 (dotimes (i 96) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
231 (define-key keymap |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
232 (vector (+ 160 i)) 'encoded-kbd-self-insert-iso2022-8bit)) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
233 8)))) |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
234 |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
235 ((eq (coding-system-type coding) 4) ; CCL-base |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
236 (let ((valid-codes (or (coding-system-get coding 'valid-codes) |
36954
798d1ac75e95
(encoded-kbd-self-insert-ccl): Call ccl-execute-on-string directly so
Kenichi Handa <handa@m17n.org>
parents:
29268
diff
changeset
|
237 '((128 . 255)))) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
238 elt from to valid) |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
239 (while valid-codes |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
240 (setq elt (car valid-codes) valid-codes (cdr valid-codes)) |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
241 (if (consp elt) |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
242 (setq from (car elt) to (cdr elt)) |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
243 (setq from (setq to elt))) |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
244 (while (<= from to) |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
245 (if (>= from 128) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
246 (define-key keymap |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
247 (vector from) 'encoded-kbd-self-insert-ccl)) |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
248 (setq from (1+ from)))) |
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
249 8)) |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
250 |
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
251 (t |
56597
399c8a1fbe0b
The following changes are to
Kenichi Handa <handa@m17n.org>
parents:
52401
diff
changeset
|
252 nil))) |
27816
321027008721
Be sure to update minor-mode-alist
Kenichi Handa <handa@m17n.org>
parents:
25042
diff
changeset
|
253 |
17080
d80a8a46437e
Many changes to cope with the above change.
Kenichi Handa <handa@m17n.org>
parents:
17071
diff
changeset
|
254 ;;;###autoload |
83321
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
255 (defun encoded-kbd-setup-display (display) |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
256 "Set up a `key-translation-map' for `keyboard-coding-system' on DISPLAY. |
17052 | 257 |
83321
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
258 DISPLAY may be a display id, a frame, or nil for the selected frame's display." |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
259 (let ((frame (if (framep display) display (car (frames-on-display-list display))))) |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
260 (when frame |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
261 (with-selected-frame frame |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
262 ;; Remove any previous encoded-kb keymap from key-translation-map. |
83394
7d093d9d4479
Fix semantics of terminal-local variables. Remove `terminal-local-value' hack.
Karoly Lorentey <lorentey@elte.hu>
parents:
83347
diff
changeset
|
263 (let ((m local-key-translation-map)) |
83321
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
264 (if (equal (keymap-prompt m) "encoded-kb") |
83394
7d093d9d4479
Fix semantics of terminal-local variables. Remove `terminal-local-value' hack.
Karoly Lorentey <lorentey@elte.hu>
parents:
83347
diff
changeset
|
265 (setq local-key-translation-map (keymap-parent m)) |
83321
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
266 (while (keymap-parent m) |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
267 (if (equal (keymap-prompt (keymap-parent m)) "encoded-kb") |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
268 (set-keymap-parent m (keymap-parent (keymap-parent m)))) |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
269 (setq m (keymap-parent m))))) |
17052 | 270 |
83321
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
271 (if (keyboard-coding-system) |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
272 ;; We are turning on Encoded-kbd mode. |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
273 (let ((coding (keyboard-coding-system)) |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
274 (keymap (make-sparse-keymap "encoded-kb")) |
83333
40c0ee282254
Implement rudimentary Lisp-level terminal parameters.
Karoly Lorentey <lorentey@elte.hu>
parents:
83332
diff
changeset
|
275 (cim (current-input-mode)) |
83321
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
276 result) |
83394
7d093d9d4479
Fix semantics of terminal-local variables. Remove `terminal-local-value' hack.
Karoly Lorentey <lorentey@elte.hu>
parents:
83347
diff
changeset
|
277 (set-keymap-parent keymap local-key-translation-map) |
7d093d9d4479
Fix semantics of terminal-local variables. Remove `terminal-local-value' hack.
Karoly Lorentey <lorentey@elte.hu>
parents:
83347
diff
changeset
|
278 (setq local-key-translation-map keymap) |
83417
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
279 (unless (terminal-parameter nil 'encoded-kbd-saved-input-meta-mode) |
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
280 (set-terminal-parameter nil 'encoded-kbd-saved-input-mode (nth 2 cim))) |
83325
9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
Karoly Lorentey <lorentey@elte.hu>
parents:
83321
diff
changeset
|
281 (setq result (and coding (encoded-kbd-setup-keymap keymap coding))) |
83321
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
282 (if result |
83333
40c0ee282254
Implement rudimentary Lisp-level terminal parameters.
Karoly Lorentey <lorentey@elte.hu>
parents:
83332
diff
changeset
|
283 (when (and (eq result 8) |
83347
4835a94a6cc5
Fix dumb error leading to national keys not working on ttys.
Karoly Lorentey <lorentey@elte.hu>
parents:
83346
diff
changeset
|
284 (memq (nth 2 cim) '(t nil))) |
83417
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
285 (set-input-meta-mode 'use-8th-bit)) |
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
286 (set-terminal-parameter nil 'encoded-kbd-saved-input-meta-mode nil) |
83321
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
287 (error "Unsupported coding system in Encoded-kbd mode: %S" |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
288 coding))) |
f6ed7ae6fa8d
Replace encoded-kbd-mode with display-specific encoded-kbd-setup-display. (Doesn't work yet.)
Karoly Lorentey <lorentey@elte.hu>
parents:
62274
diff
changeset
|
289 ;; We are turning off Encoded-kbd mode. |
83417
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
290 (when (and (terminal-parameter nil 'encoded-kbd-saved-input-meta-mode) |
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
291 (not (equal (nth 2 (current-input-mode)) |
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
292 (terminal-parameter nil 'encoded-kbd-saved-input-meta-mode)))) |
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
293 (set-input-meta-mode (terminal-parameter nil 'encoded-kbd-saved-input-meta-mode))) |
fe870a866ce7
Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83394
diff
changeset
|
294 (set-terminal-parameter nil 'saved-input-meta-mode nil)))))) |
17052 | 295 |
47817
8dcee128f3b5
Add `provide' call.
Markus Rost <rost@math.uni-bielefeld.de>
parents:
44451
diff
changeset
|
296 (provide 'encoded-kb) |
8dcee128f3b5
Add `provide' call.
Markus Rost <rost@math.uni-bielefeld.de>
parents:
44451
diff
changeset
|
297 |
52401 | 298 ;;; arch-tag: 76f0f9b3-65e7-45c3-b692-59509a87ad44 |
17052 | 299 ;;; encoded-kb.el ends here |