annotate leim/quail/cyril-jis.el @ 112440:b5017c649dfb

Check return values of some library calls.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 22 Jan 2011 23:30:19 -0800
parents ef719132ddfa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38453
519983161a46 Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents: 19722
diff changeset
1 ;;; cyril-jis.el --- Quail package for inputting JISX0208 Cyrillic letters
19152
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2
112218
376148b31b5e Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
3 ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
75253
f5f322eb227f Update copyright for years from Emacs 21 to present.
Glenn Morris <rgm@gnu.org>
parents: 74605
diff changeset
4 ;; Free Software Foundation, Inc.
f5f322eb227f Update copyright for years from Emacs 21 to present.
Glenn Morris <rgm@gnu.org>
parents: 74605
diff changeset
5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
112218
376148b31b5e Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
6 ;; 2006, 2007, 2008, 2009, 2010, 2011
67657
b94a4bf1aca6 Copyright fixed
Kenichi Handa <handa@m17n.org>
parents: 64083
diff changeset
7 ;; National Institute of Advanced Industrial Science and Technology (AIST)
b94a4bf1aca6 Copyright fixed
Kenichi Handa <handa@m17n.org>
parents: 64083
diff changeset
8 ;; Registration Number H14PRO021
19152
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 ;; Keywords: multilingual, input method, Cyrillic
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 ;; This file is part of GNU Emacs.
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13
94710
4f1fd208c354 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79727
diff changeset
14 ;; GNU Emacs is free software: you can redistribute it and/or modify
19152
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 ;; it under the terms of the GNU General Public License as published by
94710
4f1fd208c354 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79727
diff changeset
16 ;; the Free Software Foundation, either version 3 of the License, or
4f1fd208c354 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79727
diff changeset
17 ;; (at your option) any later version.
19152
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19 ;; GNU Emacs is distributed in the hope that it will be useful,
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 ;; GNU General Public License for more details.
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24 ;; You should have received a copy of the GNU General Public License
94710
4f1fd208c354 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79727
diff changeset
25 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19152
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 ;;; Commentary:
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29 ;; This Quail package is for inputting Cyrillic letters of Japanese
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 ;; character set JISX0208, not for inputting Cyrillic letters of
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31 ;; ISO-8859-5. For the latter, use packages in quail/cyrillic.el.
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 ;;; Code:
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
35 (quail-define-package
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
36 "cyrillic-jis-russian" "Cyrillic" "$B'('+(B" nil
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
37 "$B'+'8'5','&'/(B keyboard layout same as JCUKEN (JIS X0208.1983 encoding)"
19722
dd39cae4cf0f For each package, pass t for the SIMPLE
Kenichi Handa <handa@m17n.org>
parents: 19152
diff changeset
38 nil t t t t nil nil nil nil nil t)
19152
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40 ;; 1! 2@ 3# 4" 5: 6, 7. 8* 9( 0) -_ =+ ,L!(B
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41 ;; ,L9(B ,LF(B ,LC(B ,L:(B ,L5(B ,L=(B ,L3(B ,LH(B ,LI(B ,L7(B ,LE(B ,Lj(B
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
42 ;; ,LD(B ,LK(B ,L2(B ,L0(B ,L?(B ,L@(B ,L>(B ,L;(B ,L4(B ,L6(B ,LM(B
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43 ;; ,LO(B ,LG(B ,LA(B ,L<(B ,L8(B ,LB(B ,LL(B ,L1(B ,LN(B /?
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
44
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
45 (quail-define-rules
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46 ("1" ?$B#1(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
47 ("2" ?$B#2(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
48 ("3" ?$B#3(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
49 ("4" ?$B#4(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 ("5" ?$B#5(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 ("6" ?$B#6(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52 ("7" ?$B#7(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
53 ("8" ?$B#8(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
54 ("9" ?$B#9(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
55 ("0" ?$B#0(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
56 ("-" ?$B!](B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
57 ("=" ?$B!a(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
58 ("`" ?$B'W(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
59 ("q" ?$B'[(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
60 ("w" ?$B'h(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
61 ("e" ?$B'e(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
62 ("r" ?$B'\(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
63 ("t" ?$B'V(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
64 ("y" ?$B'_(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
65 ("u" ?$B'T(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
66 ("i" ?$B'j(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
67 ("o" ?$B'k(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
68 ("p" ?$B'Y(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
69 ("[" ?$B'g(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
70 ("]" ?$B'l(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
71 ("a" ?$B'f(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
72 ("s" ?$B'm(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
73 ("d" ?$B'S(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
74 ("f" ?$B'Q(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
75 ("g" ?$B'a(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
76 ("h" ?$B'b(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
77 ("j" ?$B'`(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
78 ("k" ?$B'](B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
79 ("l" ?$B'U(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
80 (";" ?$B'X(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
81 ("'" ?$B'o(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
82 ("\\" ?$B!@(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
83 ("z" ?$B'q(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
84 ("x" ?$B'i(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
85 ("c" ?$B'c(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
86 ("v" ?$B'^(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
87 ("b" ?$B'Z(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
88 ("n" ?$B'd(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
89 ("m" ?$B'n(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
90 ("," ?$B'R(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
91 ("." ?$B'p(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
92 ("/" ?$B!?(B)
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 40711
diff changeset
93
19152
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
94 ("!" ?$B!*(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
95 ("@" ?$B!w(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
96 ("#" ?$B!t(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
97 ("$" ?$B!I(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
98 ("%" ?$B!'(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
99 ("^" ?$B!$(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
100 ("&" ?$B!%(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
101 ("*" ?$B!v(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
102 ("(" ?$B!J(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
103 (")" ?$B!K(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
104 ("_" ?$B!2(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
105 ("+" ?$B!\(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
106 ("~" ?$B''(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
107 ("Q" ?$B'+(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
108 ("W" ?$B'8(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
109 ("E" ?$B'5(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
110 ("R" ?$B',(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
111 ("T" ?$B'&(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
112 ("Y" ?$B'/(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
113 ("U" ?$B'$(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
114 ("I" ?$B':(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
115 ("O" ?$B';(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
116 ("P" ?$B')(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
117 ("{" ?$B'7(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
118 ("}" ?$B'<(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
119 ("A" ?$B'6(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
120 ("S" ?$B'=(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
121 ("D" ?$B'#(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
122 ("F" ?$B'!(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
123 ("G" ?$B'1(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
124 ("H" ?$B'2(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
125 ("J" ?$B'0(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
126 ("K" ?$B'-(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
127 ("L" ?$B'%(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
128 (":" ?$B'((B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
129 ("\"" ?$B'?(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
130 ("|" ?$B!C(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
131 ("Z" ?$B'A(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
132 ("X" ?$B'9(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
133 ("C" ?$B'3(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
134 ("V" ?$B'.(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
135 ("B" ?$B'*(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
136 ("N" ?$B'4(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
137 ("M" ?$B'>(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
138 ("<" ?$B'"(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
139 (">" ?$B'@(B)
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
140 ("?" ?$B!)(B))
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
141
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
142 ;; Local Variables:
40711
ec841dc83e17 Fix local variables.
Dave Love <fx@gnu.org>
parents: 38453
diff changeset
143 ;; coding: iso-2022-7bit
19152
95a27719b29d Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
144 ;; End:
38453
519983161a46 Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents: 19722
diff changeset
145
519983161a46 Some fixes to follow lisp coding conventions and typo fixes.
Pavel Janík <Pavel@Janik.cz>
parents: 19722
diff changeset
146 ;;; cyril-jis.el ends here