1 ;;; latin-pre.el --- Quail packages for inputting various European characters -*-coding: iso-2022-7bit;-*-
3 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
5 ;; Free Software Foundation, Inc.
6 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
8 ;; National Institute of Advanced Industrial Science and Technology (AIST)
9 ;; Registration Number H14PRO021
11 ;; Keywords: mule, multilingual, latin, input method
13 ;; This file is part of GNU Emacs.
15 ;; GNU Emacs is free software; you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation; either version 3, or (at your option)
20 ;; GNU Emacs is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;; GNU General Public License for more details.
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs; see the file COPYING. If not, write to the
27 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
28 ;; Boston, MA 02110-1301, USA.
32 ;; Key translation maps were originally copied from iso-acc.el.
33 ;; latin-1-prefix: extra special characters added, adapted from the vim
34 ;; digraphs (from J.H.M.Dassen <jdassen@wi.leidenuniv.nl>)
35 ;; by R.F. Smith <rsmith@xs4all.nl>
38 ;; Author: W
\e,B3
\e(Bodek Bzyl <matwb@univ.gda.pl>
39 ;; Maintainer: W
\e,B3
\e(Bodek Bzyl <matwb@univ.gda.pl>
41 ;; latin-[89]-prefix: Dave Love <fx@gnu.org>
43 ;; You might make extra input sequences on the basis of the X
44 ;; locale/*/Compose files (which have both prefix and postfix
45 ;; sequences), but bear in mind that sequences which are logical in
46 ;; that context may not be sensible when they're not signalled with
47 ;; the Compose key. An example is a double space for NBSP.
54 "latin-1-prefix" "Latin-1" "1>" t
55 "Latin-1 characters input method with prefix modifiers
57 effect | prefix | examples
58 ------------+--------+----------
59 acute | ' | 'a ->
\e,Aa
\e(B, '' ->
\e,A4
\e(B
60 grave | ` | `a ->
\e,A`
\e(B
61 circumflex | ^ | ^a ->
\e,Ab
\e(B
62 diaeresis | \" | \"a ->
\e,Ad
\e(B \"\" ->
\e,A(
\e(B
63 tilde | ~ | ~a ->
\e,Ac
\e(B
64 cedilla | ~ | ~c ->
\e,Ag
\e(B
65 misc | \" ~ / | \"s ->
\e,A_
\e(B ~d ->
\e,Ap
\e(B ~t ->
\e,A~
\e(B /a ->
\e,Ae
\e(B /e ->
\e,Af
\e(B /o ->
\e,Ax
\e(B
66 symbol | ~ | ~> ->
\e,A;
\e(B ~< ->
\e,A+
\e(B ~! ->
\e,A!
\e(B ~? ->
\e,A?
\e(B ~~ ->
\e,A8
\e(B
67 | ~ | ~s ->
\e,A'
\e(B ~x ->
\e,A$
\e(B ~. ->
\e,A7
\e(B ~$ ->
\e,A#
\e(B ~u ->
\e,A5
\e(B
68 | ~ | ~p ->
\e,A6
\e(B ~- ->
\e,A-
\e(B ~= ->
\e,A/
\e(B ~| ->
\e,A&
\e(B
69 symbol | _ / | _o ->
\e,A:
\e(B _a ->
\e,A*
\e(B // ->
\e,A0
\e(B /\\ ->
\e,AW
\e(B _y ->
\e,A%
\e(B
70 | _ / | _: ->
\e,Aw
\e(B /c ->
\e,A"
\e(B /2 ->
\e,A=
\e(B /4 ->
\e,A<
\e(B /3 ->
\e,A>
\e(B
71 | _ / | /= ->
\e,A,
\e(B
72 symbol | ^ | ^r ->
\e,A.
\e(B ^c ->
\e,A)
\e(B ^1 ->
\e,A9
\e(B ^2 ->
\e,A2
\e(B ^3 ->
\e,A3
\e(B
73 " nil t nil nil nil nil nil nil nil nil t)
157 ;; Symbols added by Roland Smith <rsmith@xs4all.nl>
184 (quail-define-package
185 "catalan-prefix" "Latin-1" "CA>" t
186 "Catalan and Spanish input method with prefix modifiers
188 effect | prefix | examples
189 ------------+--------+----------
190 acute | ' | 'a ->
\e,Aa
\e(B '' ->
\e,A4
\e(B
191 grave | ` | `a ->
\e,A`
\e(B
192 diaeresis | \" | \"i ->
\e,Ao
\e(B \"\" ->
\e,A(
\e(B
193 tilde | ~ | ~n ->
\e,Aq
\e(B
194 cedilla | ~ | ~c ->
\e,Ag
\e(B
195 symbol | ~ | ~> ->
\e,A;
\e(B ~< ->
\e,A+
\e(B ~! ->
\e,A!
\e(B ~? ->
\e,A?
\e(B
196 " nil t nil nil nil nil nil nil nil nil t)
233 (quail-define-package
234 "esperanto-prefix" "Latin-3" "EO>" t
235 "Esperanto input method with prefix modifiers
236 Key translation rules are:
237 ^H -> ?
\e,C&
\e(B ^J -> ?
\e,C,
\e(B ^h -> ?
\e,C6
\e(B ^j -> ?
\e,C<
\e(B ^C -> ?
\e,CF
\e(B ^G -> ?
\e,CX
\e(B,
238 ^S -> ?
\e,C^
\e(B ^c -> ?
\e,Cf
\e(B ^g -> ?
\e,Cx
\e(B ^s -> ?
\e,C~
\e(B ~U -> ?
\e,C]
\e(B ~u -> ?
\e,C}
\e(B
239 " nil t nil nil nil nil nil nil nil nil t)
259 (quail-define-package
260 "french-prefix" "French" "FR>" t
261 "French (Fran
\e,Ag
\e(Bais) input method with prefix modifiers
263 effect | prefix | examples
264 ------------+--------+----------
265 acute | ' | 'e ->
\e,Ai
\e(B
266 grave | ` | `a ->
\e,A`
\e(B
267 circumflex | ^ | ^a ->
\e,Ab
\e(B
268 diaeresis | \" | \"i ->
\e,Ao
\e(B
269 cedilla | ~ or , | ~c ->
\e,Ag
\e(B ,c ->
\e,Ag
\e(B
270 symbol | ~ | ~> ->
\e,A;
\e(B ~< ->
\e,A+
\e(B
271 " nil t nil nil nil nil nil nil nil nil t)
312 (quail-define-package
313 "romanian-prefix" "Romanian" "RO>" t
314 "Romanian (rom
\e,Bb
\e(Bne
\e,B:
\e(Bte) input method with prefix modifiers
316 effect | prefix | examples
317 ------------+--------+------------------
318 tilde | ~ | ~a ->
\e,Bc
\e(B
319 circumflex | ^ | ^a ->
\e,Bb
\e(B, ^i ->
\e,Bn
\e(B
320 cedilla | , | ,s ->
\e,B:
\e(B, ,t ->
\e,B~
\e(B
324 " nil t nil nil nil nil nil nil nil nil t)
327 ("~A" ?
\e,BC
\e(B) ("~a" ?
\e,Bc
\e(B)
328 ("^A" ?
\e,BB
\e(B) ("^a" ?
\e,Bb
\e(B)
329 ("^I" ?
\e,BN
\e(B) ("^i" ?
\e,Bn
\e(B)
330 (",S" ?
\e,B*
\e(B) (",s" ?
\e,B:
\e(B)
331 (",T" ?
\e,B^
\e(B) (",t" ?
\e,B~
\e(B)
332 ("^^" ?^) ("~~" ?~) (",," ?,))
334 (quail-define-package
335 "romanian-alt-prefix" "Romanian" "RO>" t
336 "Alternative Romanian (rom
\e,Bb
\e(Bne
\e,B:
\e(Bte) input method with prefix modifiers
338 effect | prefix | examples
339 ------------+--------+------------------
340 tilde | \" | \"a ->
\e,Bb
\e(B
341 circumflex | ' | 'a ->
\e,Bb
\e(B, 'i ->
\e,Bn
\e(B
342 cedilla | ' | 's ->
\e,B:
\e(B, 't ->
\e,B~
\e(B
345 " nil t nil nil nil nil nil nil nil nil t)
348 ("'A" ?
\e,BC
\e(B) ("'a" ?
\e,Bc
\e(B)
349 ("\"A" ?
\e,BB
\e(B) ("\"a" ?
\e,Bb
\e(B)
350 ("'I" ?
\e,BN
\e(B) ("'i" ?
\e,Bn
\e(B)
351 ("'S" ?
\e,B*
\e(B) ("'s" ?
\e,B:
\e(B)
352 ("'T" ?
\e,B^
\e(B) ("'t" ?
\e,B~
\e(B)
353 ("''" ?') ("\"\"" ?\"))
355 (quail-define-package
356 "german-prefix" "German" "DE>" t
357 "German (Deutsch) input method with prefix modifiers
358 Key translation rules are:
359 \"A ->
\e,AD
\e(B -> \"O ->
\e,AV
\e(B \"U ->
\e,A\
\e(B \"s ->
\e,A_
\e(B
360 " nil t nil nil nil nil nil nil nil nil t)
373 (quail-define-package
374 "irish-prefix" "Latin-1" "GA>" t
375 "Irish input method with prefix modifiers
376 Key translation rules are:
377 'A ->
\e,AA
\e(B 'E ->
\e,AI
\e(B 'I ->
\e,AM
\e(B 'O ->
\e,AS
\e(B 'U ->
\e,AZ
\e(B
378 " nil t nil nil nil nil nil nil nil nil t)
394 (quail-define-package
395 "portuguese-prefix" "Latin-1" "PT>" t
396 "Portuguese input method with prefix modifiers
398 effect | prefix | examples
399 ------------+--------+----------
400 acute | ' | 'a ->
\e,Aa
\e(B '' ->
\e,A4
\e(B
401 grave | ` | `a ->
\e,A`
\e(B
402 circumflex | ^ | ^a ->
\e,Ab
\e(B
403 diaeresis | \" | \"u ->
\e,A|
\e(B
404 tilde | ~ | ~a ->
\e,Ac
\e(B
405 cedilla | ' or , | 'c ->
\e,Ag
\e(B ,c ->
\e,Ag
\e(B
406 " nil t nil nil nil nil nil nil nil nil t)
445 (quail-define-package
446 "spanish-prefix" "Spanish" "ES>" t
447 "Spanish (Espa
\e,Aq
\e(Bol) input method with prefix modifiers
449 effect | prefix | examples
450 ------------+--------+----------
451 acute | ' | 'a ->
\e,Aa
\e(B
452 diaeresis | \" | \"u ->
\e,A|
\e(B
453 tilde | ~ | ~n ->
\e,Aq
\e(B
454 symbol | ~ | ~> ->
\e,A;
\e(B ~< ->
\e,A+
\e(B ~! ->
\e,A!
\e(B ~? ->
\e,A?
\e(B
455 " nil t nil nil nil nil nil nil nil nil t)
481 (quail-define-package
482 "latin-2-prefix" "Latin-2" "2>" t
483 "Latin-2 characters input method with prefix modifiers
485 effect | prefix | examples
486 ------------+--------+----------
487 acute | ' | 'a ->
\e,Ba
\e(B '' -> ?
\e,B4
\e(B
488 circumflex | ^ | ^a ->
\e,Bb
\e(B
489 diaeresis | \" | \"a ->
\e,Bd
\e(B \"\" ->
\e,B(
\e(B
490 breve | ~ | ~a ->
\e,Bc
\e(B
491 caron | ~ | ~c ->
\e,Bh
\e(B
492 cedilla | ` | `c ->
\e,Bg
\e(B `e -> ?
\e,Bj
\e(B
493 misc | ' ` ~ | 'd ->
\e,Bp
\e(B `l ->
\e,B3
\e(B `z ->
\e,B?
\e(B ~o ->
\e,Bu
\e(B ~u ->
\e,B{
\e(B
494 symbol | ~ | `. ->
\e,B
\7f\e(B ~~ ->
\e,B"
\e(B ~. -> ?
\e,B8
\e(B
495 " nil t nil nil nil nil nil nil nil nil t)
592 (quail-define-package
593 "latin-3-prefix" "Latin-3" "3>" t
594 "Latin-3 characters input method with prefix modifiers
596 effect | prefix | examples
597 ------------+--------+----------
598 acute | ' | 'a ->
\e,Ca
\e(B '' -> ?
\e,C4
\e(B
599 grave | ` | `a ->
\e,C`
\e(B
600 circumflex | ^ | ^a ->
\e,Cb
\e(B
601 diaeresis | \" | \"a ->
\e,Cd
\e(B \"\" ->
\e,C(
\e(B
602 cedilla | ~ | ~c ->
\e,Cg
\e(B ~s ->
\e,C:
\e(B ~~ ->
\e,C8
\e(B
603 dot above | / . | /g ->
\e,Cu
\e(B .o ->
\e,Cu
\e(B
604 misc | \" ~ / | \"s ->
\e,C_
\e(B ~g ->
\e,C;
\e(B ~u ->
\e,C}
\e(B /h ->
\e,C1
\e(B /i ->
\e,C9
\e(B
605 symbol | ~ | ~` ->
\e,C"
\e(B /# ->
\e,C#
\e(B /$ ->
\e,C$
\e(B // ->
\e,C0
\e(B
606 " nil t nil nil nil nil nil nil nil nil t)
706 (quail-define-package
707 "polish-slash" "Polish" "PL>" nil
708 "Polish diacritics and slash character are input as `/[acelnosxzACELNOSXZ/]'.
709 For example, the character named `aogonek' is obtained by `/a'."
710 nil t t t nil nil nil nil nil nil t)
733 (quail-define-package
734 "latin-9-prefix" "Latin-9" "0>" t
735 "Latin-9 characters input method with prefix modifiers
737 effect | prefix | examples
738 ------------+--------+----------
739 acute | ' | 'a ->
\e,ba
\e(B
740 grave | ` | `a ->
\e,b`
\e(B
741 circumflex | ^ | ^a ->
\e,bb
\e(B
742 diaeresis | \" | \"a ->
\e,bd
\e(B, \"Y ->
\e,b>
\e(B
743 tilde | ~ | ~a ->
\e,bc
\e(B
744 caron | ~ | ~z ->
\e,b8
\e(B
745 cedilla | ~ | ~c ->
\e,bg
\e(B
746 misc | \" ~ / | \"s ->
\e,b_
\e(B ~d ->
\e,bp
\e(B ~t ->
\e,b~
\e(B /a ->
\e,be
\e(B /e ->
\e,bf
\e(B /o ->
\e,bx
\e(B
747 | \" ~ / | /o ->
\e,b=
\e(B
748 symbol | ~ | ~> ->
\e,b;
\e(B ~< ->
\e,b+
\e(B ~! ->
\e,b!
\e(B ~? ->
\e,b?
\e(B ~~ ->
\e,b8
\e(B
749 | ~ | ~s ->
\e,b'
\e(B ~e ->
\e,b$
\e(B ~. ->
\e,b7
\e(B ~$ ->
\e,b#
\e(B ~u ->
\e,b5
\e(B
750 | ~ | ~- ->
\e,b-
\e(B ~= ->
\e,b/
\e(B
751 symbol | _ / | _o ->
\e,b:
\e(B _a ->
\e,b*
\e(B // ->
\e,b0
\e(B /\\ ->
\e,bW
\e(B _y ->
\e,b%
\e(B
752 | _ / | _: ->
\e,bw
\e(B /c ->
\e,b"
\e(B ~p ->
\e,b6
\e(B
753 | _ / | /= ->
\e,b,
\e(B
754 symbol | ^ | ^r ->
\e,b.
\e(B ^c ->
\e,b)
\e(B ^1 ->
\e,b9
\e(B ^2 ->
\e,b2
\e(B ^3 ->
\e,b3
\e(B _a ->
\e,b*
\e(B
755 " nil t nil nil nil nil nil nil nil nil t)
846 ("/o" ?
\e,b=
\e(B) ; clash with
\e,bx
\e(B, but
\e,bf
\e(B uses /
851 ;; Is this the best option for Euro entry?
865 ;; Latin-8 was done by an Englishman -- Johnny Celt should take a
868 (quail-define-package
869 "latin-8-prefix" "Latin-8" "8>" t
870 "Latin-8 characters input method with prefix modifiers
872 effect | prefix | examples
873 ------------+--------+----------
874 acute | ' | 'a ->
\e,_a
\e(B
875 grave | ` | `a ->
\e,_`
\e(B
876 circumflex | ^ | ^w ->
\e,_p
\e(B
877 diaeresis | \" | \"a ->
\e,_d
\e(B
878 dot above | . | .b ->
\e,_"
\e(B
879 tilde | ~ | ~a ->
\e,_c
\e(B
880 cedilla | ~ | ~c ->
\e,_g
\e(B
881 misc | \" ~ / | \"s ->
\e,__
\e(B /a ->
\e,_e
\e(B /e ->
\e,_f
\e(B /o ->
\e,_x
\e(B
882 | ~ | ~s ->
\e,_'
\e(B ~$ ->
\e,_#
\e(B ~p ->
\e,_6
\e(B
883 symbol | ^ | ^r ->
\e,_.
\e(B ^c ->
\e,_)
\e(B
884 " nil t nil nil nil nil nil nil nil nil t)
886 ;; Basically following Latin-1, plus dottiness from Latin-3.
991 (quail-define-package
992 "latin-prefix" "Latin" "L>" t
993 "Latin characters input method with prefix modifiers.
994 This is the union of various input methods originally made for input
995 of characters from a single Latin-N charset.
997 effect | prefix | examples
998 ------------+--------+----------
999 acute | ' | 'a ->
\e,Aa
\e(B, '' ->
\e,A4
\e(B
1000 grave | ` | `a ->
\e,A`
\e(B
1001 circumflex | ^ | ^a ->
\e,Ab
\e(B
1002 diaeresis | \" | \"a ->
\e,Ad
\e(B \"\" ->
\e,A(
\e(B
1003 tilde | ~ | ~a ->
\e,Ac
\e(B
1004 cedilla | ~ | ~c ->
\e,Ag
\e(B
1005 breve | ~ | ~a ->
\e$,1 #
\e(B
1006 caron | ~ | ~c ->
\e$,1 -
\e(B
1007 dot above | ~ / . | ~o ->
\e$,1 A
\e(B /o ->
\e$,1 A
\e(B .o ->
\e$,1 A
\e(B
1008 misc | \" ~ / | \"s ->
\e,A_
\e(B ~d ->
\e,Ap
\e(B ~t ->
\e,A~
\e(B /a ->
\e,Ae
\e(B /e ->
\e,Af
\e(B /o ->
\e,Ax
\e(B
1009 symbol | ~ | ~> ->
\e,A;
\e(B ~< ->
\e,A+
\e(B ~! ->
\e,A!
\e(B ~? ->
\e,A?
\e(B ~~ ->
\e,A8
\e(B
1010 symbol | _ / | _o ->
\e,A:
\e(B _a ->
\e,A*
\e(B // ->
\e,A0
\e(B /\\ ->
\e,AW
\e(B _y ->
\e,A%
\e(B
1011 symbol | ^ | ^r ->
\e,A.
\e(B ^c ->
\e,A)
\e(B ^1 ->
\e,A9
\e(B ^2 ->
\e,A2
\e(B ^3 ->
\e,A3
\e(B
1012 " nil t nil nil nil nil nil nil nil nil t)
1087 ("\"W" ?
\e$,1nd
\e(B)
1088 ("\"Y" ?
\e$,1!8
\e(B)
1096 ("\"w" ?
\e$,1ne
\e(B)
1097 ("\"y" ?
\e,A
\7f\e(B)
1183 ("~s" ?
\e$,1
\7f\e(B)
1194 ;;; arch-tag: 83017837-6b84-4366-b183-e0577e3ed838
1195 ;;; latin-pre.el ends here