emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#32714: closed (26.1; Proposed language input metho


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32714: closed (26.1; Proposed language input methods --- Hawaiian)
Date: Thu, 20 Sep 2018 07:24:01 +0000

Your message dated Thu, 20 Sep 2018 10:23:06 +0300
with message-id <address@hidden>
and subject line Re: bug#32714: 26.1; Proposed language input methods --- 
Hawaiian
has caused the debbugs.gnu.org bug report #32714,
regarding 26.1; Proposed language input methods --- Hawaiian
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
32714: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32714
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.1; Proposed language input methods --- Hawaiian Date: Tue, 11 Sep 2018 20:37:42 -1000 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
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 address@hidden

(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"])
 ("``"  ["`"])
 )



--- End Message ---
--- Begin Message --- Subject: Re: bug#32714: 26.1; Proposed language input methods --- Hawaiian Date: Thu, 20 Sep 2018 10:23:06 +0300
> From: Bob Newell <address@hidden>
> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]