Add current-line in simple.el
[emacs.git] / lisp / leim / quail / czech.el
blob762d702f43506b2434426894d666ec762ba66c58
1 ;;; czech.el --- Quail package for inputting Czech -*-coding: utf-8;-*-
3 ;; Copyright (C) 1998, 2001-2017 Free Software Foundation, Inc.
5 ;; Author: Milan Zamazal <pdm@zamazal.org>
6 ;; Maintainer: Pavel Janík <Pavel@Janik.cz>
7 ;; Keywords: i18n, multilingual, input method, Czech
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
24 ;;; Commentary:
26 ;; This file defines the following Czech keyboards:
27 ;; - "standard" Czech keyboard in the Windoze NT 105 keys version (both
28 ;; "QWERTZ" and "QWERTY" versions)
29 ;; - three non-standard Czech keyboards for programmers
31 ;;; Code:
33 (require 'quail)
36 (quail-define-package
37 "czech" "Czech" "CZ" t
38 "\"Standard\" Czech keyboard in the Windows NT 105 keys version."
39 nil t t t t nil nil nil nil nil t)
41 (quail-define-rules
42 ("1" ?+)
43 ("2")
44 ("3")
45 ("4")
46 ("5")
47 ("6")
48 ("7")
49 ("8")
50 ("9")
51 ("0")
52 ("!" ?1)
53 ("@" ?2)
54 ("#" ?3)
55 ("$" ?4)
56 ("%" ?5)
57 ("^" ?6)
58 ("&" ?7)
59 ("*" ?8)
60 ("(" ?9)
61 (")" ?0)
62 ("-" ?=)
63 ("_" ?%)
64 ("[")
65 ("{" ?/)
66 ("]" ?\))
67 ("}" ?\()
68 ("|" ?`)
69 (";")
70 (":" ?\")
71 ("'")
72 ("\"" ?!)
73 ("<" ??)
74 (">" ?:)
75 ("/" ?-)
76 ("?" ?_)
77 ("`" ?\;)
78 ("y" ?z)
79 ("z" ?y)
80 ("Y" ?Z)
81 ("Z" ?Y)
82 ("\\a")
83 ("\\o")
84 ("\\s")
85 ("\\u")
86 ("\\A")
87 ("\\O")
88 ("\\S")
89 ("\\U")
90 ("~u")
91 ("~U")
92 ("=a")
93 ("+c")
94 ("+d")
95 ("=e")
96 ("+e")
97 ("=i")
98 ("+n")
99 ("=o")
100 ("+r")
101 ("+s")
102 ("+t")
103 ("=u")
104 ("=z")
105 ("+y")
106 ("=A")
107 ("+C")
108 ("+D")
109 ("=E")
110 ("+E")
111 ("=I")
112 ("+N")
113 ("=O")
114 ("+R")
115 ("+S")
116 ("+T")
117 ("=U")
118 ("=Z")
119 ("+Y")
120 ("=1" ?!)
121 ("=2" ?@)
122 ("=3" ?#)
123 ("=4" ?$)
124 ("=5" ?%)
125 ("=6" ?^)
126 ("=7" ?&)
127 ("=8" ?*)
128 ("=9" ?\()
129 ("=0" ?\))
130 ("+1" ?!)
131 ("+2" ?@)
132 ("+3" ?#)
133 ("+4" ?$)
134 ("+5" ?%)
135 ("+6" ?^)
136 ("+7" ?&)
137 ("+8" ?*)
138 ("+9" ?\()
139 ("+0" ?\))
140 ("=<" ?<)
141 ("=>" ?>)
142 ("=[" ?\[)
143 ("=]" ?\])
144 ("={" ?{)
145 ("=}" ?}))
147 (quail-define-package
148 "czech-qwerty" "Czech" "CZ" t
149 "\"Standard\" Czech keyboard in the Windows NT 105 keys version, QWERTY layout."
150 nil t nil nil t nil nil nil nil nil t)
152 (quail-define-rules
153 ("1" ?+)
154 ("2")
155 ("3")
156 ("4")
157 ("5")
158 ("6")
159 ("7")
160 ("8")
161 ("9")
162 ("0")
163 ("!" ?1)
164 ("@" ?2)
165 ("#" ?3)
166 ("$" ?4)
167 ("%" ?5)
168 ("^" ?6)
169 ("&" ?7)
170 ("*" ?8)
171 ("(" ?9)
172 (")" ?0)
173 ("-" ?=)
174 ("_" ?%)
175 ("[")
176 ("{" ?/)
177 ("]" ?\))
178 ("}" ?\()
179 ("|" ?`)
180 (";")
181 (":" ?\")
182 ("'")
183 ("\"" ?!)
184 ("<" ??)
185 (">" ?:)
186 ("/" ?-)
187 ("?" ?_)
188 ("`" ?\;)
189 ("\\a")
190 ("\\o")
191 ("\\s")
192 ("\\u")
193 ("\\A")
194 ("\\O")
195 ("\\S")
196 ("\\U")
197 ("~u")
198 ("~U")
199 ("=a")
200 ("+c")
201 ("+d")
202 ("=e")
203 ("+e")
204 ("=i")
205 ("+n")
206 ("=o")
207 ("+r")
208 ("+s")
209 ("+t")
210 ("=u")
211 ("=y")
212 ("+z")
213 ("=A")
214 ("+C")
215 ("+D")
216 ("=E")
217 ("+E")
218 ("=I")
219 ("+N")
220 ("=O")
221 ("+R")
222 ("+S")
223 ("+T")
224 ("=Y")
225 ("+Z")
226 ("=U")
227 ("=1" ?!)
228 ("=2" ?@)
229 ("=3" ?#)
230 ("=4" ?$)
231 ("=5" ?%)
232 ("=6" ?^)
233 ("=7" ?&)
234 ("=8" ?*)
235 ("=9" ?\()
236 ("=0" ?\))
237 ("+1" ?!)
238 ("+2" ?@)
239 ("+3" ?#)
240 ("+4" ?$)
241 ("+5" ?%)
242 ("+6" ?^)
243 ("+7" ?&)
244 ("+8" ?*)
245 ("+9" ?\()
246 ("+0" ?\))
247 ("=<" ?<)
248 ("=>" ?>)
249 ("=[" ?\[)
250 ("=]" ?\])
251 ("={" ?{)
252 ("=}" ?}))
254 (quail-define-package
255 "czech-prog-1" "Czech" "CZ" t
256 "Czech (non-standard) keyboard for programmers #1.
258 All digits except of `1' are replaced by Czech characters as on the standard
259 Czech keyboard.
260 `1' is replaced by `+'.
261 `+' is a dead key. Multiple presses of the dead key generate various accents.
262 All other keys are the same as on standard US keyboard."
263 nil t nil nil t nil nil nil nil nil t)
265 (quail-define-rules
266 ("1" ?+)
267 ("2")
268 ("3")
269 ("4")
270 ("5")
271 ("6")
272 ("7")
273 ("8")
274 ("9")
275 ("0")
276 ("+1" ?1)
277 ("+2" ?2)
278 ("+3" ?3)
279 ("+4" ?4)
280 ("+5" ?5)
281 ("+6" ?6)
282 ("+7" ?7)
283 ("+8" ?8)
284 ("+9" ?9)
285 ("+0" ?0)
286 ("+a")
287 ("++a")
288 ("+c")
289 ("+d")
290 ("+e")
291 ("++e")
292 ("+i")
293 ("+l")
294 ("++l")
295 ("+n")
296 ("+o")
297 ("++o")
298 ("+++o")
299 ("+r")
300 ("++r")
301 ("+s")
302 ("++s")
303 ("+t")
304 ("+u")
305 ("++u")
306 ("+++u")
307 ("+y")
308 ("+z")
309 ("+A")
310 ("++A")
311 ("+C")
312 ("+D")
313 ("+E")
314 ("++E")
315 ("+I")
316 ("+L")
317 ("++L")
318 ("+N")
319 ("+O")
320 ("++O")
321 ("+++O")
322 ("+R")
323 ("++R")
324 ("+S")
325 ("++S")
326 ("+T")
327 ("+U")
328 ("++U")
329 ("+++U")
330 ("+Y")
331 ("+Z"))
333 (quail-define-package
334 "czech-prog-2" "Czech" "CZ" t
335 "Czech (non-standard) keyboard for programmers #2.
337 All digits except of `1' are replaced by Czech characters as on the standard
338 Czech keyboard.
339 `1' is replaced by `ů'.
340 `+' is a dead key. Multiple presses of the dead key generate various accents.
341 All other keys are the same as on standard US keyboard."
342 nil t nil nil t nil nil nil nil nil t)
344 (quail-define-rules
345 ("1")
346 ("2")
347 ("3")
348 ("4")
349 ("5")
350 ("6")
351 ("7")
352 ("8")
353 ("9")
354 ("0")
355 ("+1" ?1)
356 ("+2" ?2)
357 ("+3" ?3)
358 ("+4" ?4)
359 ("+5" ?5)
360 ("+6" ?6)
361 ("+7" ?7)
362 ("+8" ?8)
363 ("+9" ?9)
364 ("+0" ?0)
365 ("+a")
366 ("++a")
367 ("+c")
368 ("+d")
369 ("+e")
370 ("++e")
371 ("+i")
372 ("+l")
373 ("++l")
374 ("+n")
375 ("+o")
376 ("++o")
377 ("+++o")
378 ("+r")
379 ("++r")
380 ("+s")
381 ("++s")
382 ("+t")
383 ("+u")
384 ("++u")
385 ("+++u")
386 ("+y")
387 ("+z")
388 ("+A")
389 ("++A")
390 ("+C")
391 ("+D")
392 ("+E")
393 ("++E")
394 ("+I")
395 ("+L")
396 ("++L")
397 ("+N")
398 ("+O")
399 ("++O")
400 ("+++O")
401 ("+R")
402 ("++R")
403 ("+S")
404 ("++S")
405 ("+T")
406 ("+U")
407 ("++U")
408 ("+++U")
409 ("+Y")
410 ("+Z"))
412 (quail-define-package
413 "czech-prog-3" "Czech" "CZ" t
414 "Czech (non-standard) keyboard for programmers compatible with the default
415 keyboard from the obsolete `emacs-czech' package.
417 All digits except of `1' are replaced by Czech characters as on the standard
418 Czech keyboard.
419 `[' and `]' are replaced with `ú' and `ů', respectively.
420 There are two dead keys on `=' and `+'. Characters with diaereses are
421 accessible through `+='.
422 All other keys are the same as on standard US keyboard."
423 nil t nil nil t nil nil nil nil nil t)
425 (quail-define-rules
426 ("2")
427 ("3")
428 ("4")
429 ("5")
430 ("6")
431 ("7")
432 ("8")
433 ("9")
434 ("0")
435 ("[")
436 ("]")
437 ("==" ?=)
438 ("++" ?+)
439 ("=+" ?+)
440 ("=[" ?\[)
441 ("=]" ?\])
442 ("+[" ?\[)
443 ("+]" ?\])
444 ("=1" ?1)
445 ("=2" ?2)
446 ("=3" ?3)
447 ("=4" ?4)
448 ("=5" ?5)
449 ("=6" ?6)
450 ("=7" ?7)
451 ("=8" ?8)
452 ("=9" ?9)
453 ("=0" ?0)
454 ("+1" ?1)
455 ("+2" ?2)
456 ("+3" ?3)
457 ("+4" ?4)
458 ("+5" ?5)
459 ("+6" ?6)
460 ("+7" ?7)
461 ("+8" ?8)
462 ("+9" ?9)
463 ("+0" ?0)
464 ("=A")
465 ("+A")
466 ("+=A")
467 ("+C")
468 ("+D")
469 ("=E")
470 ("+E")
471 ("=I")
472 ("=L")
473 ("+L")
474 ("+N")
475 ("=O")
476 ("+O")
477 ("+=O")
478 ("=R")
479 ("+R")
480 ("+S")
481 ("=S")
482 ("+T")
483 ("=U")
484 ("+U")
485 ("+=U")
486 ("=Y")
487 ("+Z")
488 ("=a")
489 ("+a")
490 ("+=a")
491 ("+c")
492 ("+d")
493 ("=e")
494 ("+e")
495 ("=i")
496 ("=l")
497 ("+l")
498 ("+n")
499 ("=o")
500 ("+o")
501 ("+=o")
502 ("=r")
503 ("+r")
504 ("+s")
505 ("=s")
506 ("+t")
507 ("=u")
508 ("+u")
509 ("+=u")
510 ("=y")
511 ("+z"))
513 ;;; czech.el ends here