Mercurial > emacs
comparison leim/quail/slovak.el @ 21196:0ad514a44245
Initial revision
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 17 Mar 1998 05:49:29 +0000 |
parents | |
children | b49e191032c7 |
comparison
equal
deleted
inserted
replaced
21195:169fde4a67c1 | 21196:0ad514a44245 |
---|---|
1 ;;; quail/slovak.el -- Quail package for inputting Slovak | |
2 | |
3 ;; Copyright (C) 1998 Free Software Foundation. | |
4 | |
5 ;; Authors: Tibor ,B)(Bimko <tibor.simko@fmph.uniba.sk>, | |
6 ;; Milan Zamazal <pdm@fi.muni.cz> | |
7 ;; Maintainer: Milan Zamazal <pdm@fi.muni.cz> | |
8 ;; Keywords: multilingual, input method, Slovak | |
9 | |
10 ;; Copying and warranty: GNU General Public License, version 2 | |
11 | |
12 ;;; Commentary: | |
13 | |
14 ;; This setups some Slovak keyboards: | |
15 ;; - standard Slovak keyboard | |
16 ;; - three Slovak keyboards for programmers | |
17 | |
18 ;; Current Quail version has some limitations, which create annoying problems | |
19 ;; when using Czech keyboards. You may want to install the file | |
20 ;; `hack-quail.el' from the package | |
21 ;; ftp://ftp.fi.muni.cz/pub/localization/emacs/emacs-20/emacs-cs-utils* | |
22 ;; which tries to remove some of these limitations. | |
23 | |
24 ;;; Code: | |
25 | |
26 (require 'quail) | |
27 | |
28 | |
29 (quail-define-package | |
30 "slovak" "Slovak" "SK" nil | |
31 "Standard Slovak keyboard." | |
32 nil t nil nil nil nil nil nil nil nil t) | |
33 | |
34 (quail-define-rules | |
35 ("1" ?+) | |
36 ("2" ?,B5(B) | |
37 ("3" ?,B9(B) | |
38 ("4" ?,Bh(B) | |
39 ("5" ?,B;(B) | |
40 ("6" ?,B>(B) | |
41 ("7" ?,B}(B) | |
42 ("8" ?,Ba(B) | |
43 ("9" ?,Bm(B) | |
44 ("0" ?,Bi(B) | |
45 ("!" ?1) | |
46 ("@" ?2) | |
47 ("#" ?3) | |
48 ("$" ?4) | |
49 ("%" ?5) | |
50 ("^" ?6) | |
51 ("&" ?7) | |
52 ("*" ?8) | |
53 ("(" ?9) | |
54 (")" ?0) | |
55 ("q" ?`) | |
56 ("Q" ?`) | |
57 ("-" ?=) | |
58 ("_" ?%) | |
59 ("=" ?') | |
60 ("[" ?,Bz(B) | |
61 ("{" ?/) | |
62 ("]" ?,Bd(B) | |
63 ("}" ?\() | |
64 ("\\" ?,Br(B) | |
65 ("|" ?\)) | |
66 (";" ?,Bt(B) | |
67 (":" ?\") | |
68 ("'" ?,B'(B) | |
69 ("\"" ?!) | |
70 ("<" ??) | |
71 (">" ?:) | |
72 ("/" ?-) | |
73 ("?" ?_) | |
74 ("`" ?\;) | |
75 ("~" ?^) | |
76 ("y" ?z) | |
77 ("z" ?y) | |
78 ("Y" ?Z) | |
79 ("Z" ?Y) | |
80 ("=a" ?,Ba(B) | |
81 ("+a" ?,Bd(B) | |
82 ("+=a" ?,Bd(B) | |
83 ("+c" ?,Bh(B) | |
84 ("+d" ?,Bo(B) | |
85 ("=e" ?,Bi(B) | |
86 ("+e" ?,Bl(B) | |
87 ("=i" ?,Bm(B) | |
88 ("=l" ?,Be(B) | |
89 ("+l" ?,B5(B) | |
90 ("+n" ?,Br(B) | |
91 ("=o" ?,Bs(B) | |
92 ("+o" ?,Bt(B) | |
93 ("~o" ?,Bt(B) | |
94 ("+=o" ?,Bv(B) | |
95 ("=r" ?,B`(B) | |
96 ("+r" ?,Bx(B) | |
97 ("=s" ?,B_(B) | |
98 ("+s" ?,B9(B) | |
99 ("+t" ?,B;(B) | |
100 ("=u" ?,Bz(B) | |
101 ("+u" ?,By(B) | |
102 ("+=u" ?,B|(B) | |
103 ("=z" ?,B}(B) | |
104 ("+y" ?,B>(B) | |
105 ("=A" ?,BA(B) | |
106 ("+A" ?,BD(B) | |
107 ("+=A" ?,BD(B) | |
108 ("+C" ?,BH(B) | |
109 ("+D" ?,BO(B) | |
110 ("=E" ?,BI(B) | |
111 ("+E" ?,BL(B) | |
112 ("=I" ?,BM(B) | |
113 ("=L" ?,BE(B) | |
114 ("+L" ?,B%(B) | |
115 ("+N" ?,BR(B) | |
116 ("=O" ?,BS(B) | |
117 ("+O" ?,BT(B) | |
118 ("~O" ?,BT(B) | |
119 ("+=O" ?,BV(B) | |
120 ("=R" ?,B@(B) | |
121 ("+R" ?,BX(B) | |
122 ("=S" ?,B_(B) | |
123 ("+S" ?,B)(B) | |
124 ("+T" ?,B+(B) | |
125 ("=U" ?,BZ(B) | |
126 ("+U" ?,BY(B) | |
127 ("+=U" ?,B\(B) | |
128 ("=Z" ?,B](B) | |
129 ("+Y" ?,B.(B) | |
130 ("=q" ?q) | |
131 ("+q" ?q) | |
132 ("=Q" ?Q) | |
133 ("+Q" ?Q) | |
134 ("=2" ?@) | |
135 ("=3" ?#) | |
136 ("=4" ?$) | |
137 ("=5" ?%) | |
138 ("=6" ?^) | |
139 ("=7" ?&) | |
140 ("=8" ?*) | |
141 ("=9" ?\() | |
142 ("=0" ?\)) | |
143 ("+1" ?!) | |
144 ("+2" ?@) | |
145 ("+3" ?#) | |
146 ("+4" ?$) | |
147 ("+5" ?%) | |
148 ("+6" ?^) | |
149 ("+7" ?&) | |
150 ("+8" ?*) | |
151 ("+9" ?\() | |
152 ("+0" ?\)) | |
153 ([kp-1] ?1) | |
154 ([kp-2] ?2) | |
155 ([kp-3] ?3) | |
156 ([kp-4] ?4) | |
157 ([kp-5] ?5) | |
158 ([kp-6] ?6) | |
159 ([kp-7] ?7) | |
160 ([kp-8] ?8) | |
161 ([kp-9] ?9) | |
162 ([kp-0] ?0) | |
163 ([kp-add] ?+)) | |
164 | |
165 | |
166 (quail-define-package | |
167 "slovak-prog-1" "Slovak" "SK" nil | |
168 "Slovak (non-standard) keyboard for programmers #1. | |
169 | |
170 All digits except of `1' are replaced by Slovak characters as on the standard | |
171 Slovak keyboard. | |
172 Dead keys are on `[', `[[', and `[[['. | |
173 All other keys are the same as on standard US keyboard." | |
174 nil t nil nil nil nil nil nil nil nil t) | |
175 | |
176 (quail-define-rules | |
177 ("[[[[" ?\[) | |
178 ("2" ?,B5(B) | |
179 ("3" ?,B9(B) | |
180 ("4" ?,Bh(B) | |
181 ("5" ?,B;(B) | |
182 ("6" ?,B>(B) | |
183 ("7" ?,B}(B) | |
184 ("8" ?,Ba(B) | |
185 ("9" ?,Bm(B) | |
186 ("0" ?,Bi(B) | |
187 ("[a" ?,Ba(B) | |
188 ("[[a" ?,Bd(B) | |
189 ("[[[a" ?,Bd(B) | |
190 ("[c" ?,Bh(B) | |
191 ("[[c" ?,Bh(B) | |
192 ("[d" ?,Bo(B) | |
193 ("[[d" ?,Bo(B) | |
194 ("[e" ?,Bi(B) | |
195 ("[[e" ?,Bl(B) | |
196 ("[i" ?,Bm(B) | |
197 ("[l" ?,Be(B) | |
198 ("[[l" ?,B5(B) | |
199 ("[n" ?,Br(B) | |
200 ("[[n" ?,Br(B) | |
201 ("[o" ?,Bs(B) | |
202 ("[[o" ?,Bt(B) | |
203 ("[[[o" ?,Bv(B) | |
204 ("[r" ?,B`(B) | |
205 ("[[r" ?,Bx(B) | |
206 ("[s" ?,B9(B) | |
207 ("[[s" ?,B9(B) | |
208 ("[[[s" ?,B_(B) | |
209 ("[t" ?,B;(B) | |
210 ("[[t" ?,B;(B) | |
211 ("[u" ?,Bz(B) | |
212 ("[[u" ?,By(B) | |
213 ("[[[u" ?,B|(B) | |
214 ("[y" ?,B}(B) | |
215 ("[z" ?,B>(B) | |
216 ("[[z" ?,B>(B) | |
217 ("[A" ?,BA(B) | |
218 ("[[A" ?,BD(B) | |
219 ("[[[A" ?,BD(B) | |
220 ("[C" ?,BH(B) | |
221 ("[[C" ?,BH(B) | |
222 ("[D" ?,BO(B) | |
223 ("[[D" ?,BO(B) | |
224 ("[E" ?,BI(B) | |
225 ("[[E" ?,BL(B) | |
226 ("[I" ?,BM(B) | |
227 ("[L" ?,BE(B) | |
228 ("[[L" ?,B%(B) | |
229 ("[N" ?,BR(B) | |
230 ("[[N" ?,BR(B) | |
231 ("[O" ?,BS(B) | |
232 ("[[O" ?,BT(B) | |
233 ("[[[O" ?,BV(B) | |
234 ("[R" ?,B@(B) | |
235 ("[[R" ?,BX(B) | |
236 ("[S" ?,B)(B) | |
237 ("[[S" ?,B)(B) | |
238 ("[[[S" ?,B_(B) | |
239 ("[T" ?,B+(B) | |
240 ("[[T" ?,B+(B) | |
241 ("[U" ?,BZ(B) | |
242 ("[[U" ?,BY(B) | |
243 ("[[[U" ?,B\(B) | |
244 ("[Y" ?,B](B) | |
245 ("[Z" ?,B.(B) | |
246 ("[[Z" ?,B.(B) | |
247 ([kp-1] ?1) | |
248 ([kp-2] ?2) | |
249 ([kp-3] ?3) | |
250 ([kp-4] ?4) | |
251 ([kp-5] ?5) | |
252 ([kp-6] ?6) | |
253 ([kp-7] ?7) | |
254 ([kp-8] ?8) | |
255 ([kp-9] ?9) | |
256 ([kp-0] ?0) | |
257 ([kp-add] ?+)) | |
258 | |
259 | |
260 (quail-define-package | |
261 "slovak-prog-2" "Slovak" "SK" nil | |
262 "Slovak (non-standard) keyboard for programmers #2. | |
263 | |
264 All digits except of `1' are replaced by Slovak characters as on the standard | |
265 Slovak keyboard. | |
266 Dead keys are on `=' and `+'. | |
267 All other keys are the same as on standard US keyboard." | |
268 nil t nil nil nil nil nil nil nil nil t) | |
269 | |
270 (quail-define-rules | |
271 ("2" ?,B5(B) | |
272 ("3" ?,B9(B) | |
273 ("4" ?,Bh(B) | |
274 ("5" ?,B;(B) | |
275 ("6" ?,B>(B) | |
276 ("7" ?,B}(B) | |
277 ("8" ?,Ba(B) | |
278 ("9" ?,Bm(B) | |
279 ("0" ?,Bi(B) | |
280 ("==" ?=) | |
281 ("++" ?+) | |
282 ("=+" ?+) | |
283 ("=2" ?2) | |
284 ("=3" ?3) | |
285 ("=4" ?4) | |
286 ("=5" ?5) | |
287 ("=6" ?6) | |
288 ("=7" ?7) | |
289 ("=8" ?8) | |
290 ("=9" ?9) | |
291 ("=0" ?0) | |
292 ("+2" ?2) | |
293 ("+3" ?3) | |
294 ("+4" ?4) | |
295 ("+5" ?5) | |
296 ("+6" ?6) | |
297 ("+7" ?7) | |
298 ("+8" ?8) | |
299 ("+9" ?9) | |
300 ("+0" ?0) | |
301 ("=a" ?,Ba(B) | |
302 ("+a" ?,Bd(B) | |
303 ("+=a" ?,Bd(B) | |
304 ("+c" ?,Bh(B) | |
305 ("+d" ?,Bo(B) | |
306 ("=e" ?,Bi(B) | |
307 ("+e" ?,Bl(B) | |
308 ("=i" ?,Bm(B) | |
309 ("=l" ?,Be(B) | |
310 ("+l" ?,B5(B) | |
311 ("+n" ?,Br(B) | |
312 ("=o" ?,Bs(B) | |
313 ("+o" ?,Bt(B) | |
314 ("+=o" ?,Bv(B) | |
315 ("=r" ?,B`(B) | |
316 ("+r" ?,Bx(B) | |
317 ("=s" ?,B_(B) | |
318 ("+s" ?,B9(B) | |
319 ("+t" ?,B;(B) | |
320 ("=u" ?,Bz(B) | |
321 ("+u" ?,By(B) | |
322 ("+=u" ?,B|(B) | |
323 ("=y" ?,B}(B) | |
324 ("+z" ?,B>(B) | |
325 ("=A" ?,BA(B) | |
326 ("+A" ?,BD(B) | |
327 ("+=A" ?,BD(B) | |
328 ("+C" ?,BH(B) | |
329 ("+D" ?,BO(B) | |
330 ("=E" ?,BI(B) | |
331 ("+E" ?,BL(B) | |
332 ("=I" ?,BM(B) | |
333 ("=L" ?,BE(B) | |
334 ("+L" ?,B%(B) | |
335 ("+N" ?,BR(B) | |
336 ("=O" ?,BS(B) | |
337 ("+O" ?,BT(B) | |
338 ("+=O" ?,BV(B) | |
339 ("=R" ?,B@(B) | |
340 ("+R" ?,BX(B) | |
341 ("=S" ?,B_(B) | |
342 ("+S" ?,B)(B) | |
343 ("+T" ?,B+(B) | |
344 ("=U" ?,BZ(B) | |
345 ("+U" ?,BY(B) | |
346 ("+=U" ?,B\(B) | |
347 ("=Y" ?,B](B) | |
348 ("+Z" ?,B.(B) | |
349 ([kp-1] ?1) | |
350 ([kp-2] ?2) | |
351 ([kp-3] ?3) | |
352 ([kp-4] ?4) | |
353 ([kp-5] ?5) | |
354 ([kp-6] ?6) | |
355 ([kp-7] ?7) | |
356 ([kp-8] ?8) | |
357 ([kp-9] ?9) | |
358 ([kp-0] ?0) | |
359 ([kp-add] ?+)) | |
360 | |
361 | |
362 (quail-define-package | |
363 "slovak-prog-3" "Slovak" "SK" nil | |
364 "Slovak (non-standard) keyboard for programmers #3. | |
365 | |
366 Dead keys are on `[', `[[', `[[[', and `]'. | |
367 All other keys are the same as on standard US keyboard." | |
368 nil t nil nil nil nil nil nil nil nil t) | |
369 | |
370 (quail-define-rules | |
371 ("[[[[" ?\[) | |
372 ("[]" ?\]) | |
373 ("][" ?\[) | |
374 ("]]" ?\]) | |
375 ("[a" ?,Ba(B) | |
376 ("[[a" ?,Bd(B) | |
377 ("[[[a" ?,Bd(B) | |
378 ("]a" ?,Bd(B) | |
379 ("][a" ?,Bd(B) | |
380 ("[c" ?,Bh(B) | |
381 ("[[c" ?,Bh(B) | |
382 ("]c" ?,Bh(B) | |
383 ("[d" ?,Bo(B) | |
384 ("[[d" ?,Bo(B) | |
385 ("]d" ?,Bo(B) | |
386 ("[e" ?,Bi(B) | |
387 ("[[e" ?,Bl(B) | |
388 ("]e" ?,Bl(B) | |
389 ("[i" ?,Bm(B) | |
390 ("[l" ?,Be(B) | |
391 ("[[l" ?,B5(B) | |
392 ("]l" ?,B5(B) | |
393 ("[n" ?,Br(B) | |
394 ("[[n" ?,Br(B) | |
395 ("]n" ?,Br(B) | |
396 ("[[o" ?,Bt(B) | |
397 ("[[[o" ?,Bv(B) | |
398 ("[o" ?,Bs(B) | |
399 ("]o" ?,Bt(B) | |
400 ("][o" ?,Bv(B) | |
401 ("[r" ?,B`(B) | |
402 ("[[r" ?,Bx(B) | |
403 ("]r" ?,Bx(B) | |
404 ("[s" ?,B9(B) | |
405 ("[[s" ?,B9(B) | |
406 ("[[[s" ?,B_(B) | |
407 ("]s" ?,B9(B) | |
408 ("[t" ?,B;(B) | |
409 ("[[t" ?,B;(B) | |
410 ("]t" ?,B;(B) | |
411 ("[u" ?,Bz(B) | |
412 ("[[u" ?,By(B) | |
413 ("[[[u" ?,B|(B) | |
414 ("]u" ?,By(B) | |
415 ("][u" ?,B|(B) | |
416 ("[y" ?,B}(B) | |
417 ("[z" ?,B>(B) | |
418 ("[[z" ?,B>(B) | |
419 ("]z" ?,B>(B) | |
420 ("[A" ?,BA(B) | |
421 ("[[A" ?,BD(B) | |
422 ("[[[A" ?,BD(B) | |
423 ("]A" ?,BD(B) | |
424 ("][A" ?,BD(B) | |
425 ("[C" ?,BH(B) | |
426 ("[[C" ?,BH(B) | |
427 ("]C" ?,BH(B) | |
428 ("[D" ?,BO(B) | |
429 ("[[D" ?,BO(B) | |
430 ("]D" ?,BO(B) | |
431 ("[E" ?,BI(B) | |
432 ("[[E" ?,BL(B) | |
433 ("]E" ?,BL(B) | |
434 ("[I" ?,BM(B) | |
435 ("[L" ?,BE(B) | |
436 ("[[L" ?,B%(B) | |
437 ("]L" ?,B%(B) | |
438 ("[N" ?,BR(B) | |
439 ("[[N" ?,BR(B) | |
440 ("]N" ?,BR(B) | |
441 ("[O" ?,BS(B) | |
442 ("[[O" ?,BT(B) | |
443 ("[[[O" ?,BV(B) | |
444 ("]O" ?,BT(B) | |
445 ("][O" ?,BV(B) | |
446 ("[R" ?,B@(B) | |
447 ("[[R" ?,BX(B) | |
448 ("]R" ?,BX(B) | |
449 ("[S" ?,B)(B) | |
450 ("[[S" ?,B)(B) | |
451 ("[[[S" ?,B_(B) | |
452 ("]S" ?,B)(B) | |
453 ("[T" ?,B+(B) | |
454 ("[[T" ?,B+(B) | |
455 ("]T" ?,B+(B) | |
456 ("[U" ?,BZ(B) | |
457 ("[[U" ?,BY(B) | |
458 ("[[[U" ?,B\(B) | |
459 ("]U" ?,BY(B) | |
460 ("][U" ?,B\(B) | |
461 ("[Y" ?,B](B) | |
462 ("[Z" ?,B.(B) | |
463 ("[[Z" ?,B.(B) | |
464 ("]Z" ?,B.(B) | |
465 ([kp-1] ?1) | |
466 ([kp-2] ?2) | |
467 ([kp-3] ?3) | |
468 ([kp-4] ?4) | |
469 ([kp-5] ?5) | |
470 ([kp-6] ?6) | |
471 ([kp-7] ?7) | |
472 ([kp-8] ?8) | |
473 ([kp-9] ?9) | |
474 ([kp-0] ?0) | |
475 ([kp-add] ?+)) |