* bug#32714: 26.1; Proposed language input methods --- Hawaiian
@ 2018-09-12 6:37 Bob Newell
2018-09-20 7:23 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Bob Newell @ 2018-09-12 6:37 UTC (permalink / raw)
To: 32714
This is not a bug report per se but an offering of an enhancement. It
was suggested that I submit it through this method. If this is not
correct I apologize in advance and ask guidance on the proper
procedures.
I'm appending code for Hawaiian-language pre- and postfix input methods,
which would go in /lisp/leim/quail either as a standalone file or split
between the latin pre- and latin-post files.
Some years ago I signed FSF paperwork.
--
Bob Newell
Honolulu, Hawai`i
* Via Gnus/BBDB/Org/Emacs/Linux *
;;; Implement Hawaiian pre/post-fix 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.
;;; You should be in one of the "Latin" language environments, such as
;;; (set-language-environment "Latin-4")
;;; 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
(require 'quail)
(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
"hawaiian-prefix" "Hawaiian Prefix" "H>" t
"Hawaiian characters input method with postfix modifiers
| postfix | 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"])
("``" ["`"])
)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#32714: 26.1; Proposed language input methods --- Hawaiian
2018-09-12 6:37 bug#32714: 26.1; Proposed language input methods --- Hawaiian Bob Newell
@ 2018-09-20 7:23 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2018-09-20 7:23 UTC (permalink / raw)
To: Bob Newell; +Cc: 32714-done
> From: Bob Newell <bobnewell@bobnewell.net>
> Date: Tue, 11 Sep 2018 20:37:42 -1000
>
> This is not a bug report per se but an offering of an enhancement. It
> was suggested that I submit it through this method. If this is not
> correct I apologize in advance and ask guidance on the proper
> procedures.
>
> I'm appending code for Hawaiian-language pre- and postfix input methods,
> which would go in /lisp/leim/quail either as a standalone file or split
> between the latin pre- and latin-post files.
Thanks, pushed to the master branch. I indeed decided to split your
additions between latin-pre.el and latin-post.el.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-20 7:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-12 6:37 bug#32714: 26.1; Proposed language input methods --- Hawaiian Bob Newell
2018-09-20 7:23 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).