-
Notifications
You must be signed in to change notification settings - Fork 0
/
tengwar.mim
84 lines (67 loc) · 2.18 KB
/
tengwar.mim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
;; tengwar.mim --Tengwar input method simulating "US International Keyboard"
;; Copyright (C) 2019 Christian D. Brendel <[email protected]>
;; This file is part of the m17n database, a sub-part of the m17n library.
;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 2, or (at
;; your option) any later version.
;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with the m17n library; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
;;; Input method for Latin script with prefix modifiers and AltGr combinations.
;; | mark | prefix | examples
;; |------------+--------+----------
;; | acute | ' | 'a -> á
;; | grave | ` | `a -> à
;; | circumflex | ^ | ^a -> â
;; | diaeresis | " | "a -> ä
;; | tilde | ~ | ~a -> ã
;; | cedilla | ' | 'c -> ç
;; | symbol | | AltGr-/ -> ¿ AltGr-5 ~> €
;; | symbol | | AltGr-z -> æ AltGr-s -> ß
(input-method t tengwar)
(description "Tengwar!")
(title "tengwar")
(map
(map
;;Consonants
;;vl obstruents
("t" ?) ("p" ?) ("T" ?) ("k" ?)
;;v obstruents
("d" ?) ("b" ?) ("D" ?) ("g" ?)
;;vl fricatives
("/" ?) ("f" ?) ("S" ?) ("x" ?)
;;v fricatives
("[" ?) ("v" ?) ("Z" ?) ("X" ?)
;;nasals
("n" ?) ("m" ?) ("J" ?) ("G" ?)
;;approximants
("r" ?) ("w" ?) ("j" ?) ("\G" ?)
;;initial r
("R" ?) (".R" ?)
;;l
("l" ?) (".l" ?)
;;s
("s" ?) ("!s" ?) ("z" ?) ("!z" ?)
;;h
("h" ?)
;;vowels
("a" ?) ("i:" ?) ("i" ?) ("!e" ?) ("e" ?)
("o" ?) ("u" ?)
;;lengthening
(":" ?)
))
(state
(init
(map)
)
)
;; Local Variables:
;; coding: utf-8
;; mode: emacs-lisp
;; End: