Mercurial > emacs
annotate leim/quail/welsh.el @ 41293:3db86c7bf56f
(Fdescribe_vector): Add `describer' parameter.
(describe_command, describe_translation): Add dummy second param.
(describe_map): Call elt_describer with two arguments.
(describe_vector_princ): Add `fun' parameter.
Call it instead of the hardcoded `princ'.
(describe_vector): Add arg `args'.
Pass it as a new second argument to elt_describer.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 19 Nov 2001 22:46:37 +0000 |
parents | 36171daa8814 |
children | 44b4a14ae7fc |
rev | line source |
---|---|
40712 | 1 ;;; welsh.el --- Quail package for inputting Welsh characters -*-coding: iso-2022-7bit;-*- |
2 | |
3 ;; Copyright (C) 2001 Free Software Foundation, Inc. | |
4 | |
5 ;; Author: Dave Love <fx@gnu.org> | |
6 ;; Keywords: i18n | |
7 | |
8 ;; This file is free software; you can redistribute it and/or modify | |
9 ;; it under the terms of the GNU General Public License as published by | |
10 ;; the Free Software Foundation; either version 2, or (at your option) | |
11 ;; any later version. | |
12 | |
13 ;; This file is distributed in the hope that it will be useful, | |
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 ;; GNU General Public License for more details. | |
17 | |
18 ;; You should have received a copy of the GNU General Public License | |
19 ;; along with GNU Emacs; see the file COPYING. If not, write to | |
20 ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
21 ;; Boston, MA 02111-1307, USA. | |
22 | |
23 ;;; Commentary: | |
24 | |
25 ;; Welsh input following the Yudit map by david@sheetmusic.org.uk. | |
26 ;; This is set up to produce utf-8. A Latin-8 version of most of it | |
27 ;; is commented-out at the end. | |
28 | |
29 ;;; Code: | |
30 | |
31 (require 'quail) | |
32 | |
33 (quail-define-package | |
34 "welsh" "Welsh" "$,1!4(B" t | |
35 "Welsh postfix input method, using Unicode" | |
36 nil t nil nil nil nil nil nil nil nil t) | |
37 | |
38 (quail-define-rules | |
39 ("A\\" ?,A@(B) | |
40 ("A/" ?,AA(B) | |
41 ("A^" ?,AB(B) | |
42 ("A+" ?,AB(B) | |
43 ("A\"" ?,AD(B) | |
44 ("a\\" ?,A`(B) | |
45 ("a/" ?,Aa(B) | |
46 ("a^" ?,Ab(B) | |
47 ("a+" ?,Ab(B) | |
48 ("a\"" ?,Ad(B) | |
49 | |
50 ("E\\" ?,AH(B) | |
51 ("E/" ?,AI(B) | |
52 ("E^" ?,AJ(B) | |
53 ("E+" ?,AJ(B) | |
54 ("E\"" ?,AK(B) | |
55 ("e\\" ?,Ah(B) | |
56 ("e/" ?,Ai(B) | |
57 ("e^" ?,Aj(B) | |
58 ("e+" ?,Aj(B) | |
59 ("e\"" ?,Ak(B) | |
60 | |
61 ("I\\" ?,AL(B) | |
62 ("I/" ?,AM(B) | |
63 ("I^" ?,AN(B) | |
64 ("I+" ?,AN(B) | |
65 ("I\"" ?,AO(B) | |
66 ("i\\" ?,Al(B) | |
67 ("i/" ?,Am(B) | |
68 ("i^" ?,An(B) | |
69 ("i+" ?,An(B) | |
70 ("i\"" ?,Ao(B) | |
71 | |
72 ("O\\" ?,AR(B) | |
73 ("O/" ?,AS(B) | |
74 ("O^" ?,AT(B) | |
75 ("O+" ?,AT(B) | |
76 ("O\"" ?,AV(B) | |
77 ("o\\" ?,Ar(B) | |
78 ("o/" ?,As(B) | |
79 ("o^" ?,At(B) | |
80 ("o+" ?,At(B) | |
81 ("o\"" ?,Av(B) | |
82 | |
83 ("U\\" ?,AY(B) | |
84 ("U/" ?,AZ(B) | |
85 ("U^" ?,A[(B) | |
86 ("U+" ?,A[(B) | |
87 ("U\"" ?,A\(B) | |
88 ("u\\" ?,Ay(B) | |
89 ("u/" ?,Az(B) | |
90 ("u^" ?,A{(B) | |
91 ("u+" ?,A{(B) | |
92 ("u\"" ?,A|(B) | |
93 | |
94 ("Y\\" ?$,1or(B) | |
95 ("Y/" ?,A](B) | |
96 ("Y^" ?$,1!6(B) | |
97 ("Y+" ?$,1!6(B) | |
98 ("Y\"" ?$,1!8(B) | |
99 ("y\\" ?$,1os(B) | |
100 ("y/" ?,A}(B) | |
101 ("y\"" ?,A(B) | |
102 ("y^" ?$,1!7(B) | |
103 ("y+" ?$,1!7(B) | |
104 | |
105 ("W\\" ?$,1n`(B) | |
106 ("W/" ?$,1nb(B) | |
107 ("W^" ?$,1!4(B) | |
108 ("W+" ?$,1!4(B) | |
109 ("W\"" ?$,1nd(B) | |
110 ("w\\" ?$,1na(B) | |
111 ("w/" ?$,1nc(B) | |
112 ("w^" ?$,1!5(B) | |
113 ("w+" ?$,1!5(B) | |
114 ("w\"" ?$,1ne(B) | |
115 | |
116 ;; "hawlfraint" (copyright). Dyma arwyddlun hawlfraint. | |
117 ("(h)" ?$,1W(B)) | |
118 | |
40767
36171daa8814
Avoid error message due to commented-out input method.
Eli Zaretskii <eliz@gnu.org>
parents:
40712
diff
changeset
|
119 ;; In the following line paren changed to bracket to avoid an error |
36171daa8814
Avoid error message due to commented-out input method.
Eli Zaretskii <eliz@gnu.org>
parents:
40712
diff
changeset
|
120 ;; message from quail-update-leim-list-file, which doesn't know about |
36171daa8814
Avoid error message due to commented-out input method.
Eli Zaretskii <eliz@gnu.org>
parents:
40712
diff
changeset
|
121 ;; Lisp comments. |
36171daa8814
Avoid error message due to commented-out input method.
Eli Zaretskii <eliz@gnu.org>
parents:
40712
diff
changeset
|
122 ;; [quail-define-package |
40712 | 123 ;; "welsh" "Welsh" "$,1!4(B" t |
124 ;; "Welsh postfix input method, using Latin-8" | |
125 ;; nil t nil nil nil nil nil nil nil nil t) | |
126 | |
127 ;; (quail-define-rules | |
128 ;; ("A\\" ?,A@(B) | |
129 ;; ("A/" ?,AA(B) | |
130 ;; ("A^" ?,AB(B) | |
131 ;; ("A+" ?,AB(B) | |
132 ;; ("A\"" ?,AD(B) | |
133 ;; ("a\\" ?,A`(B) | |
134 ;; ("a/" ?,Aa(B) | |
135 ;; ("a^" ?,Ab(B) | |
136 ;; ("a+" ?,Ab(B) | |
137 ;; ("a\"" ?,Ad(B) | |
138 | |
139 ;; ("E\\" ?,AH(B) | |
140 ;; ("E/" ?,AI(B) | |
141 ;; ("E^" ?,AJ(B) | |
142 ;; ("E+" ?,AJ(B) | |
143 ;; ("E\"" ?,AK(B) | |
144 ;; ("e\\" ?,Ah(B) | |
145 ;; ("e/" ?,Ai(B) | |
146 ;; ("e^" ?,Aj(B) | |
147 ;; ("e+" ?,Aj(B) | |
148 ;; ("e\"" ?,Ak(B) | |
149 | |
150 ;; ("I\\" ?,AL(B) | |
151 ;; ("I/" ?,AM(B) | |
152 ;; ("I^" ?,AN(B) | |
153 ;; ("I+" ?,AN(B) | |
154 ;; ("I\"" ?,AO(B) | |
155 ;; ("i\\" ?,Al(B) | |
156 ;; ("i/" ?,Am(B) | |
157 ;; ("i^" ?,An(B) | |
158 ;; ("i+" ?,An(B) | |
159 ;; ("i\"" ?,Ao(B) | |
160 | |
161 ;; ("O\\" ?,AR(B) | |
162 ;; ("O/" ?,AS(B) | |
163 ;; ("O^" ?,AT(B) | |
164 ;; ("O+" ?,AT(B) | |
165 ;; ("O\"" ?,AV(B) | |
166 ;; ("o\\" ?,Ar(B) | |
167 ;; ("o/" ?,As(B) | |
168 ;; ("o^" ?,At(B) | |
169 ;; ("o+" ?,At(B) | |
170 ;; ("o\"" ?,Av(B) | |
171 | |
172 ;; ("U\\" ?,AY(B) | |
173 ;; ("U/" ?,AZ(B) | |
174 ;; ("U^" ?,A[(B) | |
175 ;; ("U+" ?,A[(B) | |
176 ;; ("U\"" ?,A\(B) | |
177 ;; ("u\\" ?,Ay(B) | |
178 ;; ("u/" ?,Az(B) | |
179 ;; ("u^" ?,A{(B) | |
180 ;; ("u+" ?,A{(B) | |
181 ;; ("u\"" ?,A|(B) | |
182 | |
183 ;; ("Y\\" ?,A,(B) | |
184 ;; ("Y/" ?,A](B) | |
185 ;; ("Y^" ?,A^(B) | |
186 ;; ("Y+" ?,A^(B) | |
187 ;; ("Y\"" ?,A/(B) | |
188 ;; ("y\\" ?,A<(B) | |
189 ;; ("y/" ?,A}(B) | |
190 ;; ("y\"" ?,A(B) | |
191 ;; ("y^" ?,A~(B) | |
192 ;; ("y+" ?,A~(B) | |
193 | |
194 ;; ("W\\" ?,A((B) | |
195 ;; ("W/" ?,A*(B) | |
196 ;; ("W^" ?,AP(B) | |
197 ;; ("W+" ?,AP(B) | |
198 ;; ("W\"" ?,A=(B) | |
199 ;; ("w\\" ?,A8(B) | |
200 ;; ("w/" ?,A:(B) | |
201 ;; ("w^" ?,Ap(B) | |
202 ;; ("w+" ?,Ap(B) | |
203 ;; ("w\"" ?,A>(B)) | |
204 | |
205 | |
206 ;;; welsh.el ends here |