Mercurial > emacs
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 |
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 | 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 | 7 ;; National Institute of Advanced Industrial Science and Technology (AIST) |
8 ;; Registration Number H14PRO021 | |
19152 | 9 |
10 ;; Keywords: multilingual, input method, Cyrillic | |
11 | |
12 ;; This file is part of GNU Emacs. | |
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 | 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 | 18 |
19 ;; GNU Emacs is distributed in the hope that it will be useful, | |
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
22 ;; GNU General Public License for more details. | |
23 | |
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 | 26 |
27 ;;; Commentary: | |
28 | |
29 ;; This Quail package is for inputting Cyrillic letters of Japanese | |
30 ;; character set JISX0208, not for inputting Cyrillic letters of | |
31 ;; ISO-8859-5. For the latter, use packages in quail/cyrillic.el. | |
32 | |
33 ;;; Code: | |
34 | |
35 (quail-define-package | |
36 "cyrillic-jis-russian" "Cyrillic" "$B'('+(B" nil | |
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 | 39 |
40 ;; 1! 2@ 3# 4" 5: 6, 7. 8* 9( 0) -_ =+ ,L!(B | |
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 | |
42 ;; ,LD(B ,LK(B ,L2(B ,L0(B ,L?(B ,L@(B ,L>(B ,L;(B ,L4(B ,L6(B ,LM(B | |
43 ;; ,LO(B ,LG(B ,LA(B ,L<(B ,L8(B ,LB(B ,LL(B ,L1(B ,LN(B /? | |
44 | |
45 (quail-define-rules | |
46 ("1" ?$B#1(B) | |
47 ("2" ?$B#2(B) | |
48 ("3" ?$B#3(B) | |
49 ("4" ?$B#4(B) | |
50 ("5" ?$B#5(B) | |
51 ("6" ?$B#6(B) | |
52 ("7" ?$B#7(B) | |
53 ("8" ?$B#8(B) | |
54 ("9" ?$B#9(B) | |
55 ("0" ?$B#0(B) | |
56 ("-" ?$B!](B) | |
57 ("=" ?$B!a(B) | |
58 ("`" ?$B'W(B) | |
59 ("q" ?$B'[(B) | |
60 ("w" ?$B'h(B) | |
61 ("e" ?$B'e(B) | |
62 ("r" ?$B'\(B) | |
63 ("t" ?$B'V(B) | |
64 ("y" ?$B'_(B) | |
65 ("u" ?$B'T(B) | |
66 ("i" ?$B'j(B) | |
67 ("o" ?$B'k(B) | |
68 ("p" ?$B'Y(B) | |
69 ("[" ?$B'g(B) | |
70 ("]" ?$B'l(B) | |
71 ("a" ?$B'f(B) | |
72 ("s" ?$B'm(B) | |
73 ("d" ?$B'S(B) | |
74 ("f" ?$B'Q(B) | |
75 ("g" ?$B'a(B) | |
76 ("h" ?$B'b(B) | |
77 ("j" ?$B'`(B) | |
78 ("k" ?$B'](B) | |
79 ("l" ?$B'U(B) | |
80 (";" ?$B'X(B) | |
81 ("'" ?$B'o(B) | |
82 ("\\" ?$B!@(B) | |
83 ("z" ?$B'q(B) | |
84 ("x" ?$B'i(B) | |
85 ("c" ?$B'c(B) | |
86 ("v" ?$B'^(B) | |
87 ("b" ?$B'Z(B) | |
88 ("n" ?$B'd(B) | |
89 ("m" ?$B'n(B) | |
90 ("," ?$B'R(B) | |
91 ("." ?$B'p(B) | |
92 ("/" ?$B!?(B) | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
40711
diff
changeset
|
93 |
19152 | 94 ("!" ?$B!*(B) |
95 ("@" ?$B!w(B) | |
96 ("#" ?$B!t(B) | |
97 ("$" ?$B!I(B) | |
98 ("%" ?$B!'(B) | |
99 ("^" ?$B!$(B) | |
100 ("&" ?$B!%(B) | |
101 ("*" ?$B!v(B) | |
102 ("(" ?$B!J(B) | |
103 (")" ?$B!K(B) | |
104 ("_" ?$B!2(B) | |
105 ("+" ?$B!\(B) | |
106 ("~" ?$B''(B) | |
107 ("Q" ?$B'+(B) | |
108 ("W" ?$B'8(B) | |
109 ("E" ?$B'5(B) | |
110 ("R" ?$B',(B) | |
111 ("T" ?$B'&(B) | |
112 ("Y" ?$B'/(B) | |
113 ("U" ?$B'$(B) | |
114 ("I" ?$B':(B) | |
115 ("O" ?$B';(B) | |
116 ("P" ?$B')(B) | |
117 ("{" ?$B'7(B) | |
118 ("}" ?$B'<(B) | |
119 ("A" ?$B'6(B) | |
120 ("S" ?$B'=(B) | |
121 ("D" ?$B'#(B) | |
122 ("F" ?$B'!(B) | |
123 ("G" ?$B'1(B) | |
124 ("H" ?$B'2(B) | |
125 ("J" ?$B'0(B) | |
126 ("K" ?$B'-(B) | |
127 ("L" ?$B'%(B) | |
128 (":" ?$B'((B) | |
129 ("\"" ?$B'?(B) | |
130 ("|" ?$B!C(B) | |
131 ("Z" ?$B'A(B) | |
132 ("X" ?$B'9(B) | |
133 ("C" ?$B'3(B) | |
134 ("V" ?$B'.(B) | |
135 ("B" ?$B'*(B) | |
136 ("N" ?$B'4(B) | |
137 ("M" ?$B'>(B) | |
138 ("<" ?$B'"(B) | |
139 (">" ?$B'@(B) | |
140 ("?" ?$B!)(B)) | |
141 | |
142 ;; Local Variables: | |
40711 | 143 ;; coding: iso-2022-7bit |
19152 | 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 |