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 ("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
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
|
48310
|
121 ;; (quail-define-package
|
40712
|
122 ;; "welsh" "Welsh" "$,1!4(B" t
|
|
123 ;; "Welsh postfix input method, using Latin-8"
|
|
124 ;; nil t nil nil nil nil nil nil nil nil t)
|
|
125
|
|
126 ;; (quail-define-rules
|
|
127 ;; ("A\\" ?,A@(B)
|
|
128 ;; ("A/" ?,AA(B)
|
|
129 ;; ("A^" ?,AB(B)
|
|
130 ;; ("A+" ?,AB(B)
|
|
131 ;; ("A\"" ?,AD(B)
|
|
132 ;; ("a\\" ?,A`(B)
|
|
133 ;; ("a/" ?,Aa(B)
|
|
134 ;; ("a^" ?,Ab(B)
|
|
135 ;; ("a+" ?,Ab(B)
|
|
136 ;; ("a\"" ?,Ad(B)
|
|
137
|
|
138 ;; ("E\\" ?,AH(B)
|
|
139 ;; ("E/" ?,AI(B)
|
|
140 ;; ("E^" ?,AJ(B)
|
|
141 ;; ("E+" ?,AJ(B)
|
|
142 ;; ("E\"" ?,AK(B)
|
|
143 ;; ("e\\" ?,Ah(B)
|
|
144 ;; ("e/" ?,Ai(B)
|
|
145 ;; ("e^" ?,Aj(B)
|
|
146 ;; ("e+" ?,Aj(B)
|
|
147 ;; ("e\"" ?,Ak(B)
|
|
148
|
|
149 ;; ("I\\" ?,AL(B)
|
|
150 ;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