Use `declare' in defmacros.
[emacs.git] / leim / quail / slovak.el
blobc6c583781b2dd4924404dd85889a28e2065356ec
1 ;;; slovak.el --- Quail package for inputting Slovak -*-coding: iso-2022-7bit;-*-
3 ;; Copyright (C) 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4 ;; Free Software Foundation, Inc.
6 ;; Authors: Tibor \e,B)\e(Bimko <tibor.simko@fmph.uniba.sk>
7 ;; Milan Zamazal <pdm@zamazal.org>
8 ;; Maintainer: Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
9 ;; Keywords: i18n, multilingual, input method, Slovak
11 ;; This file is part of GNU Emacs.
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 3 of the License, or
16 ;; (at your option) any later version.
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.
23 ;; You should have received a copy of the GNU General Public License
24 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
26 ;;; Commentary:
28 ;; This file defines the following Slovak keyboards:
29 ;; - standard Slovak keyboard
30 ;; - three Slovak keyboards for programmers
32 ;;; Code:
34 (require 'quail)
37 (quail-define-package
38 "slovak" "Slovak" "SK" t
39 "Standard Slovak keyboard."
40 nil t nil nil t nil nil nil nil nil t)
42 (quail-define-rules
43 ("1" ?+)
44 ("2" ?\e,B5\e(B)
45 ("3" ?\e,B9\e(B)
46 ("4" ?\e,Bh\e(B)
47 ("5" ?\e,B;\e(B)
48 ("6" ?\e,B>\e(B)
49 ("7" ?\e,B}\e(B)
50 ("8" ?\e,Ba\e(B)
51 ("9" ?\e,Bm\e(B)
52 ("0" ?\e,Bi\e(B)
53 ("!" ?1)
54 ("@" ?2)
55 ("#" ?3)
56 ("$" ?4)
57 ("%" ?5)
58 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B)
119 ("=L" ?\e,BE\e(B)
120 ("+L" ?\e,B%\e(B)
121 ("+N" ?\e,BR\e(B)
122 ("=O" ?\e,BS\e(B)
123 ("+O" ?\e,BT\e(B)
124 ("~O" ?\e,BT\e(B)
125 ("+=O" ?\e,BV\e(B)
126 ("=R" ?\e,B@\e(B)
127 ("+R" ?\e,BX\e(B)
128 ("=S" ?\e,B_\e(B)
129 ("+S" ?\e,B)\e(B)
130 ("+T" ?\e,B+\e(B)
131 ("=U" ?\e,BZ\e(B)
132 ("+U" ?\e,BY\e(B)
133 ("+=U" ?\e,B\\e(B)
134 ("=Z" ?\e,B]\e(B)
135 ("+Y" ?\e,B.\e(B)
136 ("=q" ?`)
137 ("=2" ?@)
138 ("=3" ?#)
139 ("=4" ?$)
140 ("=5" ?%)
141 ("=6" ?^)
142 ("=7" ?&)
143 ("=8" ?*)
144 ("=9" ?\()
145 ("=0" ?\))
146 ("+1" ?!)
147 ("+2" ?@)
148 ("+3" ?#)
149 ("+4" ?$)
150 ("+5" ?%)
151 ("+6" ?^)
152 ("+7" ?&)
153 ("+8" ?*)
154 ("+9" ?\()
155 ("+0" ?\))
156 ([kp-1] ?1)
157 ([kp-2] ?2)
158 ([kp-3] ?3)
159 ([kp-4] ?4)
160 ([kp-5] ?5)
161 ([kp-6] ?6)
162 ([kp-7] ?7)
163 ([kp-8] ?8)
164 ([kp-9] ?9)
165 ([kp-0] ?0)
166 ([kp-add] ?+))
169 (quail-define-package
170 "slovak-prog-1" "Slovak" "SK" t
171 "Slovak (non-standard) keyboard for programmers #1.
173 All digits except of `1' are replaced by Slovak characters as on the standard
174 Slovak keyboard.
175 Dead keys are on `[', `[[', and `[[['.
176 All other keys are the same as on standard US keyboard."
177 nil t nil nil t nil nil nil nil nil t)
179 (quail-define-rules
180 ("[[[[" ?\[)
181 ("2" ?\e,B5\e(B)
182 ("3" ?\e,B9\e(B)
183 ("4" ?\e,Bh\e(B)
184 ("5" ?\e,B;\e(B)
185 ("6" ?\e,B>\e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
235 ("[[O" ?\e,BT\e(B)
236 ("[[[O" ?\e,BV\e(B)
237 ("[R" ?\e,B@\e(B)
238 ("[[R" ?\e,BX\e(B)
239 ("[S" ?\e,B)\e(B)
240 ("[[S" ?\e,B)\e(B)
241 ("[[[S" ?\e,B_\e(B)
242 ("[T" ?\e,B+\e(B)
243 ("[[T" ?\e,B+\e(B)
244 ("[U" ?\e,BZ\e(B)
245 ("[[U" ?\e,BY\e(B)
246 ("[[[U" ?\e,B\\e(B)
247 ("[Y" ?\e,B]\e(B)
248 ("[Z" ?\e,B.\e(B)
249 ("[[Z" ?\e,B.\e(B)
250 ([kp-1] ?1)
251 ([kp-2] ?2)
252 ([kp-3] ?3)
253 ([kp-4] ?4)
254 ([kp-5] ?5)
255 ([kp-6] ?6)
256 ([kp-7] ?7)
257 ([kp-8] ?8)
258 ([kp-9] ?9)
259 ([kp-0] ?0)
260 ([kp-add] ?+))
263 (quail-define-package
264 "slovak-prog-2" "Slovak" "SK" t
265 "Slovak (non-standard) keyboard for programmers #2.
267 All digits except of `1' are replaced by Slovak characters as on the standard
268 Slovak keyboard.
269 Dead keys are on `=' and `+'.
270 All other keys are the same as on standard US keyboard."
271 nil t nil nil t nil nil nil nil nil t)
273 (quail-define-rules
274 ("2" ?\e,B5\e(B)
275 ("3" ?\e,B9\e(B)
276 ("4" ?\e,Bh\e(B)
277 ("5" ?\e,B;\e(B)
278 ("6" ?\e,B>\e(B)
279 ("7" ?\e,B}\e(B)
280 ("8" ?\e,Ba\e(B)
281 ("9" ?\e,Bm\e(B)
282 ("0" ?\e,Bi\e(B)
283 ("==" ?=)
284 ("++" ?+)
285 ("=+" ?+)
286 ("=2" ?2)
287 ("=3" ?3)
288 ("=4" ?4)
289 ("=5" ?5)
290 ("=6" ?6)
291 ("=7" ?7)
292 ("=8" ?8)
293 ("=9" ?9)
294 ("=0" ?0)
295 ("+2" ?2)
296 ("+3" ?3)
297 ("+4" ?4)
298 ("+5" ?5)
299 ("+6" ?6)
300 ("+7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 ([kp-1] ?1)
353 ([kp-2] ?2)
354 ([kp-3] ?3)
355 ([kp-4] ?4)
356 ([kp-5] ?5)
357 ([kp-6] ?6)
358 ([kp-7] ?7)
359 ([kp-8] ?8)
360 ([kp-9] ?9)
361 ([kp-0] ?0)
362 ([kp-add] ?+))
365 (quail-define-package
366 "slovak-prog-3" "Slovak" "SK" t
367 "Slovak (non-standard) keyboard for programmers #3.
369 Dead keys are on `[', `[[', `[[[', and `]'.
370 All other keys are the same as on standard US keyboard."
371 nil t nil nil t nil nil nil nil nil t)
373 (quail-define-rules
374 ("[[[[" ?\[)
375 ("[]" ?\])
376 ("][" ?\[)
377 ("]]" ?\])
378 ("[a" ?\e,Ba\e(B)
379 ("[[a" ?\e,Bd\e(B)
380 ("[[[a" ?\e,Bd\e(B)
381 ("]a" ?\e,Bd\e(B)
382 ("][a" ?\e,Bd\e(B)
383 ("[c" ?\e,Bh\e(B)
384 ("[[c" ?\e,Bh\e(B)
385 ("]c" ?\e,Bh\e(B)
386 ("[d" ?\e,Bo\e(B)
387 ("[[d" ?\e,Bo\e(B)
388 ("]d" ?\e,Bo\e(B)
389 ("[e" ?\e,Bi\e(B)
390 ("[[e" ?\e,Bl\e(B)
391 ("]e" ?\e,Bl\e(B)
392 ("[i" ?\e,Bm\e(B)
393 ("[l" ?\e,Be\e(B)
394 ("[[l" ?\e,B5\e(B)
395 ("]l" ?\e,B5\e(B)
396 ("[n" ?\e,Br\e(B)
397 ("[[n" ?\e,Br\e(B)
398 ("]n" ?\e,Br\e(B)
399 ("[[o" ?\e,Bt\e(B)
400 ("[[[o" ?\e,Bv\e(B)
401 ("[o" ?\e,Bs\e(B)
402 ("]o" ?\e,Bt\e(B)
403 ("][o" ?\e,Bv\e(B)
404 ("[r" ?\e,B`\e(B)
405 ("[[r" ?\e,Bx\e(B)
406 ("]r" ?\e,Bx\e(B)
407 ("[s" ?\e,B9\e(B)
408 ("[[s" ?\e,B9\e(B)
409 ("[[[s" ?\e,B_\e(B)
410 ("]s" ?\e,B9\e(B)
411 ("[t" ?\e,B;\e(B)
412 ("[[t" ?\e,B;\e(B)
413 ("]t" ?\e,B;\e(B)
414 ("[u" ?\e,Bz\e(B)
415 ("[[u" ?\e,By\e(B)
416 ("[[[u" ?\e,B|\e(B)
417 ("]u" ?\e,By\e(B)
418 ("][u" ?\e,B|\e(B)
419 ("[y" ?\e,B}\e(B)
420 ("[z" ?\e,B>\e(B)
421 ("[[z" ?\e,B>\e(B)
422 ("]z" ?\e,B>\e(B)
423 ("[A" ?\e,BA\e(B)
424 ("[[A" ?\e,BD\e(B)
425 ("[[[A" ?\e,BD\e(B)
426 ("]A" ?\e,BD\e(B)
427 ("][A" ?\e,BD\e(B)
428 ("[C" ?\e,BH\e(B)
429 ("[[C" ?\e,BH\e(B)
430 ("]C" ?\e,BH\e(B)
431 ("[D" ?\e,BO\e(B)
432 ("[[D" ?\e,BO\e(B)
433 ("]D" ?\e,BO\e(B)
434 ("[E" ?\e,BI\e(B)
435 ("[[E" ?\e,BL\e(B)
436 ("]E" ?\e,BL\e(B)
437 ("[I" ?\e,BM\e(B)
438 ("[L" ?\e,BE\e(B)
439 ("[[L" ?\e,B%\e(B)
440 ("]L" ?\e,B%\e(B)
441 ("[N" ?\e,BR\e(B)
442 ("[[N" ?\e,BR\e(B)
443 ("]N" ?\e,BR\e(B)
444 ("[O" ?\e,BS\e(B)
445 ("[[O" ?\e,BT\e(B)
446 ("[[[O" ?\e,BV\e(B)
447 ("]O" ?\e,BT\e(B)
448 ("][O" ?\e,BV\e(B)
449 ("[R" ?\e,B@\e(B)
450 ("[[R" ?\e,BX\e(B)
451 ("]R" ?\e,BX\e(B)
452 ("[S" ?\e,B)\e(B)
453 ("[[S" ?\e,B)\e(B)
454 ("[[[S" ?\e,B_\e(B)
455 ("]S" ?\e,B)\e(B)
456 ("[T" ?\e,B+\e(B)
457 ("[[T" ?\e,B+\e(B)
458 ("]T" ?\e,B+\e(B)
459 ("[U" ?\e,BZ\e(B)
460 ("[[U" ?\e,BY\e(B)
461 ("[[[U" ?\e,B\\e(B)
462 ("]U" ?\e,BY\e(B)
463 ("][U" ?\e,B\\e(B)
464 ("[Y" ?\e,B]\e(B)
465 ("[Z" ?\e,B.\e(B)
466 ("[[Z" ?\e,B.\e(B)
467 ("]Z" ?\e,B.\e(B)
468 ([kp-1] ?1)
469 ([kp-2] ?2)
470 ([kp-3] ?3)
471 ([kp-4] ?4)
472 ([kp-5] ?5)
473 ([kp-6] ?6)
474 ([kp-7] ?7)
475 ([kp-8] ?8)
476 ([kp-9] ?9)
477 ([kp-0] ?0)
478 ([kp-add] ?+))
480 ;; arch-tag: 8aedb992-e191-4eec-ad0d-71a352e02a3d
481 ;;; slovak.el ends here