New input methods hawaiian-postfix and hawaiian-prefix

* lisp/leim/quail/latin-pre.el ("hawaiian-prefix"):
* lisp/leim/quail/latin-post.el ("hawaiian-postfix"): New
input methods.  (Bug#32714)
* etc/NEWS: Mention the new input methods.
This commit is contained in:
Bob Newell 2018-09-11 20:37:42 -10:00 committed by Eli Zaretskii
parent 75d9a55fae
commit 229c51afbf
3 changed files with 99 additions and 0 deletions

View file

@ -196,6 +196,9 @@ regular expression was previously invalid, but is now accepted:
---
** The German prefix and postfix input methods now support Capital sharp S.
---
** New input methods hawaiian-postfix and hawaiian-prefix.
+++
** New function 'exec-path'.
This function by default returns the value of the corresponding

View file

@ -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

View file

@ -1285,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