diff options
| author | Bob Newell | 2018-09-11 20:37:42 -1000 |
|---|---|---|
| committer | Eli Zaretskii | 2018-09-20 10:21:18 +0300 |
| commit | 229c51afbf741b20504b821e6fd5da4145a776f5 (patch) | |
| tree | bea1313059927c96feeac179af069c83daa13ab1 | |
| parent | 75d9a55fae1c484aa6d213064931bfe3b65cf5dd (diff) | |
| download | emacs-229c51afbf741b20504b821e6fd5da4145a776f5.tar.gz emacs-229c51afbf741b20504b821e6fd5da4145a776f5.zip | |
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.
| -rw-r--r-- | etc/NEWS | 3 | ||||
| -rw-r--r-- | lisp/leim/quail/latin-post.el | 48 | ||||
| -rw-r--r-- | lisp/leim/quail/latin-pre.el | 48 |
3 files changed, 99 insertions, 0 deletions
| @@ -196,6 +196,9 @@ regular expression was previously invalid, but is now accepted: | |||
| 196 | --- | 196 | --- |
| 197 | ** The German prefix and postfix input methods now support Capital sharp S. | 197 | ** The German prefix and postfix input methods now support Capital sharp S. |
| 198 | 198 | ||
| 199 | --- | ||
| 200 | ** New input methods hawaiian-postfix and hawaiian-prefix. | ||
| 201 | |||
| 199 | +++ | 202 | +++ |
| 200 | ** New function 'exec-path'. | 203 | ** New function 'exec-path'. |
| 201 | This function by default returns the value of the corresponding | 204 | This function by default returns the value of the corresponding |
diff --git a/lisp/leim/quail/latin-post.el b/lisp/leim/quail/latin-post.el index 791152bd65c..8b0253f36e3 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\\=' | |||
| 739 | ("z~~" ["z~"]) | 739 | ("z~~" ["z~"]) |
| 740 | ) | 740 | ) |
| 741 | 741 | ||
| 742 | ;;; Hawaiian postfix input method. It's a small subset of Latin-4 | ||
| 743 | ;;; with the addition of an ʻokina mapping. Hopefully the ʻokina shows | ||
| 744 | ;;; correctly on most displays. | ||
| 745 | |||
| 746 | ;;; This reference is an authoritative guide to Hawaiian orthography: | ||
| 747 | ;;; http://www2.hawaii.edu/~strauch/tips/HawaiianOrthography.html | ||
| 748 | |||
| 749 | ;;; Initial coding 2018-09-08 Bob Newell, Honolulu, Hawaiʻi | ||
| 750 | ;;; Comments to bobnewell@bobnewell.net | ||
| 751 | |||
| 752 | (quail-define-package | ||
| 753 | "hawaiian-postfix" "Hawaiian Postfix" "H<" t | ||
| 754 | "Hawaiian characters input method with postfix modifiers | ||
| 755 | |||
| 756 | | postfix | examples | ||
| 757 | ------------+---------+---------- | ||
| 758 | ʻokina | \\=` | \\=` -> ʻ | ||
| 759 | kahakō | - | a- -> ā | ||
| 760 | |||
| 761 | Doubling the postfix separates the letter and postfix. a-- -> a- | ||
| 762 | " nil t nil nil nil nil nil nil nil nil t) | ||
| 763 | |||
| 764 | (quail-define-rules | ||
| 765 | ("A-" ?Ā) | ||
| 766 | ("E-" ?Ē) | ||
| 767 | ("I~" ?Ĩ) | ||
| 768 | ("O-" ?Ō) | ||
| 769 | ("U-" ?Ū) | ||
| 770 | ("a-" ?ā) | ||
| 771 | ("e-" ?ē) | ||
| 772 | ("i-" ?ī) | ||
| 773 | ("o-" ?ō) | ||
| 774 | ("u-" ?ū) | ||
| 775 | ("`" ?ʻ) | ||
| 776 | |||
| 777 | ("A--" ["A-"]) | ||
| 778 | ("E--" ["E-"]) | ||
| 779 | ("I--" ["I-"]) | ||
| 780 | ("O--" ["O-"]) | ||
| 781 | ("U--" ["U-"]) | ||
| 782 | ("a--" ["a-"]) | ||
| 783 | ("e--" ["e-"]) | ||
| 784 | ("i--" ["i-"]) | ||
| 785 | ("o--" ["o-"]) | ||
| 786 | ("u--" ["u-"]) | ||
| 787 | ("``" ["`"]) | ||
| 788 | ) | ||
| 789 | |||
| 742 | (quail-define-package | 790 | (quail-define-package |
| 743 | "latin-5-postfix" "Latin-5" "5<" t | 791 | "latin-5-postfix" "Latin-5" "5<" t |
| 744 | "Latin-5 characters input method with postfix modifiers | 792 | "Latin-5 characters input method with postfix modifiers |
diff --git a/lisp/leim/quail/latin-pre.el b/lisp/leim/quail/latin-pre.el index ca5af94ad29..9d343e79c35 100644 --- a/lisp/leim/quail/latin-pre.el +++ b/lisp/leim/quail/latin-pre.el | |||
| @@ -1285,4 +1285,52 @@ of characters from a single Latin-N charset. | |||
| 1285 | ("~~" ?¸) | 1285 | ("~~" ?¸) |
| 1286 | ) | 1286 | ) |
| 1287 | 1287 | ||
| 1288 | ;;; Hawaiian prefix input method. It's a small subset of Latin-4 | ||
| 1289 | ;;; with the addition of an ʻokina mapping. Hopefully the ʻokina shows | ||
| 1290 | ;;; correctly on most displays. | ||
| 1291 | |||
| 1292 | ;;; This reference is an authoritative guide to Hawaiian orthography: | ||
| 1293 | ;;; http://www2.hawaii.edu/~strauch/tips/HawaiianOrthography.html | ||
| 1294 | |||
| 1295 | ;;; Initial coding 2018-09-08 Bob Newell, Honolulu, Hawaiʻi | ||
| 1296 | ;;; Comments to bobnewell@bobnewell.net | ||
| 1297 | |||
| 1298 | (quail-define-package | ||
| 1299 | "hawaiian-prefix" "Hawaiian Prefix" "H>" t | ||
| 1300 | "Hawaiian characters input method with postfix modifiers | ||
| 1301 | |||
| 1302 | | prefix | examples | ||
| 1303 | ------------+---------+---------- | ||
| 1304 | ʻokina | \\=` | \\=` -> ʻ | ||
| 1305 | kahakō | - | -a -> ā | ||
| 1306 | |||
| 1307 | Doubling the prefix separates the letter and prefix. --a -> -a | ||
| 1308 | " nil t nil nil nil nil nil nil nil nil t) | ||
| 1309 | |||
| 1310 | (quail-define-rules | ||
| 1311 | ("-A" ?Ā) | ||
| 1312 | ("-E" ?Ē) | ||
| 1313 | ("~I" ?Ĩ) | ||
| 1314 | ("-O" ?Ō) | ||
| 1315 | ("-U" ?Ū) | ||
| 1316 | ("-a" ?ā) | ||
| 1317 | ("-e" ?ē) | ||
| 1318 | ("-i" ?ī) | ||
| 1319 | ("-o" ?ō) | ||
| 1320 | ("-u" ?ū) | ||
| 1321 | ("`" ?ʻ) | ||
| 1322 | |||
| 1323 | ("--A" ["-A"]) | ||
| 1324 | ("--E" ["-E"]) | ||
| 1325 | ("--I" ["-I"]) | ||
| 1326 | ("--O" ["-O"]) | ||
| 1327 | ("--U" ["-U"]) | ||
| 1328 | ("--a" ["-a"]) | ||
| 1329 | ("--e" ["-e"]) | ||
| 1330 | ("--i" ["-i"]) | ||
| 1331 | ("--o" ["-o"]) | ||
| 1332 | ("--u" ["-u"]) | ||
| 1333 | ("``" ["`"]) | ||
| 1334 | ) | ||
| 1335 | |||
| 1288 | ;;; latin-pre.el ends here | 1336 | ;;; latin-pre.el ends here |