summaryrefslogtreecommitdiff
path: root/lisp/leim
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/leim')
-rw-r--r--lisp/leim/quail/latin-post.el51
-rw-r--r--lisp/leim/quail/latin-pre.el52
2 files changed, 102 insertions, 1 deletions
diff --git a/lisp/leim/quail/latin-post.el b/lisp/leim/quail/latin-post.el
index 60c0fd13709..589978f31be 100644
--- a/lisp/leim/quail/latin-post.el
+++ b/lisp/leim/quail/latin-post.el
@@ -739,6 +739,54 @@ Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
("z~~" ["z~"])
)
+;;; Hawaiian postfix input method. It's a small subset of Latin-4
+;;; with the addition of an ʻokina mapping. Hopefully the ʻokina shows
+;;; correctly on most displays.
+
+;;; This reference is an authoritative guide to Hawaiian orthography:
+;;; http://www2.hawaii.edu/~strauch/tips/HawaiianOrthography.html
+
+;;; Initial coding 2018-09-08 Bob Newell, Honolulu, Hawaiʻi
+;;; Comments to bobnewell@bobnewell.net
+
+(quail-define-package
+ "hawaiian-postfix" "Hawaiian Postfix" "H<" t
+ "Hawaiian characters input method with postfix modifiers
+
+ | postfix | examples
+ ------------+---------+----------
+ ʻokina | \\=` | \\=` -> ʻ
+ kahakō | - | a- -> ā
+
+Doubling the postfix separates the letter and postfix. a-- -> a-
+" nil t nil nil nil nil nil nil nil nil t)
+
+(quail-define-rules
+ ("A-" ?Ā)
+ ("E-" ?Ē)
+ ("I~" ?Ĩ)
+ ("O-" ?Ō)
+ ("U-" ?Ū)
+ ("a-" ?ā)
+ ("e-" ?ē)
+ ("i-" ?ī)
+ ("o-" ?ō)
+ ("u-" ?ū)
+ ("`" ?ʻ)
+
+ ("A--" ["A-"])
+ ("E--" ["E-"])
+ ("I--" ["I-"])
+ ("O--" ["O-"])
+ ("U--" ["U-"])
+ ("a--" ["a-"])
+ ("e--" ["e-"])
+ ("i--" ["i-"])
+ ("o--" ["o-"])
+ ("u--" ["u-"])
+ ("``" ["`"])
+ )
+
(quail-define-package
"latin-5-postfix" "Latin-5" "5<" t
"Latin-5 characters input method with postfix modifiers
@@ -1103,6 +1151,7 @@ szz -> sz
("UE" ?Ü)
("ue" ?ü)
("sz" ?ß)
+ ("SZ" ?ẞ)
("AEE" ["AE"])
("aee" ["ae"])
@@ -1111,6 +1160,7 @@ szz -> sz
("UEE" ["UE"])
("uee" ["ue"])
("szz" ["sz"])
+ ("SZZ" ["SZ"])
("ge" ["ge"])
("eue" ["eue"])
("Eue" ["Eue"])
@@ -2184,6 +2234,7 @@ Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
("R~" ?Ř)
("S'" ?Ś)
("S," ?Ş)
+ ("S/" ?ẞ)
("S^" ?Ŝ)
("S~" ?Š)
("T," ?Ţ)
diff --git a/lisp/leim/quail/latin-pre.el b/lisp/leim/quail/latin-pre.el
index 150ab10c874..63565d4ceda 100644
--- a/lisp/leim/quail/latin-pre.el
+++ b/lisp/leim/quail/latin-pre.el
@@ -361,13 +361,14 @@ Key translation rules are:
"german-prefix" "German" "DE>" t
"German (Deutsch) input method with prefix modifiers
Key translation rules are:
- \"A -> Ä -> \"O -> Ö \"U -> Ü \"s -> ß
+ \"A -> Ä -> \"O -> Ö \"S -> ẞ \"U -> Ü \"s -> ß
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("\"A" ?Ä)
("\"O" ?Ö)
("\"U" ?Ü)
+ ("\"S" ?ẞ)
("\"a" ?ä)
("\"o" ?ö)
("\"u" ?ü)
@@ -1175,6 +1176,7 @@ of characters from a single Latin-N charset.
("\"E" ?Ë)
("\"I" ?Ï)
("\"O" ?Ö)
+ ("\"S" ?ẞ)
("\"U" ?Ü)
("\"W" ?Ẅ)
("\"Y" ?Ÿ)
@@ -1283,4 +1285,52 @@ of characters from a single Latin-N charset.
("~~" ?¸)
)
+;;; Hawaiian prefix input method. It's a small subset of Latin-4
+;;; with the addition of an ʻokina mapping. Hopefully the ʻokina shows
+;;; correctly on most displays.
+
+;;; This reference is an authoritative guide to Hawaiian orthography:
+;;; http://www2.hawaii.edu/~strauch/tips/HawaiianOrthography.html
+
+;;; Initial coding 2018-09-08 Bob Newell, Honolulu, Hawaiʻi
+;;; Comments to bobnewell@bobnewell.net
+
+(quail-define-package
+ "hawaiian-prefix" "Hawaiian Prefix" "H>" t
+ "Hawaiian characters input method with postfix modifiers
+
+ | prefix | examples
+ ------------+---------+----------
+ ʻokina | \\=` | \\=` -> ʻ
+ kahakō | - | -a -> ā
+
+Doubling the prefix separates the letter and prefix. --a -> -a
+" nil t nil nil nil nil nil nil nil nil t)
+
+(quail-define-rules
+ ("-A" ?Ā)
+ ("-E" ?Ē)
+ ("~I" ?Ĩ)
+ ("-O" ?Ō)
+ ("-U" ?Ū)
+ ("-a" ?ā)
+ ("-e" ?ē)
+ ("-i" ?ī)
+ ("-o" ?ō)
+ ("-u" ?ū)
+ ("`" ?ʻ)
+
+ ("--A" ["-A"])
+ ("--E" ["-E"])
+ ("--I" ["-I"])
+ ("--O" ["-O"])
+ ("--U" ["-U"])
+ ("--a" ["-a"])
+ ("--e" ["-e"])
+ ("--i" ["-i"])
+ ("--o" ["-o"])
+ ("--u" ["-u"])
+ ("``" ["`"])
+ )
+
;;; latin-pre.el ends here