From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bob Newell Newsgroups: gmane.emacs.bugs Subject: bug#32714: 26.1; Proposed language input methods --- Hawaiian Date: Tue, 11 Sep 2018 20:37:42 -1000 Organization: Avi Gobbler Publishing Message-ID: <87o9d32pc9.fsf@bobnewell.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536734177 10098 195.159.176.226 (12 Sep 2018 06:36:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2018 06:36:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: 32714@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 12 08:36:13 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzyl2-0002Wl-HB for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Sep 2018 08:36:12 +0200 Original-Received: from localhost ([::1]:34649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzyn8-0004di-HW for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Sep 2018 02:38:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzymy-0004dG-Hr for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 02:38:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzymo-0007mM-8f for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 02:38:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzymn-0007li-Vq for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 02:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fzymn-0006ek-P8 for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 02:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bob Newell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Sep 2018 06:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32714 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153673428025575 (code B ref -1); Wed, 12 Sep 2018 06:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Sep 2018 06:38:00 +0000 Original-Received: from localhost ([127.0.0.1]:37710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzymm-0006eQ-ET for submit@debbugs.gnu.org; Wed, 12 Sep 2018 02:38:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzymk-0006eD-PC for submit@debbugs.gnu.org; Wed, 12 Sep 2018 02:37:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzyme-0007ek-6a for submit@debbugs.gnu.org; Wed, 12 Sep 2018 02:37:53 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fzyme-0007ee-2B for submit@debbugs.gnu.org; Wed, 12 Sep 2018 02:37:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzymd-0004c5-2S for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 02:37:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzymY-0007cy-NE for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 02:37:51 -0400 Original-Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:32934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzymY-0007co-Fu for bug-gnu-emacs@gnu.org; Wed, 12 Sep 2018 02:37:46 -0400 Original-Received: by mail-pf1-x42e.google.com with SMTP id d4-v6so514460pfn.0 for ; Tue, 11 Sep 2018 23:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20150623.gappssmtp.com; s=20150623; h=from:to:subject:organization:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=ND+c8wTlKVBKwIwt4KCc8Fqpa8VYFezjBNvXz4AP+gg=; b=QXTiLtC12xHnOfFjFAOxFXXge4GoVM15f7Nv1BbLFytj74LcxYwwVLidNcJsQsWsYm G61RVwzXuflHixlSxoFtJXQyTkxeNfj9e685r3Ul8cKZHY8dTjN8dJ5lngFde+VBxxKp vZ2JFlsT2W1xYrThhTMAztGrAlAMTSFSs3lVte5jq2jZYA7YPpx5zySX7SZngr0m/niY adbG7mTfh1kEHOZCkNXh8muJCvuOKTOxjbm4O9PIQeVQcjOe2jiLsMtCi9fLPvG0jEF5 fl+3dNTtBqkwQyImn23nwkXDTZohVErAh5Eic0SQ3rcfcZGWTIOKOhR8xuCrRS18JpjA Wuuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=ND+c8wTlKVBKwIwt4KCc8Fqpa8VYFezjBNvXz4AP+gg=; b=fbCOMS4PVODDtExEKuuKea5R2yktySknMIonul2HUnAZQOEzr7o0QJJmeviIiWp1On Z7Tz8frBg2Bccq5k77p8ZHz4QS0UiNKp9zBUYq6cAxa/8QbT0heLHwCrH1JPXDYJkNaO 0sP93azzxTij2MRV7YBAGLtzaL/USHeuJRvYexE6yeb4eQPmr2jSHWluafZFYe2bFbh3 LMWFv65S6E8D4UpZqRVo7whXctNi4scqIvvO7MBu9Jnmc26bzAiM1Q4JYNmG/O2zW1vi 2syHc8xOBCZgmDwuLi5dJ+oa3tPdbyVvhNfNhPwms6XWKsBYhcEecXD2KSwGCkM7Z3nV 5RRQ== X-Gm-Message-State: APzg51DtEYpjfSkTp4GMHjInrD+lXIyjqoORBHF3dego/ZBnSe26VPny Y+7AogNLA5vHVJPKKB5BkI1SJKQytS4= X-Google-Smtp-Source: ANB0Vdbu2Wj88i0IILYBNgmAikZnSxCIuIbh2CKfNLtmY5bp3wQvrWWmVzIiZ2yAi+Oyjaef9NHB3A== X-Received: by 2002:a63:dd09:: with SMTP id t9-v6mr416800pgg.370.1536734264942; Tue, 11 Sep 2018 23:37:44 -0700 (PDT) Original-Received: from localhost (udp072702uds.hawaiiantel.net. [141.239.243.175]) by smtp.gmail.com with ESMTPSA id d12-v6sm260189pfk.69.2018.09.11.23.37.43 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Sep 2018 23:37:44 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150240 Archived-At: 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. --=20 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 =CA=BBokina mapping. Hopefully the ;;; =CA=BBokina 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=CA=BBi ;;; 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 ------------+---------+---------- =CA=BBokina | ` | ` -> =CA=BB kahak=C5=8D | - | a- -> =C4=81 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-" ?=C4=80) ("E-" ?=C4=92) ("I~" ?=C4=A8) ("O-" ?=C5=8C) ("U-" ?=C5=AA) ("a-" ?=C4=81) ("e-" ?=C4=93) ("i-" ?=C4=AB) ("o-" ?=C5=8D) ("u-" ?=C5=AB) ("`" ?=CA=BB) ("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 ------------+---------+---------- =CA=BBokina | ` | ` -> =CA=BB kahak=C5=8D | - | -a -> =C4=81 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" ?=C4=80) ("-E" ?=C4=92) ("~I" ?=C4=A8) ("-O" ?=C5=8C) ("-U" ?=C5=AA) ("-a" ?=C4=81) ("-e" ?=C4=93) ("-i" ?=C4=AB) ("-o" ?=C5=8D) ("-u" ?=C5=AB) ("`" ?=CA=BB) ("--A" ["-A"]) ("--E" ["-E"]) ("--I" ["-I"]) ("--O" ["-O"]) ("--U" ["-U"]) ("--a" ["-a"]) ("--e" ["-e"]) ("--i" ["-i"]) ("--o" ["-o"]) ("--u" ["-u"]) ("``" ["`"]) )