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