root/trunk/leim/quail/welsh.el

Revision 4220, 4.3 kB (checked in by miyoshi, 9 months ago)

Sync up with Emacs22.2.

Line 
1 ;;; welsh.el --- Quail package for inputting Welsh characters  -*-coding: iso-2022-7bit;-*-
2
3 ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4 ;;   Free Software Foundation, Inc.
5
6 ;; Author: Dave Love <fx@gnu.org>
7 ;; Keywords: i18n
8
9 ;; This file is part of GNU Emacs.
10
11 ;; This file 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, or (at your option)
14 ;; any later version.
15
16 ;; This file 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.
20
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING.  If not, write to
23 ;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 ;; Boston, MA 02110-1301, USA.
25
26 ;;; Commentary:
27
28 ;; Welsh input following the Yudit map by david@sheetmusic.org.uk.
29 ;; This is set up to produce utf-8.  A Latin-8 version of most of it
30 ;; is commented-out at the end.
31
32 ;;; Code:
33
34 (require 'quail)
35
36 (quail-define-package
37  "welsh" "Welsh" "$,1!4(B" t
38  "Welsh postfix input method, using Unicode"
39  nil t nil nil nil nil nil nil nil nil t)
40
41 (quail-define-rules
42  ("A\\" ?,A@(B)
43  ("A/" ?,AA(B)
44  ("A^" ?,AB(B)
45  ("A+" ?,AB(B)
46  ("A\"" ?,AD(B)
47  ("a\\" ?,A`(B)
48  ("a/" ?,Aa(B)
49  ("a^" ?,Ab(B)
50  ("a+" ?,Ab(B)
51  ("a\"" ?,Ad(B)
52
53  ("E\\" ?,AH(B)
54  ("E/" ?,AI(B)
55  ("E^" ?,AJ(B)
56  ("E+" ?,AJ(B)
57  ("E\"" ?,AK(B)
58  ("e\\" ?,Ah(B)
59  ("e/" ?,Ai(B)
60  ("e^" ?,Aj(B)
61  ("e+" ?,Aj(B)
62  ("e\"" ?,Ak(B)
63
64  ("I\\" ?,AL(B)
65  ("I/" ?,AM(B)
66  ("I^" ?,AN(B)
67  ("I+" ?,AN(B)
68  ("I\"" ?,AO(B)
69  ("i\\" ?,Al(B)
70  ("i/" ?,Am(B)
71  ("i^" ?,An(B)
72  ("i+" ?,An(B)
73  ("i\"" ?,Ao(B)
74
75  ("O\\" ?,AR(B)
76  ("O/" ?,AS(B)
77  ("O^" ?,AT(B)
78  ("O+" ?,AT(B)
79  ("O\"" ?,AV(B)
80  ("o\\" ?,Ar(B)
81  ("o/" ?,As(B)
82  ("o^" ?,At(B)
83  ("o+" ?,At(B)
84  ("o\"" ?,Av(B)
85
86  ("U\\" ?,AY(B)
87  ("U/" ?,AZ(B)
88  ("U^" ?,A[(B)
89  ("U+" ?,A[(B)
90  ("U\"" ?,A\(B)
91  ("u\\" ?,Ay(B)
92  ("u/" ?,Az(B)
93  ("u^" ?,A{(B)
94  ("u+" ?,A{(B)
95  ("u\"" ?,A|(B)
96
97  ("Y\\" ?$,1or(B)
98  ("Y/" ?,A](B)
99  ("Y^" ?$,1!6(B)
100  ("Y+" ?$,1!6(B)
101  ("Y\"" ?$,1!8(B)
102  ("y\\" ?$,1os(B)
103  ("y/" ?,A}(B)
104  ("y\"" ?,A(B)
105  ("y^" ?$,1!7(B)
106  ("y+" ?$,1!7(B)
107
108  ("W\\" ?$,1n`(B)
109  ("W/" ?$,1nb(B)
110  ("W^" ?$,1!4(B)
111  ("W+" ?$,1!4(B)
112  ("W\"" ?$,1nd(B)
113  ("w\\" ?$,1na(B)
114  ("w/" ?$,1nc(B)
115  ("w^" ?$,1!5(B)
116  ("w+" ?$,1!5(B)
117  ("w\"" ?$,1ne(B)
118
119  ;; "hawlfraint" (copyright).  Dyma arwyddlun hawlfraint.
120  ("(h)" ?$,1W(B))
121
122 ;; (quail-define-package
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 ;;; arch-tag: aeef0eae-0a50-4606-9120-020d59d5e208
207 ;;; welsh.el ends here
208
Note: See TracBrowser for help on using the browser.